standsurv

Age-standardised survival using standsurv

After fitting a flexible parametric model, we estimate internally age-standardised 5-year survival for males and females for each year of diagnosis.

Mediation analysis with survival data

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.