pop.pred: Population forecasting

View source: R/pop.pred.R

pop.predR Documentation

Population forecasting

Description

Population forecasting using mortality forecast and simple time series forecast for age 0 population

Usage

pop.pred(mort, mort.fcast)

Arguments

mort

mortality data of class 'demogdata'

mort.fcast

mortality forecast of class 'fmforecast'

Details

ARIMA(0,2,2)-model is used to forecast age 0 populaton.

Value

population forecast of class 'demogdata'

Author(s)

Arto Luoma <arto.luoma@wippies.com>

Examples

data(fin)
data(fin.fcast)
fin.pcast <- pop.pred(fin,fin.fcast)
plot(fin,plot.type="functions",series="total",transform=FALSE,
     datatype="pop",ages=c(0:100), years=c(1990+0:5*10), xlab="Age")
lines(fin.pcast,plot.type="functions",series="total",transform=FALSE, 
      datatype="pop",ages=c(0:100), years=c(1990+0:5*10), lty=2)

RcmdrPlugin.RiskDemo documentation built on Nov. 13, 2023, 5:07 p.m.