LC {vital} | R 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 |
jump_choice |
Method used for computation of jump-off point for forecasts.
Possibilities: |
scale |
If TRUE, |
... |
Not used. |
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.
Examples
lc <- aus_mortality |>
dplyr::filter(State == "Victoria", Sex == "female") |>
model(lee_carter = LC(log(Mortality)))
report(lc)
autoplot(lc)