
survsim
Simulating time-to-event data from parametric distributions, custom distributions, competing risk models and general multi-state models
Latest release: v4.0.9
survsim
provides a cutting-edge framework for simulation of survival data. It allows simulation of survival data from a parametric distribution, a custom/user-defined distribution, from a fitted merlin
model, from a specified cause-specific hazards competing risks model, or from a specified general multi-state model (with multiple timescales). Left truncation (delayed entry) is now also available for all settings.
For an introductory seminar, see “Simulating time-to-event data from parametric distributions, custom distributions, competing risk models and general multi-state models”.
Installation
The latest stable version of survsim
is available on the Statistical Software Components archive, and can be installed directly in Stata by typing:
ssc install survsim
Posts
Publications
Crowther MJ. Simulating time-to-event data from parametric distributions, custom distributions, competing risk models and general multi-state models. The Stata Journal 2022; 22(1):3-24.
Crowther MJ, Lambert PC. Simulating biologically plausible complex survival data. Statistics in Medicine 2013;32(23):4118-4134.
Crowther MJ, Lambert PC. Simulating complex survival data. The Stata Journal 2012;12(4):674-687.
Red Door Analytics AB is a registered company in Sweden
CEO: Michael Crowther
Org. number: 559351-8359
Terms & Conditions | Privacy Policy