# Forecasting Mortality, Fertility, Migration and Population Data

## Documentation for package ‘demography’ version 2.0

- DESCRIPTION file.
- Package NEWS.

## Help Pages

demography-package | Forecasting mortality and fertility data
as.data.frame.demogdata | Coerce a demogdata object to a data.frame object
aus.fert | Australian fertility data
bms | Model mortality or fertility data using Lee-Carter approach
cm.spline | Monotonic interpolating splines
cm.splinefun | Monotonic interpolating splines
coherentfdm | Coherent functional demographic model for grouped data
combine.demogdata | Combine two demogdata objects into one demogdata object
compare.demogdata | Evaluation of demographic forecast accuracy
demogdata | Create demogdata object from raw data matrices
demography | Forecasting mortality and fertility data
e0 | Estimate life expectancy from mortality rates
extract.ages | Extract some ages from a demogdata object
extract.years | Extract some years from a demogdata object
fdm | Functional demographic model
fitted.fdm | Compute residuals and fitted values from functional demographic model or Lee-Carter model
fitted.lca | Compute residuals and fitted values from functional demographic model or Lee-Carter model
flife.expectancy | Estimate life expectancy from mortality rates
forecast.fdm | Forecast functional demographic model.
forecast.fdmpr | Forecast coherent functional demographic model.
forecast.lca | Forecast demogdata data using Lee-Carter method.
fr.mort | French mortality data
fr.sm | French mortality data
hmd | Read data from HMD and construct a mortality demogdata object
hmd.e0 | Read data from HMD and construct a mortality demogdata object
hmd.mx | Read data from HMD and construct a mortality demogdata object
hmd.pop | Read data from HMD and construct a mortality demogdata object
isfe | Integrated Squared Forecast Error for models of various orders
isfe.demogdata | Integrated Squared Forecast Error for models of various orders
lca | Model mortality or fertility data using Lee-Carter approach
life.expectancy | Estimate life expectancy from mortality rates
lifetable | Construct lifetables from mortality rates
lines.demogdata | Plot age-specific demographic functions
lines.lifetable | Plot life expectancy from lifetable
mean.demogdata | Mean and median functions for data of class demogdata
median.demogdata | Mean and median functions for data of class demogdata
models | Show model information for the forecast coefficients in FDM models.
models.fmforecast | Show model information for the forecast coefficients in FDM models.
models.fmforecast2 | Show model information for the forecast coefficients in FDM models.
monotonic | Monotonic interpolating splines
netmigration | Calculate net migration from mortality and fertility data
plot.demogdata | Plot age-specific demographic functions
plot.errorfdm | Plot differences between actuals and estimates from fitted demographic model
plot.fmforecast | Plot forecasts from a functional demographic modell
plot.lca | Plot forecasts from a functional demographic modell
plot.lifetable | Plot life expectancy from lifetable
points.demogdata | Plot age-specific demographic functions
pop.sim | Population simulation
read.demogdata | Read demographic data and construct demogdata object
residuals.fdm | Compute residuals and fitted values from functional demographic model or Lee-Carter model
residuals.lca | Compute residuals and fitted values from functional demographic model or Lee-Carter model
set.upperage | Combine the upperages of a demogdata object.
sex.ratio | Compute sex ratios from mortality rates
simulate.fmforecast | Simulate future sample paths from functional demographic model forecasts.
simulate.fmforecast2 | Simulate future sample paths from functional demographic model forecasts.
smooth.demogdata | Create smooth demogdata functions
summary.fdm | Summary for functional demographic model or Lee-Carter model
summary.lca | Summary for functional demographic model or Lee-Carter model
tfr | Compute total fertility rate from fertility rates
update | Updating functional demographic models and coherent functional demographic models.
update.fmforecast | Updating functional demographic models and coherent functional demographic models.
update.fmforecast2 | Updating functional demographic models and coherent functional demographic models.