predict.fastVAR.VAR: VAR Predict

Description Usage Arguments Examples

View source: R/fastVAR.R

Description

Predict n steps ahead from a fastVAR.VAR object

Usage

1
2
3
  ## S3 method for class 'fastVAR.VAR'
 predict(VAR, n.ahead, threshold,
    ...)

Arguments

VAR

an object of class fastVAR.VAR returned from VAR

n.ahead

number of steps to predict

threshold

threshold prediction values to be greater than this value

...

extra parameters to pass into the coefficients method for objects of type fastVAR.VAR

Examples

1
2
data(Canada)
  predict(VAR(Canada, p = 3, intercept = F), 1)

jeffwong/fastVAR documentation built on May 19, 2019, 4:02 a.m.