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

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.

Version: 0.1.1
Published: 2016-07-27
Author: Andrew G Chapple
Maintainer: Andrew G Chapple <Andrew.G.Chapple at>
License: GPL-2
NeedsCompilation: no
In views: Survival
CRAN checks: SimSCRPiecewise results


Reference manual: SimSCRPiecewise.pdf
Package source: SimSCRPiecewise_0.1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: SimSCRPiecewise_0.1.1.tgz
OS X Mavericks binaries: r-oldrel: SimSCRPiecewise_0.1.1.tgz
Old sources: SimSCRPiecewise archive


Please use the canonical form to link to this page.