Algorithm Search⌘K

Modelcore

Vector autoregression

Also called VAR model.

An autoregressive model for a vector of series, in which each series depends on lags of all of them. It is fitted equation by equation with least squares.

A vector autoregression of order pp, VAR(pp), models KK series together: each series at time tt is a linear function of the last pp values of all KK series plus a noise term, Yt=c+A1Yt−1+⋯+ApYt−p+εtY_t = c + A_1Y_{t-1} + \cdots + A_pY_{t-p} + \varepsilon_t. It is the autoregressive model with vectors in place of numbers and matrices in place of coefficients. The model is stable, and has a stationary solution, exactly when the companion matrix has all eigenvalues inside the unit circle. Because every equation has the same regressors, ordinary least squares applied to each equation alone is already the efficient system estimate. Sims (1980) made the VAR the standard tool of empirical macroeconomics. Its outputs are forecasts, Granger causality tests, impulse responses and forecast error variance decompositions, and its error correction form is the setting of the Johansen test for cointegration.

The machine

Notation. Yt∈RKY_t \in \mathbb{R}^K. The noise εt\varepsilon_t is vector white noise, εt∼WN(0,Σ)\varepsilon_t \sim \mathrm{WN}(0, \Sigma): Eεt=0\mathbb{E}\varepsilon_t = 0, Eεtεt⊤=Σ\mathbb{E}\varepsilon_t\varepsilon_t^\top = \Sigma positive definite, and Eεtεs⊤=0\mathbb{E}\varepsilon_t\varepsilon_s^\top = 0 for s≠ts \neq t. With the backshift BB, write A(z)=IK−A1z−⋯−ApzpA(z) = I_K - A_1z - \cdots - A_pz^p, so the model is

A(B)Yt=c+εt.A(B)Y_t = c + \varepsilon_t.

The univariate polynomial ϕ(z)\phi(z) of the AR model becomes the matrix polynomial A(z)A(z), and its roots become the roots of det⁡A(z)\det A(z).

Parameters. The intercept c∈RKc \in \mathbb{R}^K, the coefficient matrices A1,…,Ap∈RK×KA_1, \dots, A_p \in \mathbb{R}^{K \times K} with Ap≠0A_p \neq 0, and Σ\Sigma. That is K+K2p+K(K+1)/2K + K^2p + K(K + 1)/2 numbers. Entry (i,j)(i, j) of AℓA_\ell is the effect of Yj,t−ℓY_{j, t-\ell} on YitY_{it} with all other lags held fixed.

Companion form. Stack ξt=(Yt⊤,Yt−1⊤,…,Yt−p+1⊤)⊤∈RKp\xi_t = (Y_t^\top, Y_{t-1}^\top, \dots, Y_{t-p+1}^\top)^\top \in \mathbb{R}^{Kp}. Then ξt=cˉ+Fξt−1+vt\xi_t = \bar c + F\xi_{t-1} + v_t with

F=(A1A2⋯Ap−1ApIK0⋯000IK⋯00⋮⋱⋮00⋯IK0),vt=(εt0⋮0),F = \begin{pmatrix} A_1 & A_2 & \cdots & A_{p-1} & A_p \\ I_K & 0 & \cdots & 0 & 0 \\ 0 & I_K & \cdots & 0 & 0 \\ \vdots & & \ddots & & \vdots \\ 0 & 0 & \cdots & I_K & 0 \end{pmatrix}, \qquad v_t = \begin{pmatrix} \varepsilon_t \\ 0 \\ \vdots \\ 0\end{pmatrix},

and cˉ=(c⊤,0,…,0)⊤\bar c = (c^\top, 0, \dots, 0)^\top. Every VAR(pp) is a VAR(1) in KpKp dimensions, and every AR(pp) is the case K=1K = 1.

