MortalityLaws2.1.0 package

Parametric Mortality Models, Life Tables and HMD

addDetails

Depending on the chosen mortality law, additional details need to be s...

ageMsg

What age(s) are we looking at?

AIC.MortalityLaw

AIC function for MortalityLaw

AUSregions

region codes

availableHMD

Check Data Availability in HMD

availableLaws

Check Available Mortality Laws

availableLF

Check Available Loss Function

beard

Beard Model - 1971

beard_makeham

Makeham-Beard Model - 1971

bring_parameters

Bring or Rename Starting Parameters in the Law Functions

CANregions

Country codes

carriere1

Carriere Mortality Law - 1992

carriere2

Carriere Mortality Law - 1992

check.MortalityLaw

Function to check input data in MortalityLaw

check_input_ReadAHMD

Check input ReadAHMD

check_input_ReadCHMD

Check input ReadHMD

check_input_ReadHMD

Check input ReadHMD

check_input_ReadJMD

Check input ReadAHMD

choose_optim

Select an optimizing method

coale.demeny.ax

Find ax[1:2] indicators using Coale-Demeny coefficients Here we adjust...

compute.ax

Find ax indicator

convertFx

Convert Life Table Indicators

data_format

Data formats

deviance.MortalityLaw

deviance function for MortalityLaw

df.residual.MortalityLaw

df.residual function for MortalityLaw

dx_lx

dx to lx

find.my.case

Function that identifies the case/problem we have to solve

ggompertz

Gamma-Gompertz Model as in Vaupel et al. (1979)

gompertz

Gompertz Mortality Law - 1825

gompertz0

Gompertz Mortality Law - informative parameterization

head_tail

Summary function - display head and tail in a single data.frame The or...

HMDcountries

Country codes

HMDindices

HMD Indices

HP

Heligman-Pollard Mortality Law - 8 parameters - 1980

HP2

Heligman-Pollard 2 Mortality Law - 8 parameters

HP3

Heligman-Pollard 3 Mortality Law - 9 parameters

HP4

Heligman-Pollard 4 Mortality Law - 9 parameters

invgompertz

Inverse-Gompertz Mortality Law - informative parameterization

invweibull

Inverse-Weibull Mortality Law

JPNregions

region codes

kannisto

Kannisto Mortality Law - 1998

kannisto_makeham

Kannisto-Makeham Mortality Law - 1998

kostaki

Kostaki Model - 1992

LawTable

Compute Life Tables from Parameters of a Mortality Law

LifeTable.check

Check LifeTable input

LifeTable.core

LifeTable.core

LifeTable

Compute Life Tables from Mortality Data

logLik.MortalityLaw

logLik function for MortalityLaw

make_http_request

Make HTTP request

makeham

Makeham Mortality Law - 1860

makeham0

Makeham Mortality Law - informative parameterization

martinelle

Martinelle Model - 1987

MortalityLaw

Fit Mortality Laws

MortalityLaws

MortalityLaws: Parametric Mortality Models, Life Tables and HMD

mx_qx

mx to qx

objective_fun

Function to be Optimize

opperman

Opperman Mortality Law - 1870

perks

Perks Model - 1932

plot.MortalityLaw

Plot Function for MortalityLaw

predict.MortalityLaw

Predict function for MortalityLaw

print.availableLaws

Print availableLaws

print.availableLF

Print availableLF

print.LifeTable

Print LifeTable

print.MortalityLaw

Print MortalityLaw

print.ReadAHMD

Print ReadCHMD

print.ReadCHMD

Print ReadCHMD

print.ReadHMD

Print ReadHMD

print.ReadJMD

Print ReadJMD

print.summary.MortalityLaw

Print summary.MortalityLaw

quadratic

Quadratic Model

ReadAHMD

Download the Australian Human Mortality Database (AHMD)

ReadCHMD

Download the Canadian Human Mortality Database (CHMD)

ReadHMD.core

Function to Download Data for a one Country

ReadHMD

Download The Human Mortality Database (HMD)

ReadJMD

Download the Japanese Mortality Database (JMD)

rogersplanck

Rogers-Planck Model - 1983

saveMsg

Print message when saving an object

saveOutput

Save Output in the working directory

scale_x

Scaling method for x vector

siler

Siler Mortality Law - 1979

strehler_mildvan

Strehler-Mildvan Model - 1960

substrRight

Extracting the last n characters from a string

summary.MortalityLaw

Summary MortalityLaw

thiele

Thiele Mortality Law - 1871

uxAbove100

Educate mx or qx on how to behave above age 100 if it gets in trouble ...

vandermaen

Van der Maen Model - 1943

vandermaen2

Van der Maen 2 Model - 1943

weibull

Weibull Mortality Law - 1939

wittstein

Wittstein Mortality Law - 1883

Fit the most popular human mortality 'laws', and construct full and abridge life tables given various input indices. A mortality law is a parametric function that describes the dying-out process of individuals in a population during a significant portion of their life spans. For a comprehensive review of the most important mortality laws see Tabeau (2001) <doi:10.1007/0-306-47562-6_1>. Practical functions for downloading data from various human mortality databases are provided as well.

  • Maintainer: Marius D. Pascariu
  • License: MIT + file LICENSE
  • Last published: 2024-01-15