predict.MRW: Forecast age-specific death rates using the a Multivariate...

Description Usage Arguments Details Value Author(s) Source References Examples

View source: R/model_MRW.R

Description

Forecast age-specific death rates using the a Multivariate Random Walk Model

Usage

1
2
## S3 method for class 'MRW'
predict(object, h = 10, level = c(80, 95), ...)

Arguments

object

An object of class MRW.

h

Number of years to be forecast in the future.

level

Significance level of the confidence interval.

...

Arguments to be passed to or from other methods.

Details

\insertNoCite

haberman2011MortalityForecast

Value

An object of the class predict.MRW with components:

call

An unevaluated function call, that is, an unevaluated expression which consists of the named function applied to the given arguments;

info

Short details about the model;

predicted.values

data.frame with the central forecast;

conf.intervals

List with lower and upper limits for prediction intervals;

x

Numerical vector indicating the age classes in output;

y

Numerical vector indicating the years in output.

Author(s)

Marius D. Pascariu

Source

The original implementation of this function was taken from StMoMo R package.

References

\insertAllCited

Examples

1
# For examples go to ?model.MRW

mpascariu/MortalityForecast documentation built on Sept. 28, 2020, 2:40 p.m.