apaVectorAutoregress.Residuals(DataMatrix, Order, WithInterceptOtherwiseNot)
Excel
=apaVectorAutoregress.Residuals(DataMatrix, Order, WithInterceptOtherwiseNot)Result
Returns the residuals of 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
