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 <hochheimercj@vcu.edu>
LicenseGPL (>= 3)
URL http://github.com/camillejo/cpsurvsim
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the cpsurvsim package in your browser

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

cpsurvsim documentation built on Jan. 21, 2020, 1:06 a.m.