Learn R Programming

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

MortalitySmooth (version 2.3.1)

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.3.1

License

GPL (>= 2)

Maintainer

Carlo G Camarda

Last Published

November 1st, 2013

Functions in MortalitySmooth (2.3.1)

Mort1Dsmooth

Fit One-dimensional Poisson P-splines
plot.HMDdata

Plot age and year specific demographic data
summary.Mort1Dsmooth

Summary for Mort1Dsmooth objects
MortSmooth_BcoefB

Multiply a matrix (from a kronecker product) by a matrix
summary.Mort2Dsmooth

Summary for Mort2Dsmooth objects
selectHMDdata

Selecting Data from the HMDdata Object
MortSmooth_BWB

Calculates the inner product of a matrix and a sparse weight matrix
predict.Mort2Dsmooth

Predict Method for 2D P-splines Fits
MortalitySmooth-package

Smoothing Poisson counts with P-splines
Mort2Dsmooth_estimate

Estimate 2D P-splines for two given lambdas
Mort2Dsmooth_optimize

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

Construct B-spline basis
Mort2Dsmooth_se

Compute a 2D standard errors
plot.Mort1Dsmooth

Plot of the Mort1Dsmooth outcomes
Mort1Dsmooth_estimate

Estimate 1D P-splines for a given lambda
MortSmooth_tpower

Truncated p-th Power Function
residuals.Mort1Dsmooth

Extract 1D P-splines Model Residuals
Mort2Dsmooth_checker

Check Arguments for Function Mort2Dsmooth
Mort1Dsmooth_update

Update a 1D Penalized-Poisson Iteration
Mort2Dsmooth

Fit Two-dimensional Poisson P-splines
Mort2Dsmooth_update

Update a 2D Penalized-Poisson Iteration
HMDdata

Population and Mortality Data
Mort1Dsmooth_optimize

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

Check Arguments for Function Mort1Dsmooth
predict.Mort1Dsmooth

Predict Method for 1D P-splines Fits
plot.Mort2Dsmooth

Plot of the Mort2Dsmooth outcomes
residuals.Mort2Dsmooth

Extract 2D P-splines Model Residuals