Vector autoregression (VAR) is a statistical model used to capture the relationship between multiple quantities as they change over time. VAR is a type of stochastic process model. VAR models generalize the single-variable (univariate) autoregressive model by allowing for multivariate time series. VAR models are often used in economics and the natural sciences. Like the autoregressive model, each variable has an equation modelling its evolution over time. This equation includes the variable's lagged (past) values, the lagged values of the other variables in the model, and an error term. VAR models do not require as much knowledge about the forces influencing a variable as do structural models with simultaneous equations. The only prior knowledge required is a list of variables which can be hypothesized to affect each other over time.
Specification
Definition A VAR model describes the evolution of a set of k variables, called endogenous variables, over time. Each period of time is numbered, t = 1, ..., T. The variables are collected in a vector, yt, which is of length k. (Equivalently, this vector might be described as a (k × 1)-matrix.) The vector is modelled as a linear function of its previous value. The vector's components are referred to as yi,t, meaning the observation at time t of the i th variable. For example, if the first variable in the model measures the price of wheat over time, then y1,1998 would indicate the price of wheat in the year 1998. VAR models are characterized by their order, which refers to the number of earlier time periods the model will use. Continuing the above example, a 5th-order VAR would model each year's wheat price as a linear combination of the last five years of wheat prices. A lag is the value of a variable in a previous time period. So in general a pth-order VAR refers to a VAR model which includes lags for the last p time periods. A pth-order VAR is denoted "VAR(p)" and sometimes called "a VAR with p lags". A pth-order VAR model is written as
yt=c+A1yt−1+A2yt−2+⋯+Apyt−p+et, The variables of the form yt−i indicate that variable's value i time periods earlier and are called the "ith lag" of yt. The variable c is a k-vector of constants serving as the intercept of the model. Ai is a time-invariant (k × k)-matrix and et is a k-vector of error terms. The error terms must satisfy three conditions:
E(et)=0. Every error term has a mean of zero. E(etet′)=Ω. The contemporaneous covariance matrix of error terms is a k × k positive-semidefinite matrix denoted Ω. E(etet′−k′)=0 for any non-zero k. There is no correlation across time. In particular, there is no serial correlation in individual error terms. The process of choosing the maximum lag p in the VAR model requires special attention because inference is dependent on correctness of the selected lag order.
Order of integration of the variables Note that all variables have to be of the same order of integration, in which different approaches are needed. The following cases are distinct:
All the variables are I(0) (stationary): this is in the standard case, i.e. a VAR in level All the variables are I(d) (non-stationary) with d > 0: The variables are cointegrated: the error correction term has to be included in the VAR. The model becomes a Vector error correction model (VECM) which can be seen as a restricted VAR. The variables are not cointegrated: first, the variables have to be differenced d times and one has a VAR in difference.
Concise matrix notation One can stack the vectors in order to write a VAR(p) as a stochastic matrix difference equation, with a concise matrix notation:
Y=BZ+U
Example A VAR(1) in two variables can be written in matrix form (more compact notation) as
[y1,ty2,t]=[c1c2]+[a1,1a1,2a2,1a2,2][y1,t−1y2,t−1]+[e1,te2,t], (in which only a single A matrix appears because this example has a maximum lag p equal to 1), or, equivalently, as the following system of two equations
y1,t=c1+a1,1y1,t−1+a1,2y2,t−1+e1,t y2,t=c2+a2,1y1,t−1+a2,2y2,t−1+e2,t. Each variable in the model has one equation. The current (time t) observation of each variable depends on its own lagged values as well as on the lagged values of each other variable in the VAR.
Writing VAR(p) as VAR(1) A VAR with p lags can always be equivalently rewritten as a VAR with only one lag by appropriately redefining the dependent variable. The transformation amounts to stacking the lags of the VAR(p) variable in the new VAR(1) dependent variable and appending identities to complete the precise number of equations. For example, the VAR(2) model
yt=c+A1yt−1+A2yt−2+et can be recast as the VAR(1) model
[ytyt−1]=[c0]+[A1A2I0][yt−1yt−2]+[et0], where I is the identity matrix. The equivalent VAR(1) form is more convenient for analytical derivations and allows more compact statements.
Structural vs. reduced form
Structural VAR A structural VAR with p lags (sometimes abbreviated SVAR) is
B0yt=c0+B1yt−1+B2yt−2+⋯+Bpyt−p+ϵt, where c0 is a k × 1 vector of constants, Bi is a k × k matrix (for every i = 0, ..., p) and εt is a k × 1 vector of error terms. The main diagonal terms of the B0 matrix (the coefficients on the ith variable in the ith equation) are scaled to 1. The error terms εt (structural shocks) satisfy the conditions (1) - (3) in the definition above, with the particularity that all the elements in the off diagonal of the covariance matrix E(ϵtϵt′)=Σ are zero. That is, the structural shocks are uncorrelated. For example, a two variable structural VAR(1) is:
[1B0;1,2B0;2,11][y1,ty2,t]=[c0;1c0;2]+[B1;1,1B1;1,2B1;2,1B1;2,2][y1,t−1y2,t−1]+[ϵ1,tϵ2,t], where
Σ=E(ϵtϵt′)=[σ1200σ22]; that is, the variances of the structural shocks are denoted var(ϵi)=σi2 (i = 1, 2) and the covariance is cov(ϵ1,ϵ2)=0. Writing the first equation explicitly and passing y2,t to the right hand side one obtains
… excerpt ends here. Continue reading the full article.