Stability. The VAR is stable when det⁡A(z)≠0\det A(z) \neq 0 for all complex ∣z∣≤1|z| \le 1. Theorem 1 below proves that this holds exactly when the spectral radius of FF is below 1, and that then Yt=μ+∑j≥0Ψjεt−jY_t = \mu + \sum_{j \ge 0}\Psi_j\varepsilon_{t-j} is the unique stationary solution with εt\varepsilon_t uncorrelated with the past, where μ=A(1)−1c\mu = A(1)^{-1}c and the Ψj\Psi_j decay geometrically. If det⁡A(1)=0\det A(1) = 0, the process has a unit root; with Π=−A(1)\Pi = -A(1) of rank rr, 0<r<K0 < r < K, the series are cointegrated, and the model is written in error correction form ∇Yt=c+ΠYt−1+∑i=1p−1Γi∇Yt−i+εt\nabla Y_t = c + \Pi Y_{t-1} + \sum_{i=1}^{p-1}\Gamma_i\nabla Y_{t-i} + \varepsilon_t with Γi=−(Ai+1+⋯+Ap)\Gamma_i = -(A_{i+1} + \cdots + A_p).

A worked case. Take K=2K = 2, p=1p = 1, c=0c = 0,

A1=(0.50.20.30.4),Σ=(10.50.51).A_1 = \begin{pmatrix} 0.5 & 0.2 \\ 0.3 & 0.4\end{pmatrix}, \qquad \Sigma = \begin{pmatrix} 1 & 0.5 \\ 0.5 & 1\end{pmatrix}.

Then det⁡(I−A1z)=1−0.9z+0.14z2=(1−0.7z)(1−0.2z)\det(I - A_1z) = 1 - 0.9z + 0.14z^2 = (1 - 0.7z)(1 - 0.2z), with roots 1/0.71/0.7 and 55, both outside the unit circle; the eigenvalues of F=A1F = A_1 are 0.70.7 and 0.20.2. The model is stable. Its variance Γ(0)\Gamma(0) solves Γ(0)=A1Γ(0)A1⊤+Σ\Gamma(0) = A_1\Gamma(0)A_1^\top + \Sigma, a linear system of 4 equations in the entries:

Γ(0)=(7675/438610675/877210675/877230275/17544)≈(1.7501.2171.2171.726),\Gamma(0) = \begin{pmatrix} 7675/4386 & 10675/8772 \\ 10675/8772 & 30275/17544\end{pmatrix} \approx \begin{pmatrix} 1.750 & 1.217 \\ 1.217 & 1.726\end{pmatrix},

and Γ(1)=EYtYt−1⊤=A1Γ(0)≈(1.1180.9541.0121.055)\Gamma(1) = \mathbb{E}Y_tY_{t-1}^\top = A_1\Gamma(0) \approx \begin{pmatrix} 1.118 & 0.954 \\ 1.012 & 1.055\end{pmatrix}.

What it counts

quantity formula cost from the parameters
moving average weights Ψ0=I\Psi_0 = I, Ψj=∑i=1min⁡(j,p)AiΨj−i\Psi_j = \sum_{i=1}^{\min(j, p)}A_i\Psi_{j-i}; equivalently Ψj=JFjJ⊤\Psi_j = JF^jJ^\top with J=(IK,0,…,0)J = (I_K, 0, \dots, 0) O(K3p)O(K^3p) per lag
mean μ=A(1)−1c\mu = A(1)^{-1}c O(K3)O(K^3)
autocovariances vec⁡Γξ(0)=(I−F⊗F)−1vec⁡Σv\operatorname{vec}\Gamma_\xi(0) = (I - F \otimes F)^{-1}\operatorname{vec}\Sigma_v with Σv=J⊤ΣJ\Sigma_v = J^\top\Sigma J, then Γ(h)=∑i=1pAiΓ(h−i)\Gamma(h) = \sum_{i=1}^pA_i\Gamma(h - i) for h≥1h \ge 1 (the multivariate Yule-Walker equations) O(K6p6)O(K^6p^6) directly, O(K3p3)O(K^3p^3) by a Schur method, then O(K3p)O(K^3p) per lag
forecasts Y^T+h=c+∑iAiY^T+h−i\hat Y_{T+h} = c + \sum_iA_i\hat Y_{T+h-i}, with Y^s=Ys\hat Y_s = Y_s for s≤Ts \le T O(K2p)O(K^2p) per step
forecast error covariance ∑j=0h−1ΨjΣΨj⊤\sum_{j=0}^{h-1}\Psi_j\Sigma\Psi_j^\top O(hK3)O(hK^3)
impulse responses Ψj\Psi_j; orthogonalized Θj=ΨjP\Theta_j = \Psi_jP with Σ=PP⊤\Sigma = PP^\top the Cholesky factor O(K3)O(K^3) per lag
variance decomposition share of shock kk in the hh-step error of series ii: ∑j<h(Θj)ik2/∑j<h∑l(Θj)il2\sum_{j<h}(\Theta_j)_{ik}^2 \big/ \sum_{j<h}\sum_l(\Theta_j)_{il}^2 O(hK3)O(hK^3)
spectral density f(ω)=12πA(e−iω)−1ΣA(e−iω)−∗f(\omega) = \frac{1}{2\pi}A(e^{-i\omega})^{-1}\Sigma A(e^{-i\omega})^{-*} O(K2p+K3)O(K^2p + K^3) per frequency

