SimNPH: Simulate Non-Proportional Hazards

A toolkit for simulation studies concerning time-to-event endpoints with non-proportional hazards. 'SimNPH' encompasses functions for simulating time-to-event data in various scenarios, simulating different trial designs like fixed-followup, event-driven, and group sequential designs. The package provides functions to calculate the true values of common summary statistics for the implemented scenarios and offers common analysis methods for time-to-event data. Helper functions for running simulations with the 'SimDesign' package and for aggregating and presenting the results are also included. Results of the conducted simulation study are available as preprint: "A neutral comparison of statistical methods for time-to-event analyses under non-proportional hazards", Klinglmueller et al. (2023) <doi:10.48550/ARXIV.2310.05622>.

Version: 0.5.5
Depends: SimDesign, survival, R (≥ 4.1.0)
Imports: miniPCH (≥ 0.3.0), purrr (≥ 1.0.0), rlang, tibble, nph, nphRCT, car, dplyr, stringr, methods, tidyr
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), covr, withr, ldbounds, ggplot2, patchwork, R.rsp
Published: 2024-03-04
DOI: 10.32614/CRAN.package.SimNPH
Author: Tobias Fellinger ORCID iD [aut, cre], Florian Klinglmueller ORCID iD [aut]
Maintainer: Tobias Fellinger <tobias.fellinger at>
License: BSL-1.0
NeedsCompilation: no
Citation: SimNPH citation info
Materials: README NEWS
CRAN checks: SimNPH results


Reference manual: SimNPH.pdf
Vignettes: Some Simple Examples for the Usage of the SimNPH Package


Package source: SimNPH_0.5.5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): SimNPH_0.5.5.tgz, r-oldrel (arm64): SimNPH_0.5.5.tgz, r-release (x86_64): SimNPH_0.5.5.tgz, r-oldrel (x86_64): SimNPH_0.5.5.tgz
Old sources: SimNPH archive


Please use the canonical form to link to this page.