Learn R Programming

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

MortalitySmooth (version 1.0)

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

1.0

License

GPL (>= 2)

Maintainer

Carlo G Camarda

Last Published

November 8th, 2009

Functions in MortalitySmooth (1.0)

Mort2Dsmooth.estimate

Estimate 2D P-splines for two given lambdas
MortSmooth.BWB

Calculates the inner product of a matrix and a sparse weight matrix
Mort1Dsmooth.estimate

Estimate 1D P-splines for a given lambda
MortalitySmooth-package

Smoothing Poisson counts with P-splines
summary.Mort1Dsmooth

Summary for Mort1Dsmooth objects
predict.Mort1Dsmooth

Predict Method for 1D P-splines Fits
Mort1Dsmooth.checker

Check Arguments for Function Mort1Dsmooth
plot.Mort1Dsmooth

Plot of the Mort1Dsmooth outcomes
Mort1Dsmooth.update

Update a 1D Penalized-Poisson Iteration
predict.Mort2Dsmooth

Predict Method for 2D P-splines Fits
Mort2Dsmooth.update

Update a 2D Penalized-Poisson Iteration
selectHMDdata

Selecting Data from the HMDdata Object
MortSmooth.bbase

Construct B-spline basis
MortSmooth.BcoefB

Multiply a matrix (from a kronecker product) by a matrix
plot.HMDdata

Plot age and year specific demographic data
Mort2Dsmooth

Fit Two-dimensional Poisson P-splines
HMDdata

Population and Mortality Data
summary.Mort2Dsmooth

Summary for Mort2Dsmooth objects
Mort2Dsmooth.checker

Check Arguments for Function Mort2Dsmooth
plot.Mort2Dsmooth

Plot of the Mort2Dsmooth outcomes
Mort1Dsmooth

Fit One-dimensional Poisson P-splines
MortSmooth.tpower

Truncated p-th Power Function
Mort2Dsmooth.se

Compute a 2D standard errors
residuals.Mort2Dsmooth

Extract 2D P-splines Model Residuals
residuals.Mort1Dsmooth

Extract 1D P-splines Model Residuals