The demography package for R contains functions for various demographic analyses. It provides facilities for demographic statistics, modelling and forecasting. In particular, it implements lifetable calculations; Lee-Carter modelling and variants; functional data analysis of mortality rates, fertility rates, net migration numbers; and stochastic population forecasting.
- funcfor.R: analysis from Hyndman and Ullah (2005)
- adelaide.R: analysis from a talk given to the Australian Population Network in Adelaide, November 2004.
- Other shorter examples are given in the help files.
Extra data are available in the addb package.
The latest (beta) version is on github which is normally slightly ahead of the CRAN version (below).
Please report bugs or feature requests on github