LC: Lee-Carter model

View source: R/LC.R

LCR Documentation

Lee-Carter model

Description

Lee-Carter model of mortality or fertility rates. LC() returns a Lee-Carter model applied to the formula's response variable as a function of age. This produces a standard Lee-Carter model by default, although many other options are available. Missing rates are set to the geometric mean rate for the relevant age.

Usage

LC(
  formula,
  adjust = c("dt", "dxt", "e0", "none"),
  jump_choice = c("fit", "actual"),
  scale = FALSE,
  ...
)

Arguments

formula

Model specification. It should include the log of the variable to be modelled. See the examples.

adjust

method to use for adjustment of coefficients k_t. Possibilities are "dt" (Lee-Carter method), "dxt" (BMS method), "e0" (Lee-Miller method based on life expectancy) and "none". If omitted, "dt" is used when the data contain deaths and population (see vital_vars()), and "none" otherwise, or when the data contain product-ratios from make_pr(). The "dt" and "dxt" methods require deaths and population.

jump_choice

Method used for computation of jump-off point for forecasts. Possibilities: "actual" (use actual rates from final year) and "fit" (use fitted rates). The original Lee-Carter method used "fit" (the default), but Lee and Miller (2001) and most other authors prefer "actual". With "actual", fitted rates are used (with a warning) for ages whose rate is zero or missing in the final year.

scale

If TRUE, bx and kt are rescaled so that kt has drift parameter = -1 (i.e., kt decreases by 1 per year on average).

...

Not used. An error is given if any arguments are supplied here, so that misspelled arguments are not silently ignored.

Value

A model specification.

Author(s)

Rob J Hyndman

References

Basellini, U, Camarda, C G, and Booth, H (2022) Thirty years on: A review of the Lee-Carter method for forecasting mortality. International Journal of Forecasting, 39(3), 1033-1049.

Booth, H., Maindonald, J., and Smith, L. (2002) Applying Lee-Carter under conditions of variable mortality decline. Population Studies, 56, 325-336.

Lee, R D, and Carter, L R (1992) Modeling and forecasting US mortality. Journal of the American Statistical Association, 87, 659-671.

Lee R D, and Miller T (2001). Evaluating the performance of the Lee-Carter method for forecasting mortality. Demography, 38(4), 537–549.

See Also

LC2(), FDM()

Examples

lc <- norway_mortality |>
  dplyr::filter(Sex == "Female") |>
  model(lee_carter = LC(log(Mortality)))
report(lc)
autoplot(lc)

vital documentation built on Oct. 5, 2026, 9:08 a.m.