Survival Models (MATH3085/6143)

Chapter 16: Graduation

10/11/2026

Recap

In the last chapter, we

  • Compared observed mortality rates with standard mortality rates using standardised mortality ratios.
  • Used the chi-squared test to assess whether the standard rates could explain the observed deaths across age groups.
  • Considered the cumulative deviations test and the sign test for detecting bias, and discussed the risks of multiple testing.

Chapter 16: Graduation

Graduation

We expect the true underlying mortality rate in a population to vary smoothly with age.

An estimated mortality rate

\[ \hat m_x=\frac{D_x}{E_x^C} \]

is an observation of a random variable, with distribution centred on the true underlying mortality rate, but subject to variation quantified by its asymptotic variance \(m_x/E_x^C\). This variance may be large when the exposure \(E_x^C\) is small.

Graduation is the term actuaries and demographers use for the statistical smoothing of estimated mortality rates, to obtain a more realistic picture of how mortality changes with age.

Example

This is an expanded version of the example used in Chapter 15, where now we observe age groups \(x=60,\cdots,89\).

Plots of the raw estimated mortality rates on the original and log scales.

Graduation methods

There are three main approaches to graduation, all of which involve fitting a statistical model.

  • Graduation against a set of standard mortality rates.

    This is used where we have good reason to expect our study population to share features with the mortality experience of the standard population.

  • Graduation using a parametric model.

    This is usually used where we have large amounts of data.

  • Graduation using a semiparametric (smooth) regression model.

    This is usually used where we have small amounts of data and no suitable standard mortality rates.

Graduation against a set of standard rates

The simplest approach is to fit a regression-type model, such as

\[ D_x\sim\operatorname{Poisson}(E_x^C m_x), \qquad \log m_x=\beta_0+\beta_1\log m_x^S. \]

This is a generalised linear model (GLM), which is easy to fit in software such as R. The graduated mortality rates are the maximum likelihood estimates, given by

\[ \log\tilde m_x=\hat\beta_0+\hat\beta_1\log m_x^S. \]

If the standard rates are smooth, as they typically will have been previously graduated, then the estimated rates will be smooth too.

Students taking MATH3091 will learn more about generalised linear models.

Return to the example

Graduation against standard rates. The plot shows the raw rates (circles), standard rates (crosses) and graduated rates (triangles) on the original and log scales.

if (have_data) {
  # See how the model is fitted
  fit_standard <- glm(d ~ log(m) + offset(log(e)), data = elt, family = poisson())
  plot_graduation(elt, graduated = fitted(fit_standard) / elt$e, standard = elt$m)
}

Graduation using a parametric model

This approach assumes that there is a parametric formula describing the relationship between the central mortality rate and age.

The simplest model is the log-linear Gompertz model.

\[ D_x\sim\operatorname{Poisson}(E_x^C m_x), \qquad \log m_x=\beta_0+\beta_1 x. \]

This is a GLM. The graduated mortality rates are the maximum likelihood estimates, given by

\[ \log\tilde m_x=\hat\beta_0+\hat\beta_1x. \]

The estimated rates vary smoothly with age.

More complex Gompertz models replace \(\beta_0+\beta_1x\) with a polynomial \[ \beta_0+\beta_1x+\beta_2x^2+\cdots+\beta_px^p. \] These are also GLMs.

Return to the example

Graduation using the log-linear Gompertz model. The plot shows the raw rates (circles) and graduated rates (triangles) on the original and log scales.

if (have_data) {
  # See how the model is fitted
  fit_gompertz <- glm(d ~ x + offset(log(e)), data = elt, family = poisson())
  plot_graduation(elt, graduated = fitted(fit_gompertz) / elt$e)
}

Models for human mortality

A general Gompertz model

\[ \log m_x=\beta_0+\sum_{j=1}^p\beta_jx^j \]

is often found to fit mortality at higher ages well, for quite small values of \(p\), such as \(p=1\) (linear model with two parameters) or \(p=2\) (quadratic model with three parameters).

If necessary, the Gompertz model can be extended to the Gompertz-Makeham family, which has

\[ m_x=\alpha_0+\sum_{j=1}^q\alpha_jx^j+ \exp\!\left(\beta_0+\sum_{j=1}^p\beta_jx^j\right). \]

This model is no longer a GLM and is less straightforward to fit.

Graduation using a semiparametric model

This approach estimates the underlying mortality rates by balancing fit to the data and smoothness of the underlying function.

The resulting model is called a generalised additive model (GAM) and can be written as

\[ D_x\sim\operatorname{Poisson}(E_x^C m_x), \qquad \log m_x=s(x), \]

where \(s(x)\) denotes a smooth function of \(x\).

A GAM is fitted by minimising an objective function that balances fit to the data (for example, the negative log-likelihood) and smoothness (for example, the integrated squared second derivative).

Return to the example

Graduation using the semiparametric model. The plot shows the raw rates (circles) and graduated rates (triangles) on the original and log scales.

if (have_data & requireNamespace("gam", quietly = TRUE)) {
  # See how the model is fitted
  fit_smooth <- gam::gam(d ~ gam::s(x) + offset(log(e)), data = elt, family = poisson())
  plot_graduation(elt, graduated = fitted(fit_smooth) / elt$e)
} else if (have_data) { cat("Install the `gam` package to reproduce the semiparametric fit.") }

Testing the fit of a graduation

A set of graduated mortality rates should be compared with the original rates to check the fit of the graduation.

The chi-squared test described in Chapter 15 can be used for this, with test statistic

\[ X^2=\sum_x\frac{(D_x-E_x^C\tilde m_x)^2}{E_x^C\tilde m_x}, \tag{1} \]

where \(\tilde m_x\) are the graduated rates.

A minor modification is required. The components of the sum in Equation \((1)\) are no longer independent because the \(D_x\) have been used to obtain the graduated rates \(\tilde m_x\).

Deduct one degree of freedom (from \(v\)) for each estimated parameter. If we have estimated \(p\) parameters across \(v\) age groups, the reference distribution is approximately \(\chi^2_{v-p}\).

The other tests in Chapter 15 do not have a simple adjustment for testing the fit of a graduation, and therefore should be avoided.

Return to the example

For the graduations illustrated in Sections Section 16.3.1, Section 16.4.1, and Section 16.5.2, respectively, we have

  • \(X^2 = 31.74:\) graduation against standard rates
  • \(X^2 = 28.20:\) graduation using Gompertz log-linear model
  • \(X^2 = 25.84:\) graduation using semiparametric (smooth) model

The number of age groups is \(v = 30\) and the number of parameters is \(p = 2\) for the first two models and \(p = 3.0\) (an estimated function of the overall smoothness) for the semiparametric model.

So we compare our \(X^2\) values with the \(95\%\) point of \(\chi^2_{28}\) \((41.34)\) and the \(95\%\) point of \(\chi^2_{27}\) \((40.11)\).

We see that there is no evidence to lead us to reject the fit of the graduated rates to the observed rates, so all three of the graduations seem satisfactory.