compute_forecasts: Computes forecasts for VARs
Description
This function computes forecasts for a given VAR.
Usage
compute_forecasts(v, num_steps)
Value
A matrix of dimension (number of variables) x (num_steps) containing
the forecasted values for each variable at each forecast horizon.
Arguments
- v
a VAR object as from fitVAR.
- num_steps
the number of forecasts to produce.