Paul Dickman, Enzo Coviello
This page describes the Stata strs
command and related files for estimating and modelling relative and survival. This work is performed in collaboration with Enzo Coviello. Features include:
Sample data sets and do files with worked examples are provided with the package. Further details of the command can be found in our paper in The Stata Journal.
The package can be installed by typing the following command at the Stata command prompt:
net install https://www.pauldickman.com/strs/strs, all
The package can be updated using the Stata adoupdate
command (from the Stata command line).
strs
package was moved to a new directory on my server so older versions may need to be reinstalled rather than updated.
Sample do files are provided to reproduce the estimates reported in Table I of Dickman et al (2004)). Two input data files are provided; colon.dta
contains the cancer patient data and popmort.dta
contains data on expected probabilities of death for the corresponding general population.
Running survival.do
produces life table estimates of relative survival stratified by sex, age, and calendar period of diagnosis. In addition, two output data sets are created (one containing grouped data and one containing individual patient data) which are used as input data for modelling. models.do
contains code for modelling excess mortality using several different approaches (described in Dickman et al (2004))).
strs
is the command for estimating relative survival (see the help file for details and survival.do
for an example). Period estimation is illustrated in survival_period.do
. The various approaches to modelling excess mortality are defined using ado files; ht.ado
(Hakulinen-Tenkanen), esteve.ado
(Estève et al.), and rs.ado
(Poisson regression). An example of how to fit the models is provided in models.do
.
Version history can be found here.
strs
can be updated using the adoupdate
command.
strs
is licensed under the GNU General Public License
strs
is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
strs
is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
If you use this package, please cite the associated paper in The Stata Journal.
Paul W. Dickman & Enzo Coviello, 2015. Estimating and modeling relative survival, The Stata Journal, StataCorp LP, vol. 15(1), pages 186-215.