Home   >   User Resources   >   Online Help   >   apaVectorAutoregress.Forecast
 

 

Function index Version 3.0.0

apaVectorAutoregress.Forecast(DataMatrix, Order, WithInterceptOtherwiseNot, nAhead)

Excel=apaVectorAutoregress.Forecast(DataMatrix, Order, WithInterceptOtherwiseNot, nAhead)

Result

Returns forecasts from a vector autoregressive (VAR) model of order p.

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