Learn R Programming

BayesMortalityPlus (version 0.2.3)

Bayesian Mortality Modelling

Description

Fit Bayesian graduation mortality using the Heligman-Pollard model, as seen in Heligman, L., & Pollard, J. H. (1980) and Dellaportas, Petros, et al. (2001) , and dynamic linear model (Campagnoli, P., Petris, G., and Petrone, S. (2009) ). While Heligman-Pollard has parameters with a straightforward interpretation yielding some rich analysis, the dynamic linear model provides a very flexible adjustment of the mortality curves by controlling the discount factor value. Closing methods for both Heligman-Pollard and dynamic linear model were also implemented according to Dodd, Erengul, et al. (2018) . The Bayesian Lee-Carter model is also implemented to fit historical mortality tables time series to predict the mortality in the following years and to do improvement analysis, as seen in Lee, R. D., & Carter, L. R. (1992) and Pedroza, C. (2006) .

Copy Link

Version

Install

install.packages('BayesMortalityPlus')

Monthly Downloads

681

Version

0.2.3

License

GPL-3

Maintainer

Luiz Figueiredo

Last Published

March 4th, 2024

Functions in BayesMortalityPlus (0.2.3)

expectancy.DLM

DLM: Life expectancy
expectancy.HP

HP: Life expectancy
hp_close

HP: Fitting the advanced ages of the life tables
hp_mix

HP: Model mixture
fitted.BLC

BLC: Fitted death probabilities (qx)
fitted.HP

HP: Fitted death probabilities (qx)
expectancy

Generic expectancy function
expectancy.BLC

BLC: Life expectancy
fitted.DLM

DLM: Fitted death probabilities (qx)
hp

Bayesian Heligman-Pollard curve for mortality table graduation
mean.PredBLC

BLC: Arithmetic mean for predictions
plot.BLC

BLC: Plot the fitted values
mean.BLC

BLC: Arithmetic mean
improvement

BLC: Improvement
plot.list

Plot a set of life tables
plot.PredBLC

BLC: Plot the log-mortality of a prediction
summary.DLM

DLM: Summary
quantile.BLC

BLC: Sample quantiles
summary.HP

HP: Summary
quantile.PredBLC

BLC: Sample quantiles for predictions
predict.DLM

DLM: Prediction of death probability
plot.DLM

DLM: Plot the life table
print.DLM

DLM: Print
print.HP

HP: Print
plot.HP

HP: Plot the life table
print.BLC

BLC: Print
plot_chain

Chain's plot
predict.BLC

BLC: Forecasting
dlm

Dynamic Linear Model for mortality table graduation
USA

Mortality Database from United States to be used as example
Heatmap.BLC

BLC: Heatmap for the life expectancy
Heatmap.DLM

DLM: Heatmap for the life expectancy
Heatmap

Generic Heatmap function
Heatmap.HP

HP: Heatmap for the life expectancy
blc

Lee-Carter Bayesian Estimation for mortality data
Heatmap.list

Heatmap for a set of life tables
dlm_close

DLM: Fitting the advanced ages of the life tables
PT

Mortality Data from Portugal to be used as example