meansurv

Standardised survival curves: sex differences in survival

In this tutorial, we examine sex difference in survival for patients diagnosed with melanoma and illustrate how to estimate the causal effect of sex on patient survival using regression standardisation (also known and G-Computation). We discuss various approaches to estimating adjusted survival curves and illustrate the meansurv and stpm2_standsurv post-estimation commands to stpm2 (for fitting flexible parametric models in Stata).