Impulse responses depend on the order. In the worked case, Ψ1=A1\Psi_1 = A_1 and Ψ2=A12=(0.310.180.270.22)\Psi_2 = A_1^2 = \begin{pmatrix}0.31 & 0.18 \\ 0.27 & 0.22\end{pmatrix}: a unit change in ε1t\varepsilon_{1t} alone moves Y1,t+2Y_{1, t+2} by 0.31 and Y2,t+2Y_{2, t+2} by 0.27. But the errors are correlated, so a change in ε1\varepsilon_1 alone is not a typical event. The Cholesky factor in the order (Y1,Y2)(Y_1, Y_2) is P=(100.50.866)P = \begin{pmatrix}1 & 0 \\ 0.5 & 0.866\end{pmatrix}: the first orthogonal shock moves Y1Y_1 by 1 and Y2Y_2 by 0.5 on impact, and the second moves only Y2Y_2. In the order (Y2,Y1)(Y_2, Y_1) the impact matrix is (0.8660.501)\begin{pmatrix}0.866 & 0.5 \\ 0 & 1\end{pmatrix}: now a shock to Y2Y_2 also moves Y1Y_1 by 0.5 on impact, and the other shock moves only Y1Y_1. The variance decompositions change with it. At h=2h = 2, the order (Y1,Y2)(Y_1, Y_2) attributes 97.8% of Y1Y_1's forecast error to its own shock; the order (Y2,Y1)(Y_2, Y_1) attributes 67.5%. The data cannot tell the two orders apart, because both give the same Σ\Sigma. The order is an assumption about which variable can react to which within one period.

Relation to other models

  • Autoregressive model. The case K=1K = 1. Each equation of a VAR is an autoregressive distributed lag regression.
  • VARMA. Adding a matrix moving average part gives VARMA(pp, qq). It is more parsimonious, but its parameters are not identified without extra rules (echelon forms), which is why practice uses VARs. A stable VAR is a VMA(∞\infty), and an invertible VARMA is a VAR(∞\infty), which a VAR(pp) with pp growing slowly approximates.
  • State space model. The companion form is a state space model with state ξt\xi_t and no observation noise. The Kalman filter then handles missing values and mixed frequencies.
  • Error correction form and cointegration. A VAR with unit roots and rank⁡Π=r\operatorname{rank}\Pi = r is a vector error correction model. The Johansen test estimates rr by reduced rank regression, and the Engle-Granger test checks one relation.
  • Seemingly unrelated regressions. A VAR is a system of regressions with correlated errors and identical regressors. Zellner's (1962) GLS for such systems reduces to OLS here (Theorem 2). With zero restrictions that differ across equations, it does not.
  • Structural VAR. B0Yt=d+B1Yt−1+⋯+utB_0Y_t = d + B_1Y_{t-1} + \cdots + u_t with uncorrelated structural shocks utu_t. The reduced form is the VAR with Ai=B0−1BiA_i = B_0^{-1}B_i, Σ=B0−1Var⁡(ut)B0−⊤\Sigma = B_0^{-1}\operatorname{Var}(u_t)B_0^{-\top}. Recursive (Cholesky), long-run, sign and external-instrument restrictions are different ways to pick B0B_0.
  • Local projections. Jordà (2005) estimates the response at horizon hh by regressing Yt+hY_{t+h} on Yt,…,Yt−p+1Y_t, \dots, Y_{t-p+1} directly, one regression per hh. Under a correct VAR both target the same Ψh\Psi_h; local projections are less efficient but more robust to a wrong lag order.

