LC: Lee-Carter Mortality Model as implemented in StMoMo package

Description Usage Arguments

View source: R/StMoMo-models.R

Description

Lee-Carter Mortality Model as implemented in StMoMo package

Usage

1
LC(data, x, y, link = "logit", radix = 1e+05, verbose = FALSE)

Arguments

data

A data.frame or a matrix containing mortality data with ages x as row and time y as column.

x

Numerical vector indicating the ages in input data. Optional. Default: NULL.

y

Numerical vector indicating the years in input data. Optional. Default: NULL.

link

defines the link function and random component associated with the mortality model. "log" would assume that deaths follow a Poisson distribution and use a log link while "logit" would assume that deaths follow a Binomial distribution and a logit link.

radix

Radix.

verbose

A logical value. Set verbose = FALSE to silent the process that take place inside the function and avoid progress messages.


mpascariu/MortalityForecast documentation built on Sept. 28, 2020, 2:40 p.m.