Learn R Programming

BigVAR (version 1.1.2)

predict: Forecast using a BigVAR.results object

Description

Forecast using a BigVAR.results object

Usage

predict(object,...)

Arguments

object

BigVAR.results object from cv.BigVAR

...

additional arguments affecting the predictions produced (e.g. n.ahead, confint)

Details

Provides n.ahead step forecasts using the model produced by cv.BigVAR. If confint is set to TRUE, a 95 percent confidence interval will also be returned.

See Also

cv.BigVAR

Examples

Run this code
data(Y)
Y=Y[1:100,]
Model1=constructModel(Y,p=4,struct='Basic',gran=c(50,10),verbose=FALSE)
results=cv.BigVAR(Model1)
predict(results,n.ahead=1)

Run the code above in your browser using DataLab