Known results in the model

Theorem 1 (stability and the companion matrix). (a) det⁡(IKp−Fz)=det⁡A(z)\det(I_{Kp} - Fz) = \det A(z) for all zz. Hence the roots of det⁡A(z)\det A(z) are exactly the reciprocals 1/λ1/\lambda of the nonzero eigenvalues λ\lambda of FF, and det⁡A(z)≠0\det A(z) \neq 0 on ∣z∣≤1|z| \le 1 if and only if every eigenvalue of FF has ∣λ∣<1|\lambda| < 1. (b) If every eigenvalue of FF has ∣λ∣<1|\lambda| < 1, then Yt=μ+∑j≥0Ψjεt−jY_t = \mu + \sum_{j \ge 0}\Psi_j\varepsilon_{t-j}, with μ=A(1)−1c\mu = A(1)^{-1}c and Ψj=JFjJ⊤\Psi_j = JF^jJ^\top, converges in mean square, solves the model, and is stationary. It is the only stationary solution in which εt\varepsilon_t is uncorrelated with YsY_s for s<ts < t. (c) If some eigenvalue of FF has ∣λ∣≥1|\lambda| \ge 1, there is no stationary solution with εt\varepsilon_t uncorrelated with the past.

Proof. (a) Split M(z)=IKp−FzM(z) = I_{Kp} - Fz into the first block row and column and the rest: M11=I−A1zM_{11} = I - A_1z, M12=(−A2z,…,−Apz)M_{12} = (-A_2z, \dots, -A_pz), M21=(−zI,0,…,0)⊤M_{21} = (-zI, 0, \dots, 0)^\top, and DD is block lower bidiagonal with II on the diagonal and −zI-zI below it, so det⁡D=1\det D = 1. The Schur complement formula gives det⁡M=det⁡D det⁡(M11−M12D−1M21)\det M = \det D\,\det(M_{11} - M_{12}D^{-1}M_{21}). Solving Du=M21Du = M_{21} block by block gives u1=−zIu_1 = -zI and uk=zuk−1u_k = zu_{k-1}, so uk=−zkIu_k = -z^kI. Then M12u=∑i=2p(−Aiz)(−zi−1I)=∑i=2pAiziM_{12}u = \sum_{i=2}^p(-A_iz)(-z^{i-1}I) = \sum_{i=2}^pA_iz^i and M11−M12u=I−∑i=1pAizi=A(z)M_{11} - M_{12}u = I - \sum_{i=1}^pA_iz^i = A(z). For λ≠0\lambda \neq 0, det⁡(λI−F)=λKpdet⁡(I−F/λ)=λKpdet⁡A(1/λ)\det(\lambda I - F) = \lambda^{Kp}\det(I - F/\lambda) = \lambda^{Kp}\det A(1/\lambda), so λ\lambda is an eigenvalue if and only if 1/λ1/\lambda is a root; z=0z = 0 is never a root since det⁡A(0)=1\det A(0) = 1.

