Learn R Programming

cpsurvsim (version 1.2.2)

Simulating Survival Data from Change-Point Hazard Distributions

Description

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

Copy Link

Version

Install

install.packages('cpsurvsim')

Monthly Downloads

243

Version

1.2.2

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Camille Hochheimer

Last Published

September 5th, 2023

Functions in cpsurvsim (1.2.2)

weib_icdf

Inverse CDF value generation for the Weibull distribution
exp_cdfsim

Inverse CDF simulation for the exponential change-point hazard distribution
weib_memsim

Memoryless simulation for the Weibull change-point hazard distribution
exp_icdf

Inverse CDF for the exponential distribution
weib_cdfsim

Inverse CDF simulation for the Weibull change-point hazard distribution
exp_memsim

Memoryless simulation for the exponential change-point hazard distribution
cpsurvsim

cpsurvsim: Simulating Survival Data from Change-Point Hazard Distributions