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”.
back to software