(b) Since A(1)A(1) is invertible, Xt=Yt−μX_t = Y_t - \mu satisfies the model with c=0c = 0, so take c=0c = 0. With rr strictly between the spectral radius ρ(F)\rho(F) and 1, Gelfand's formula gives a constant CC with ∥Fj∥≤Crj\lVert F^j\rVert \le Cr^j. Then E∥Fjvt−j∥2≤C2r2jtr⁡Σ\mathbb{E}\lVert F^jv_{t-j}\rVert^2 \le C^2r^{2j}\operatorname{tr}\Sigma, so ξt=∑j≥0Fjvt−j\xi_t = \sum_{j\ge0}F^jv_{t-j} converges in mean square. It satisfies ξt=Fξt−1+vt\xi_t = F\xi_{t-1} + v_t term by term, its mean is 0 and its covariances ∑jFj+hΣvFj⊤\sum_jF^{j+h}\Sigma_vF^{j\top} do not depend on tt, and it is uncorrelated with later vv. Its first block is Yt=∑jJFjJ⊤εt−jY_t = \sum_jJF^jJ^\top\varepsilon_{t-j}, because vt=J⊤εtv_t = J^\top\varepsilon_t. For uniqueness, let ξt′\xi'_t be any stationary solution with εt\varepsilon_t uncorrelated with the past. Iterating kk times, ξt′=Fkξt−k′+∑j<kFjvt−j\xi'_t = F^k\xi'_{t-k} + \sum_{j<k}F^jv_{t-j}, and E∥Fkξt−k′∥2≤C2r2kE∥ξ0′∥2→0\mathbb{E}\lVert F^k\xi'_{t-k}\rVert^2 \le C^2r^{2k}\mathbb{E}\lVert\xi'_0\rVert^2 \to 0. So ξt′=ξt\xi'_t = \xi_t in mean square.

(c) Let ∣λ∣≥1|\lambda| \ge 1 and w≠0w \neq 0 with w∗F=λw∗w^*F = \lambda w^*. Write w=(w1,…,wp)w = (w_1, \dots, w_p) in blocks. The block equations are w1∗Ak+wk+1∗=λwk∗w_1^*A_k + w_{k+1}^* = \lambda w_k^* for k<pk < p and w1∗Ap=λwp∗w_1^*A_p = \lambda w_p^*. If w1=0w_1 = 0, the last one gives wp=0w_p = 0 and then, going up, all wk=0w_k = 0; so w1≠0w_1 \neq 0. Let xt=w∗ξtx_t = w^*\xi_t. Then xt=λxt−1+w1∗εtx_t = \lambda x_{t-1} + w_1^*\varepsilon_t (plus a constant, which does not change variances). If ξt\xi_t were stationary with εt\varepsilon_t uncorrelated with ξt−1\xi_{t-1}, then s=E∣xt−Ext∣2s = \mathbb{E}|x_t - \mathbb{E}x_t|^2 would satisfy s=∣λ∣2s+w1∗Σw1s = |\lambda|^2s + w_1^*\Sigma w_1 with w1∗Σw1>0w_1^*\Sigma w_1 > 0, so s(1−∣λ∣2)>0s(1 - |\lambda|^2) > 0, which is impossible for ∣λ∣≥1|\lambda| \ge 1. □\square

The AR(2) model Xt=1.2Xt−1−0.35Xt−2+εtX_t = 1.2X_{t-1} - 0.35X_{t-2} + \varepsilon_t is a check of part (a) with K=1K = 1: F=(1.2−0.3510)F = \begin{pmatrix}1.2 & -0.35 \\ 1 & 0\end{pmatrix} has eigenvalues 0.7 and 0.5, and 1−1.2z+0.35z2=(1−0.7z)(1−0.5z)1 - 1.2z + 0.35z^2 = (1 - 0.7z)(1 - 0.5z).

