getqxt {Q2q}R Documentation

getqxt

Description

It enables for interpolating age-specific mortality rates for a multi-annual life tables.

Usage

getqxt(Qxt, nag, t)

Arguments

Qxt

A numerical matrix of Five-ages mortality rates without an age identification column and a time identification row.

nag

The number of age groups.

t

The number of years.

Value

qxt : a matrix containing the age-specific mortality rates by age x in rows and year t in columns.

lxt : a matrix containing the evolution of the population of survivors over age x for each year t.

dxt : a matrix containing the theoretical distribution of deaths by age x for each year t.

qxtl : the age-specific mortality rates interpolated using the Lagrange method for each year t.

qxtk : the age specific mortality rates interpolated using the Karup-King method for each year t.

junct_ages : a vector containing the ages where qxtk and qxtl have been joined, for each year t.

Author(s)

Farid FLICI

Examples

getqxt(Qxt=LT, nag=17, t=38)

[Package Q2q version 0.1.2 Index]