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

Getting started

Package details

AuthorCamille Hochheimer [aut, cre]
MaintainerCamille Hochheimer <dochoch19@gmail.com>
LicenseGPL (>= 3)
Version1.2.2.9000
URL https://github.com/camillejo/cpsurvsim 
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("camillejo/cpsurvsim")
camillejo/cpsurvsim documentation built on Sept. 14, 2023, 2:50 p.m.