Home   >   User Resources   >   Online Help   >   apaVectorAutoregress.ImpulseResponse
 

 

Function index Version 3.0.0

apaVectorAutoregress.ImpulseResponse(DataMatrix, Order, WithInterceptOtherwiseNot, Shock, nAhead)

Excel=apaVectorAutoregress.ImpulseResponse(DataMatrix, Order, WithInterceptOtherwiseNot, Shock, nAhead)

Result

Returns the impulse responses of a vector autoregressive (VAR) model of order p, i.e. the projected response of all variables to a unit shock in one variable.

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

Shock: index of the variable which is shocked. The sign of the index determines whether the shock is positive or negative

nAhead: number of periods ahead to project the shock