Simulating Survival Data from Change-Point Hazard Distributions

Simulates time-to-event data with type I right censoring using two methods: the inverse CDF method and our proposed memoryless method. The latter method takes advantage of the memoryless property of survival and simulates a separate distribution between change-points. We include two parametric distributions: exponential and Weibull. Inverse CDF method draws on the work of Rainer Walke (2010), < https://www.demogr.mpg.de/papers/technicalreports/tr-2010-003.pdf>.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("cpsurvsim")

1.1.0 by Camille Hochheimer, 6 months ago


http://github.com/camillejo/cpsurvsim


Report a bug at http://github.com/camillejo/cpsurvsim/issues


Browse source code at https://github.com/cran/cpsurvsim


Authors: Camille Hochheimer [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports plyr, stats, Hmisc, knitr

Suggests rmarkdown


See at CRAN