strs - estimating and modelling relative/net survival

Paul Dickman, Enzo Coviello

Table of Contents

Introduction and features

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:

  • Life table estimation of relative survival with 3 approaches for expected survival (Ederer I, Ederer II, or Hakulinen)
  • Pohar Perme estimator of net survival
  • Estimation using a cohort, period, or hybrid approach
  • Standardisation (e.g., by age)
  • Crude probabilities of death using the method of Cronin and Feuer
  • Estimates are saved for modelling or easy tabular/graphical presentation

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.

Installing and updating

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).

On 11 March 2021, the strs package was moved to a new directory on my server so older versions may need to be reinstalled rather than updated.

Details

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.

History

Version history can be found here.

strs can be updated using the adoupdate command.

License

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.

Suggested citation

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.

Examples

Extended index (with summary of each page)

Illustration of the Brenner pre-weighting approach to age-standardised net survival (Pohar Perme estimator)

The code used in this tutorial, along with links to the data, is available here. This code illustrates how to apply the “Brenner alternative approach” to age-standardise net survival using external (ICSS) weights.

Illustration of the strs algorithm for estimating relative survival

This page illustrates the algorithm used by strs for estimating relative survival using the Ederer II approach.

Modelling excess mortality using Poisson regression

A tutorial illustrating how to model excess mortality (relative survival) using Poisson regression.

-strs- version history

History of -strs-, including links to previous versions.

Life table estimation of relative survival with strs

Short tutorial illustrating how to estimate relative survival using -strs-.