Variance Decomposition

varvariance-decompositionforecast-errorstructural-shocks

Definition

The Variance Decomposition Function (VDF), also called Forecast Error Variance Decomposition (FEVD), allocates the jj-step-ahead forecast error variance of each variable to the individual structural shocks. It answers: what fraction of variable vv's unpredictability at horizon jj is attributable to shock kk?

Key Ideas

How It Works

Moving Average Representation

From the structural vector autoregression (VAR), the variables admit the MA representation:

xt=Θ(L)εt=i=0Θiεtix_t = \Theta(L)\,\varepsilon_t = \sum_{i=0}^{\infty} \Theta_i\,\varepsilon_{t-i}

where Θi\Theta_i is the n×nn \times n matrix of impulse responses at horizon ii (see Impulse Response Function) and εt(0,Σε)\varepsilon_t \sim (0, \Sigma_\varepsilon) with Σε\Sigma_\varepsilon diagonal (independent structural shocks).

Forecast Error

The jj-step-ahead forecast error for xt+jx_{t+j} given information at tt is:

xt+jEt[xt+j]=i=0j1Θiεt+jix_{t+j} - \mathbb{E}_t[x_{t+j}] = \sum_{i=0}^{j-1} \Theta_i\,\varepsilon_{t+j-i}

since all εt+ji\varepsilon_{t+j-i} for i<ji < j are unknown at time tt. The forecast error variance matrix is:

Var(xt+jEt[xt+j])=i=0j1ΘiΣεΘi\text{Var}(x_{t+j} - \mathbb{E}_t[x_{t+j}]) = \sum_{i=0}^{j-1} \Theta_i\,\Sigma_\varepsilon\,\Theta_i'

Variance Decomposition Formula

Let θvs,i\theta_{vs,i} denote the (v,s)(v,s) element of Θi\Theta_i and σs2=[Σε]ss\sigma_s^2 = [\Sigma_\varepsilon]_{ss} the variance of structural shock ss. The jj-step forecast error variance of variable vv attributable to shock kk is:

VDF(v,k,j)=i=0j1θvk,i2σk2i=0j1s=1nθvs,i2σs2×100\text{VDF}(v,\, k,\, j) = \frac{\displaystyle\sum_{i=0}^{j-1} \theta_{vk,i}^2\,\sigma_k^2}{\displaystyle\sum_{i=0}^{j-1} \sum_{s=1}^{n} \theta_{vs,i}^2\,\sigma_s^2} \times 100

When Σε=In\Sigma_\varepsilon = I_n (unit-variance structural shocks, as is conventional after normalization), this simplifies to:

VDF(v,k,j)=i=0j1θvk,i2i=0j1s=1nθvs,i2×100\text{VDF}(v,\, k,\, j) = \frac{\displaystyle\sum_{i=0}^{j-1} \theta_{vk,i}^2}{\displaystyle\sum_{i=0}^{j-1} \sum_{s=1}^{n} \theta_{vs,i}^2} \times 100

The decomposition is exhaustive: k=1nVDF(v,k,j)=100\sum_{k=1}^n \text{VDF}(v,k,j) = 100 for all vv and jj.

For the Differenced VAR

When the VAR is estimated in first differences (permanent-shock case), the cumulative impulse responses Γi==0iΘ\Gamma_i = \sum_{\ell=0}^{i} \Theta_\ell govern the level responses (see Impulse Response Function). The variance decomposition for the level of xx replaces Θi\Theta_i with Γi\Gamma_i in the formula above:

VDFlevel(v,k,j)=i=0j1γvk,i2σk2i=0j1s=1nγvs,i2σs2×100\text{VDF}_\text{level}(v,\, k,\, j) = \frac{\displaystyle\sum_{i=0}^{j-1} \gamma_{vk,i}^2\,\sigma_k^2}{\displaystyle\sum_{i=0}^{j-1} \sum_{s=1}^{n} \gamma_{vs,i}^2\,\sigma_s^2} \times 100

Macro vs. Latent Decomposition in Term Structure Models (Ang-Piazzesi 2001)

In an Affine Term Structure Model with observable macro factors XtoX_t^o and latent yield factors XtuX_t^u, the forecast error variance of yield nn at horizon hh decomposes across all factors:

Ωjk,h=i=0h1Ψjk,i2MSE(Y^t+ht)(ATSM-VD)\Omega_{jk,h} = \frac{\sum_{i=0}^{h-1} \Psi_{jk,i}^2}{\mathrm{MSE}(\hat{Y}_{t+h|t})} \tag{ATSM-VD}

where Ψjk,i\Psi_{jk,i} is the (j,k)(j,k) element of the yield-IRF matrix at lag ii and MSE()\mathrm{MSE}(\cdot) is the mean squared error (MSE) (see Appendix C of Ang-Piazzesi). Key empirical findings (US monthly data, 1952–2000):

Yield maturity Macro share (unconditional) Dominant macro factor
1-month 83% Inflation (48.9% at h=1h=1)
12-month 78%\approx 78\% (at h=60h=60) Inflation
60-month 40%\approx 40\% Latent "level" (near unit-root)

Empirical Pattern (Keating 1992)

In the long-run identified model with variables (p,y,r,m)(p, y, r, m):

Why It Matters

Variance decompositions provide a quantitative summary of shock importance that complements the directional information in IRFs. They are the standard diagnostic for questions such as: "How much of the business cycle is driven by monetary policy shocks?" or "Does technology or demand account for most output fluctuations?"

Open Questions

Related