VARshrink (version 0.3.1)

predict.varshrinkest: Predict method for objects of class varshrinkest

Description

Forecating a VAR object of class 'varshrinkest' with confidence bands. This is a modification of vars::predict.varest() for the class "varshrinkest".

Usage

# S3 method for varshrinkest
predict(object, ..., n.ahead = 10, ci = 0.95,
  dumvar = NULL)

Arguments

object

An object of class 'varshrinkest'; generated by VARshrink()

...

currently not used.

n.ahead

An integer specifying the number of forecast steps.

ci

The forecast confidence interval

dumvar

Matrix for objects of class <U+2018>vec2var<U+2019> or <U+2018>varest<U+2019>, if the dumvar argument in ca.jo() has been used or if the exogen argument in VARshrink() has been used, respectively. The matrix should have the same column dimension as in the call to ca.jo() or to VARshrink() and row dimension equal to n.ahead.