cpsurvsim: 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>.

Version: 1.2.1
Depends: R (≥ 3.6.0)
Imports: plyr (≥ 1.8.5), stats, Hmisc (≥ 4.3.0), knitr (≥ 1.27)
Suggests: rmarkdown, testthat
Published: 2022-01-14
Author: Camille Hochheimer [aut, cre]
Maintainer: Camille Hochheimer <dochoch19 at gmail.com>
BugReports: https://github.com/camillejo/cpsurvsim/issues
License: GPL (≥ 3)
URL: https://github.com/camillejo/cpsurvsim
NeedsCompilation: no
Citation: cpsurvsim citation info
CRAN checks: cpsurvsim results

Documentation:

Reference manual: cpsurvsim.pdf
Vignettes: Introduction to cpsurvsim

Downloads:

Package source: cpsurvsim_1.2.1.tar.gz
Windows binaries: r-devel: cpsurvsim_1.2.1.zip, r-release: cpsurvsim_1.2.1.zip, r-oldrel: cpsurvsim_1.2.1.zip
macOS binaries: r-release (arm64): cpsurvsim_1.2.1.tgz, r-oldrel (arm64): cpsurvsim_1.2.1.tgz, r-release (x86_64): cpsurvsim_1.2.1.tgz, r-oldrel (x86_64): cpsurvsim_1.2.1.tgz
Old sources: cpsurvsim archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=cpsurvsim to link to this page.