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

Package details

AuthorCamille Hochheimer [aut, cre]
MaintainerCamille Hochheimer <[email protected]>
LicenseGPL (>= 3)
Version1.1.0
URL http://github.com/camillejo/cpsurvsim
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("cpsurvsim")

Try the cpsurvsim package in your browser

Any scripts or data that you put into this service are public.

cpsurvsim documentation built on June 3, 2019, 5:03 p.m.