apaVectorAutoregress.Forecast.WithData(DataMatrix, Order, WithInterceptOtherwiseNot, nAhead)
Excel
=apaVectorAutoregress.Forecast.WithData(DataMatrix, Order, WithInterceptOtherwiseNot, nAhead)Result
Returns forecasts from a vector autoregressive (VAR) model of order p, appended to the existing data.
Syntax
DataMatrix: r x c matrix of data, each column containing a series
Order: order p, i.e. the number of lags to consider
WithInterceptOtherwiseNot: TRUE to add an intercept term to the model, FALSE for no intercept
nAhead: number of periods ahead to forecast
