Survival extrapolation using Stata

Stories behind this tutorial

I wrote these tutorial while conducting my MSc thesis project in validating different survival extrapolation methods. During my work as a master student at Karolinska Institutet, I especially benefitted from Paul Dickman’s Stata teaching tutorials, Therese Andersson’s article on Statistics in Medicine (2013) and her PhD thesis, Paul Lambert’s Interactive graphs of explaining spline functions , Sandra Eloranta and Hannah Bower’s previous analysis files. It took me time and effort to find the right way to organize and generate the information needed for extrapolation. Thus, I would like to share with people who are eager to understand how to extrapolate survival and estimate life expectancy by using flexible parametric models (stpm2 package in Stata).