Simulation of simple and complex survival/time-to-event data


The survsim packages implement the methodology described in the papers:

Crowther MJ, Lambert PC. Simulating biologically plausible complex survival data. Statistics in Medicine 2013;32(23):4118-4134.

and

Crowther MJ, Lambert PC. Simulating complex survival data. The Stata Journal 2012;12(4):674-687.

I recommend you read them before trying out the accompanying software. This page details the development of the package, both in terms of version histories and planned features to be added.

$~$


survsim in Stata

The current version of survsim in Stata, which requires version 11.2 or higher, can be installed by typing:

ssc install survsim

and then run adoupdate as normal to pick up any updates.

$~$


survsim in R…is actually simsurv and simjm

My PhD student Sam Brilleman has written simsurv and simjm, which are essentially R ports of Stata’s survsim. Check out his website for more details.

Related

comments powered by Disqus