Theorem 2 (equation-by-equation OLS is GLS and the Gaussian MLE). Write the TT equations as Y=XB+EY = XB + E, with YY of size T×KT \times K, the common regressor matrix XX of size T×mT \times m (a column of ones and the pp lags, m=1+Kpm = 1 + Kp) of full column rank, and rows of EE uncorrelated with covariance Σ\Sigma. (a) The GLS estimate of the stacked system vec⁡Y=(IK⊗X)vec⁡B+vec⁡E\operatorname{vec}Y = (I_K \otimes X)\operatorname{vec}B + \operatorname{vec}E, Cov⁡(vec⁡E)=Σ⊗IT\operatorname{Cov}(\operatorname{vec}E) = \Sigma \otimes I_T, is B^=(X⊤X)−1X⊤Y\hat B = (X^\top X)^{-1}X^\top Y, which is OLS on each equation, for every positive definite Σ\Sigma. (b) For Gaussian errors and conditional on the first pp observations, the maximum likelihood estimates are B^\hat B and Σ^=E^⊤E^/T\hat\Sigma = \hat E^\top\hat E/T with E^=Y−XB^\hat E = Y - X\hat B.

Proof. (a) Using (P⊗Q)(R⊗S)=PR⊗QS(P \otimes Q)(R \otimes S) = PR \otimes QS and (P⊗Q)−1=P−1⊗Q−1(P \otimes Q)^{-1} = P^{-1} \otimes Q^{-1},

[(I⊗X)⊤(Σ−1⊗I)(I⊗X)]−1(I⊗X)⊤(Σ−1⊗I)=(Σ−1⊗X⊤X)−1(Σ−1⊗X⊤)=(Σ⊗(X⊤X)−1)(Σ−1⊗X⊤)=I⊗(X⊤X)−1X⊤,\left[(I \otimes X)^\top(\Sigma^{-1} \otimes I)(I \otimes X)\right]^{-1}(I \otimes X)^\top(\Sigma^{-1} \otimes I) = (\Sigma^{-1} \otimes X^\top X)^{-1}(\Sigma^{-1} \otimes X^\top) = (\Sigma \otimes (X^\top X)^{-1})(\Sigma^{-1} \otimes X^\top) = I \otimes (X^\top X)^{-1}X^\top,

and (I⊗(X⊤X)−1X⊤)vec⁡Y=vec⁡((X⊤X)−1X⊤Y)(I \otimes (X^\top X)^{-1}X^\top)\operatorname{vec}Y = \operatorname{vec}((X^\top X)^{-1}X^\top Y). Σ\Sigma has dropped out. (b) The conditional log-likelihood is −T2log⁡det⁡Σ−12tr⁡(Σ−1(Y−XB)⊤(Y−XB))-\frac{T}{2}\log\det\Sigma - \frac12\operatorname{tr}(\Sigma^{-1}(Y - XB)^\top(Y - XB)) plus a constant. Since X⊤E^=0X^\top\hat E = 0, (Y−XB)⊤(Y−XB)=E^⊤E^+(B−B^)⊤X⊤X(B−B^)(Y - XB)^\top(Y - XB) = \hat E^\top\hat E + (B - \hat B)^\top X^\top X(B - \hat B), and the second term is positive semidefinite, so for every Σ\Sigma the trace is smallest at B=B^B = \hat B. With B=B^B = \hat B, maximizing over Σ\Sigma gives Σ^=E^⊤E^/T\hat\Sigma = \hat E^\top\hat E/T, the standard result for a Gaussian covariance. □\square

In a fixed-regressor setting, (a) and the Gauss-Markov theorem for generalized least squares make B^\hat B the best linear unbiased estimate. In a VAR the regressors are lagged YY, so B^\hat B is biased in small samples (toward less persistence, like the AR(1) estimate), and its optimality is asymptotic.

Asymptotic law (cited). If the VAR is stable and εt\varepsilon_t is IID (or a martingale difference with bounded fourth moments) with covariance Σ\Sigma, then T(vec⁡B^−vec⁡B)→N(0,Σ⊗Q−1)\sqrt T(\operatorname{vec}\hat B - \operatorname{vec}B) \to N(0, \Sigma \otimes Q^{-1}) with Q=plim⁡X⊤X/TQ = \operatorname{plim}X^\top X/T, and Σ^→Σ\hat\Sigma \to \Sigma in probability (Lütkepohl 2005, Chapter 3; Hamilton 1994, Chapter 11). So Wald tests of linear restrictions, such as Granger noncausality, are asymptotically chi-square. With unit roots, B^\hat B is still consistent, but Wald tests on coefficients that cannot be written as coefficients of stationary regressors have nonstandard laws (Sims, Stock and Watson 1990). The Granger causality page measures this in a simulation and gives the Toda-Yamamoto fix.

