Skip to content

cpsurvsim

Simulating Survival Data from Change-Point Hazard Distributions

v1.2.2 · Sep 5, 2023 · GPL (>= 3)

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), <https://www.demogr.mpg.de/papers/technicalreports/tr-2010-003.pdf>.

Downloads

314

Last 30 days

12602nd

833

Last 90 days

3.2K

Last year

Trend: +15% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies plyr Hmisc knitr cpsurvsim

Version History

new 1.2.2 Mar 10, 2026
updated 1.2.2 ← 1.2.1 diff Sep 4, 2023
updated 1.2.1 ← 1.2.0 diff Jan 13, 2022
updated 1.2.0 ← 1.1.0 diff Jan 19, 2020
new 1.1.0 Jun 2, 2019