pop.pred | R Documentation |
Population forecasting using mortality forecast and simple time series forecast for age 0 population
pop.pred(mort, mort.fcast)
mort |
mortality data of class 'demogdata' |
mort.fcast |
mortality forecast of class 'fmforecast' |
ARIMA(0,2,2)-model is used to forecast age 0 populaton.
population forecast of class 'demogdata'
Arto Luoma <arto.luoma@wippies.com>
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.