A simulated fit. With seed 2026, simulate 200 points from the worked case (after a burn-in of 100) and fit a VAR(1) with intercept by OLS on 199 rows. The estimates are A^1=(0.6590.0900.3510.382)\hat A_1 = \begin{pmatrix}0.659 & 0.090 \\ 0.351 & 0.382\end{pmatrix}, with standard errors about 0.07 for each entry, and Σ^=(0.9210.4420.4421.052)\hat\Sigma = \begin{pmatrix}0.921 & 0.442 \\ 0.442 & 1.052\end{pmatrix}. The eigenvalues of A^1\hat A_1 are 0.746 and 0.295. The entry 0.659 is more than two standard errors from 0.5, which is the sampling noise of one draw, not a property of the method.

Order selection. The lag order pp is chosen by the Akaike information criterion log⁡det⁡Σ^p+2pK2/T\log\det\hat\Sigma_p + 2pK^2/T, by Hannan-Quinn, or by the Bayesian information criterion log⁡det⁡Σ^p+pK2log⁡T/T\log\det\hat\Sigma_p + pK^2\log T/T, or by sequential likelihood ratio tests. For a finite true order, BIC and Hannan-Quinn are consistent and AIC overestimates the order with positive probability (Lütkepohl 2005, Chapter 4). Too few lags leave correlated residuals and bias every derived quantity, so check the residuals with a multivariate portmanteau test.

Dimension. The number of coefficients, K2pK^2p, grows fast: K=7K = 7 and p=4p = 4 give 196 coefficients besides the intercepts. Large VARs need shrinkage, such as the Minnesota prior of Bayesian VARs, which pulls each equation toward a random walk (Litterman 1986), or factor models.

Forecasting. The forecasts above are the best linear forecasts for a stable VAR with known parameters, and their error covariance tends to Γ(0)\Gamma(0) as hh grows. With estimated parameters the forecast error has an extra term of order 1/T1/T.

References

  1. Christopher A. Sims, Macroeconomics and reality, Econometrica 48(1) (1980), pages 1 to 48, the case for unrestricted VARs, orthogonalized impulse responses and variance decompositions
  2. Helmut Lütkepohl, New Introduction to Multiple Time Series Analysis, Springer, 2005, Chapter 2 (stable VAR processes, the companion form, Granger causality, impulse responses and variance decompositions), Chapter 3 (least squares and maximum likelihood estimation and their asymptotic laws) and Chapter 4 (order selection)
  3. James D. Hamilton, Time Series Analysis, Princeton University Press, 1994, Chapter 10 (covariance-stationary vector processes) and Chapter 11 (vector autoregressions)
  4. Arnold Zellner, An efficient method of estimating seemingly unrelated regressions and tests for aggregation bias, Journal of the American Statistical Association 57(298) (1962), pages 348 to 368, generalized least squares for a system of regressions, which reduces to equation-by-equation least squares when all equations have the same regressors
  5. Christopher A. Sims, James H. Stock and Mark W. Watson, Inference in linear time series models with some unit roots, Econometrica 58(1) (1990), pages 113 to 144, which Wald tests in a VAR in levels keep their standard limit laws when the series have unit roots
  6. Òscar Jordà, Estimation and inference of impulse responses by local projections, American Economic Review 95(1) (2005), pages 161 to 182, impulse responses estimated by one regression per horizon instead of by iterating a VAR
  7. Robert B. Litterman, Forecasting with Bayesian vector autoregressions, five years of experience, Journal of Business and Economic Statistics 4(1) (1986), pages 25 to 38, the Minnesota prior that shrinks each equation toward a random walk

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/5NRXN8/text.yaml