powered by
One-step ahead predictions for VARX models
PredictVARX(VARXRes)
Returns a vector consisting of the out-of-sample forecasts for the provided VARXFit model.
VARXFit
the results from VARXFit
data(Y) # fit a VAR_3(3) mod <- VARXFit(Y,3,NULL,NULL) pred <-PredictVARX(mod)
Run the code above in your browser using DataLab