Giter Club home page Giter Club logo

interactionrcs's People

Contributors

andreabellavia avatar gmelloni avatar kkevin821 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nkuwangkai

interactionrcs's Issues

P value?

Hi there, question from an ignorant: what is the correct pvalue of a coxph/cph model with an interaction term? Is there a way to get it with the interactionRCS package?
Thanks!

Failed to install - solution

The installation worked fine in this environment

sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS 10.16

But I encountered the below error when trying to install the package elsewhere

devtools::install_github("https://github.com/gmelloni/interactionRCS.git")
Error: Failed to install 'unknown package' from GitHub:
HTTP error 404.
No commit found for the ref master

sessionInfo()
R version 3.6.2 (2019-12-12)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 10 (buster)

The latter issue was resolved by using install_git() instead of install_github()

devtools::install_git("https://github.com/gmelloni/interactionRCS.git")

Not sure why - posting this in case it is useful for anyone else

Possible bug in spline calculation

Hello!

I came across your lovely package, and while validating that some ideas were compatible, I had difficulty reproducing the spline representation in your vignette and code. I am not sure how you got the squared denominator. I get (k_3 - k_1).

However, removing the square on the denominator produces implausible figures, so I trust that your derivation is correct. Could you please share how you arrived at this?

I've attached a calculation to this ticket for ease of comprehension. Please let me know what I am overlooking.

Additionally, there is a small typo in the vignette for sp(z). The final term should match that in sp(z*x), and both are missing a subscript +.

splines.pdf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.