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 <dochoch19@gmail.com>
LicenseGPL (>= 3)
Version1.2.2
URL https://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 Sept. 8, 2023, 5:35 p.m.