This page provides an index of some Stata tutorials, most of which are about survival analysis especially estimation and modelling of relative/net survival. My colleagues Paul Lambert and Michael Crowther have some excellent tutorials on similar and related topics.
Illustrates how to fit a model using patient data and then predict in a second dataset specifically constructed to contain only the covariates for which we wish to predict. Age is modelled using a restricted cubic spline.
Illustrates how to fit a model using patient data and then predict in a second dataset specifically constructed to contain only the covariates for which we wish to predict. Age is modelled using a restricted cubic spline.
We will partition the total effect of sex into the natural indirect effect (mediated by stage) and the natural direct effect. We then illustrate how to estimate the proportion of the sex difference mediated by stage. Emphasis is on illustrating how these quantities can be estimated in Stata using the standsurv command; we won't discuss the neccessary assumptions and their appropriateness.
Illustrates Stata factor variable notation and how to reparameterise a model to get the estimated effect of an exposure for each level of a modifier. Illustrates how we can fit a single model with interactions that is equivalent to stratified models.