R package SimSCRPiecewise. Contains two functions for simulating survival data from piecewise exponential hazards with a proportional hazards adjustment for covariates. The first function SimUNIVPiecewise simulates univariate survival data based on a piecewise exponential hazard, covariate matrix and true regression vector. The second function SimSCRPiecewise semi-competing risks data based on three piecewise exponential hazards, three true regression vectors and three matrices of patient covariates (which can be different or the same). This simulates from the Semi-Markov model of Lee et al (2015) given patient covariates, regression parameters, patient frailties and baseline hazard functions.
Keywords for this software
References in zbMATH (referenced in 1 article )
Showing result 1 of 1.
- Samuel L. Brilleman, Rory Wolfe, Margarita Moreno-Betancur, Michael J. Crowther: Simulating Survival Data Using the simsurv R Package (2021) not zbMATH