Description Usage Arguments Details Value
View source: R/mortality_tables.R
project_LC
adds additional years to a period life table using a
Lee-Carter model with a log-multiplicative scaling factor
1 | project_LC(qx, lc, factor, n_years)
|
qx |
A life Table with ages as rows and years as columns. Must have row and column names with the age/year numbers. |
lc |
Lee-Carter fit (use e.g. the LifeMetrics function to fit). Must
have a |
factor |
A factor that is multiplied with the inferred slope of the Kappas to project the mortality rates. |
n_years |
The number of years to be projected ahead. |
This function takes a life table in period form (age/years) and the result of a Lee-Carter model and uses linear regression to get the slope of the Kappa (time) parameter. The slope is multiplied by a constant factor and applied as a factor (together with Beta) to the mortality of the last year in the period life table.
The Period
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.