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

Rob J Hyndman is Professor of Statistics at