# smoothAPC v0.3

0

0th

Percentile

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

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.

## Functions in smoothAPC

 Name Description 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 No Results!