Learn R Programming

smoothAPC (version 0.3)

Smoothing of Two-Dimensional Demographic Data, Optionally Taking into Account Period and Cohort Effects

Description

The implemented method uses for smoothing bivariate thin plate splines, bivariate lasso-type regularization, and allows for both period and cohort effects. Thus the mortality rates are modelled as the sum of four components: a smooth bivariate function of age and time, smooth one-dimensional cohort effects, smooth one-dimensional period effects and random errors.

Copy Link

Version

Install

install.packages('smoothAPC')

Monthly Downloads

29

Version

0.3

License

GPL (>= 2)

Maintainer

Alexander Dokumentov

Last Published

May 18th, 2018

Functions in smoothAPC (0.3)

smoothAPC

Smooths demographic data optionally taking into account period and cohort effects
plot.matrix

Presents matrix as a heatmap
autoSmoothAPC

Smooths demographic data using automatically estimated parameters and optionally taking into account period and cohort effects
plot3d.smAPC

Presents demographic data as a 3D surface
plot.smAPC

Presents demographic data as a heatmap
plot3d.matrix

Presents matrix as a 3D surface
signifAutoSmoothAPC

Smooths demographic data using automatically estimated parameters and taking into account only significant period and cohort effects
plot3d

Presents data as a 3D surface