About Anaconda Help Download Anaconda

r_test / packages / r-simscrpiecewise 0.1.1

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.

Installers

  • noarch v0.1.1

conda install

To install this package run one of the following:
conda install r_test::r-simscrpiecewise

Description


© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy