SimSCRPiecewise: 'Simulates Univariate and Semi-Competing Risks Data Given Covariates and Piecewise Exponential Baseline Hazards'

Share:

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.

Author
Andrew G Chapple
Date of publication
2016-07-27 23:58:50
Maintainer
Andrew G Chapple <Andrew.G.Chapple@rice.edu>
License
GPL-2
Version
0.1.1

View on CRAN

Man pages

SimSCRPiecewise
SimSCRPiecewise
SimUNIVPiecewise
SimUnivPiecewise

Files in this package

SimSCRPiecewise
SimSCRPiecewise/NAMESPACE
SimSCRPiecewise/R
SimSCRPiecewise/R/SimPieceUNI.R
SimSCRPiecewise/R/SimPieceSCR.R
SimSCRPiecewise/MD5
SimSCRPiecewise/DESCRIPTION
SimSCRPiecewise/man
SimSCRPiecewise/man/SimSCRPiecewise.Rd
SimSCRPiecewise/man/SimUNIVPiecewise.Rd