Description Usage Arguments Author(s) Examples
This function makes one-step-ahead forecasts for a VAR model with a fixed scheme. The forecasts will be returned alongside root mean squared errors (rmse). Only VAR models with two time series are supported. Future updates might support more general models with multiple time series.
1 |
model |
the VAR model based on which forecasts should be made. The model should be built with a subset of the time series only (training set). |
test |
the testing data based on which information is updated. |
y |
the variable to make forecasts for. This should be the index indicating the column where the variable is positioned in the data frame. |
Zehua Wu
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.