survsim - tutorials in Stata


This page contains a collection of worked examples, specifically for the implementation in Stata. Examples are loosely grouped into areas, and may appear in more than one area. Many of them will be linked to a tutorial showing how to fit a particular model using another of my packages, but I show how to simulate such data as part of the tutorial, and hence they are cross-referenced here.

Type help survsim to access the help file, which documents all the available options.

If you have an example you’d like to contribute, then please get in touch.

Each tutorial below is tagged to illustrate the level of completeness, as follows:

  • [Tutorial] - a completed page, with code and full worked example
  • [Draft] - still in draft, contains code but not fully documented
  • [Code only] - example code only, minimal description
  • [TBA] - to be added
  • [EG] - indicates that the tutorial shows how to simulate an example from the literature

Things to read first:

  • If you are going to be conducting a simulation study, then I recommend you read our tutorial paper here

$~$


Survival (time-to-event) analysis

Joint longitudinal-survival models

  • Joint model with single continuous marker and survival [TBA]
  • Joint longitudinal-survival model with time-dependent effects (non-proportional hazards) [TBA]
  • Multivariate longitudinal and survival model [TBA]
  • Generalised multivariate longitudinal and survival model [TBA]
  • Generalised multivariate longitudinal and cause-specific competing risks model [TBA]
  • Generalised multivariate longitudinal, recurrent event and a terminal event model [TBA]
  • Generalised multivariate longitudinal and multi-state survival model [TBA]
  • A trivariate model for joint longitudinal-survival data with an informative observation process [TBA]

Meta-analysis

Related

comments powered by Disqus