project_LC: Project a life table

Description Usage Arguments Details Value

View source: R/mortality_tables.R

Description

project_LC adds additional years to a period life table using a Lee-Carter model with a log-multiplicative scaling factor

Usage

1
project_LC(qx, lc, factor, n_years)

Arguments

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 beta2 and kappa2 component accessible by $.

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.

Details

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.

Value

The Period


o1i/UWS documentation built on Sept. 16, 2019, 6:25 p.m.