Through real-world case studies, this book shows how to use Stata to estimate a class of flexible parametric survival models. It discusses the modeling of time-dependent and continuous covariates and looks at how relative survival can be used to measure mortality associated with a particular disease when the cause of death has not been recorded. The book describes simple quantification of differences between any two covariate patterns through calculation of time-dependent hazard ratios, hazard differences, and survival differences.
A brief review of the Cox proportional hazards model
Beyond the Cox model
Why parametric models?
Why not standard parametric models?
A brief introduction to stpm
Basic relationships in survival analysis
The delta method
How our book is organized
Using stset and stsplit
What is the stset command?
Some key concepts
Syntax of the stset command
Variables created by the stset command
Examples of using stset
The stsplit command
Graphical introduction to the principal datasets
Rotterdam breast cancer data
England and Wales breast cancer data
Modeling rates with the Poisson distribution
Splitting the time scale
Collapsing the data to speed up computation
Splitting at unique failure times
Comparing a different number of intervals
Fine splitting of the time scale
Splines: Motivation and definition
FPs: Motivation and definition
Motivation and introduction
Proportional hazards models
Selecting a spline function
Royston–Parmar (RP) models
Developing and reporting a prognostic model
What does the baseline hazard function mean?
Quantitative outputs from the model
Goodness of fit
Out-of-sample prediction: Concept and applications
Visualization of survival times
What do we mean by a TD effect?
Proportional on which scale?
Poisson models with TD effects
RP models with TD effects
TD effects for continuous variables
Attained age as the time scale
Multiple time scales
Prognostic models with TD effects
What is relative survival?
Excess mortality and relative survival
Life-table estimation of relative survival
Poisson models for relative survival
RP models for relative survival
Some comments on model selection
Age as a continuous variable
Number needed to treat
Average and adjusted survival curves
Modeling distributions with RP models
Bayesian RP models
Crude probability of death from relative survival models