Learn R Programming

⚠️There's a newer version (2.3.4) of this package.Take me there.

MortalitySmooth (version 2.2)

Smoothing and forecasting Poisson counts with P-splines

Description

Smoothing one- and two-dimensional Poisson counts with P-splines specifically tailored to mortality data. Extra-Poisson variation can be accounted as well as forecasting. Collection of mortality data and a specific function for selecting those data by country, sex, age and years.

Copy Link

Version

Install

install.packages('MortalitySmooth')

Monthly Downloads

5

Version

2.2

License

GPL (>= 2)

Maintainer

Carlo G Camarda

Last Published

February 6th, 2012

Functions in MortalitySmooth (2.2)

Mort1Dsmooth

Fit One-dimensional Poisson P-splines
predict.Mort1Dsmooth

Predict Method for 1D P-splines Fits
Mort1Dsmooth_estimate

Estimate 1D P-splines for a given lambda
Mort2Dsmooth_checker

Check Arguments for Function Mort2Dsmooth
residuals.Mort2Dsmooth

Extract 2D P-splines Model Residuals
Mort2Dsmooth_se

Compute a 2D standard errors
plot.HMDdata

Plot age and year specific demographic data
summary.Mort2Dsmooth

Summary for Mort2Dsmooth objects
Mort1Dsmooth_optimize

Optimize a 1D Penalized-Poisson IWLS over smoothing parameters
Mort2Dsmooth_update

Update a 2D Penalized-Poisson Iteration
HMDdata

Population and Mortality Data
Mort1Dsmooth_update

Update a 1D Penalized-Poisson Iteration
summary.Mort1Dsmooth

Summary for Mort1Dsmooth objects
residuals.Mort1Dsmooth

Extract 1D P-splines Model Residuals
plot.Mort2Dsmooth

Plot of the Mort2Dsmooth outcomes
MortSmooth_BcoefB

Multiply a matrix (from a kronecker product) by a matrix
MortSmooth_bbase

Construct B-spline basis
MortSmooth_BWB

Calculates the inner product of a matrix and a sparse weight matrix
Mort2Dsmooth_optimize

Optimize a 2D Penalized-Poisson IWLS over smoothing parameters
Mort1Dsmooth_checker

Check Arguments for Function Mort1Dsmooth
Mort2Dsmooth

Fit Two-dimensional Poisson P-splines
predict.Mort2Dsmooth

Predict Method for 2D P-splines Fits
plot.Mort1Dsmooth

Plot of the Mort1Dsmooth outcomes
MortSmooth_tpower

Truncated p-th Power Function
Mort2Dsmooth_estimate

Estimate 2D P-splines for two given lambdas
selectHMDdata

Selecting Data from the HMDdata Object
MortalitySmooth-package

Smoothing Poisson counts with P-splines