Definition
The Sims-Zha prior is a conjugate Gaussian prior over the structural VAR parameters, proposed in Sims and Zha (1997). It extends Litterman's (1986) Minnesota Prior to identified (structural) VARs, adds a cointegration/unit-root component via dummy observations, and is designed to prevent overfitting in large VARs without truncating lag length.
Key Ideas
- Two components: (1) a Gaussian coefficient prior encoding the random walk belief, (2) a dummy-observation component encoding unit-root and cointegration beliefs.
- Five shrinkage hyperparameters (λ0–λ4) and two cointegration hyperparameters (μ5, μ6), all set before estimation.
- Applies to both reduced-form and identified structural VARs.
- The resulting prior has a closed-form Gaussian pdf, enabling efficient Gibbs sampling and marginal data density (MDD) computation.
How It Works
Structural VAR Notation (Sims-Zha 1998)
Write the model as A(L)y(t)+C=ε(t), or in matrix form stacking T observations:
YA0−XA+=E(eq. 4)
where Y is T×m, A0 is m×m (contemporaneous), X is T×k, A+ is k×m (lag coefficients; k=mp+1), and each column of E is i.i.d. N(0,I). Defining Z=[Y−X] and A=[A0′;A+′]′:
L(Y∣A)∝∣A0∣Texp[−21tr(ZA)′(ZA)]=∣A0∣Texp[−21a′(I⊗Z′Z)a](eq. 6)
The prior takes the form:
π(a)=π0(a0)ϕ(a+−μ(a0);H(a0))(eq. 7)
where π0 is the marginal prior on a0, μ(a0) centers a+ conditional on A0, and H(a0) is the lag-coefficient prior covariance. The resulting posterior is:
q(a)∝π0(a0)∣A0∣T∣H(a0)∣−1/2exp[−21(⋯quadratic in a+⋯)](eq. 8)
Conditional posterior q(a+∣a0) is Gaussian (eq. 9):
a+∗=(I⊗X′X+H(a0)−1)−1[(I⊗X′Y)a0+H(a0)−1μ(a0)]
Marginal posterior q(a0) integrates out a+ analytically (eq. 10), leaving a determinantal and quadratic form in a0 that can be evaluated equation-by-equation.
Kronecker Symmetry and Computational Speedup (eq. 12)
The bottleneck in evaluating q(a0) is inverting or decomposing (I⊗X′X)+H(a0)−1, which is (mk)×(mk). For m=20 variables and p=6 lags (k=121), this is a 2420×2420 problem — roughly 24203≈1010 operations.
Preserving Kronecker product structure requires:
H(a0)=B⊗G,B=cIm(eq. 12)
With equation-specific prior covariances Gi (eq. 13) this becomes diag(G1,…,Gm), and the combined term reduces to:
(I⊗X′X)+diag(G1−1,…,Gm−1)=diag(G1−1+X′X,…,Gm−1+X′X)
Each block is k×k and can be decomposed independently. For m=20, k=121: twenty 1213≈1.77×106 operations versus one 24203≈1.42×1010 — a ~400× speedup in cubic-order computation. This is the central practical contribution of SZ98.
Random Walk Prior (Section 4.1)
The prior mean for lag coefficients encodes the random walk belief: E[A+∣A0]=[A0;0;…;0] (eq. 16), i.e., the reduced-form companion matrix B1=A0−1A1≈Im and higher lags shrink toward zero. The conditional standard deviation on lag ℓ of variable j in equation i is:
σjℓλ3λ0λ1(eq. 17)
where σj is the residual std. dev. from a univariate AR fit to series j. Key differences from Litterman (1986b): the scale factor is σj alone (not the σi/σj ratio of Litterman), and there is no separate own/other distinction in eq. 17 — cross-equation tightness enters through λ2 in the full hyperparameter set (λ0,λ1,λ2,λ3,λ4).
Component 1 — Coefficient Prior
Write the structural VAR in compact form:
yt′A0=xt′F+εt′,xt=[yt−1′,…,yt−p′,zt′]′
For j=1,…,n, let aj be the jth column of A0 (contemporaneous) and fj the jth column of F (lag coefficients + deterministic). The prior is:
aj∼N(0,S)
fj∣aj∼N(Paj,Hj)
where P=[In,0,…,0]n×k encodes the random walk belief: fj's first n components (the lag-1 coefficients) are centered at aj, i.e., A1≈A0, or equivalently B1=A0−1A1≈In.
Hyperparameter roles:
| Symbol |
Controls |
| λ0 |
Overall scale of S and H; global tightness |
| λ1 |
Tightness of random-walk belief on lagged coefficients |
| λ2 |
Cross-variable influence (i=j shrunk relative to own lags) |
| λ3 |
Lag-decay rate: coefficient on lag ℓ shrunk by ℓ−λ3 |
| λ4 |
Tightness of prior on constant toward zero |
The ith diagonal element of S is:
Sii=σiλ0
where σi is the residual standard deviation from a univariate AR fit to series i (Litterman's scale normalization). The diagonal element of Hj for the coefficient on lag ℓ of variable i in equation j reflects λ0, λ1, λ2, and the lag decay λ3.
Typical hyperparameter values:
| Frequency |
λ0 |
λ1 |
λ2–λ4 |
μ5, μ6 |
| Quarterly |
1.0 |
0.2 |
1.0 |
1.0 |
| Monthly |
0.6 |
0.1 |
1.0, -, 0.1 |
5.0 |
Explicit Standard Deviation Formulas (Minnesota Parametrization)
Meseguer (2010) states the prior standard deviations explicitly in the Minnesota parametrization. For equation j, the prior standard deviation on the coefficient of lag p of variable i is:
Own lags (i=j):
σijp=pλ3λ1
Cross lags (i=j):
σijp=pλ3λ1λ2(i,j)⋅sjsi
Intercepts / deterministic components:
σi=λ4si
where si is the residual standard deviation from a univariate AR fit to series i (Litterman's scale normalization). The ratio si/sj rescales cross-lag coefficients for the difference in units between series i and j.
Correlation-adaptive λ2 (Meseguer 2010). Rather than setting λ2 to a single scalar, Meseguer makes it a function of the empirical correlation between the two series:
λ2(i,j)=0.8×Corr[Δlogyi,Δlogyj]
This is particularly effective in demographic applications where adjacent age groups have very high pairwise correlations — it automatically allows strong cross-age shrinkage where the data support it and enforces tighter shrinkage where they do not. The factor 0.8 caps the effective cross-variable weight below 1 even for perfectly correlated series, preserving some shrinkage.
Component 2 — Unit-Root / Cointegration Prior (Dummy Observations)
Adds n+1 dummy observations to the system, expressed as:
YdA0=XdF+E
where Yd and Xd are constructed from pre-sample means yˉ0,i (sample average of the p initial conditions for variable i) and hyperparameters μ5, μ6. The first n dummies express the belief that variables are stationary around their pre-sample means or that cointegration holds. The (n+1)th dummy expresses the belief that the system's intercept is zero relative to the pre-sample level.
Larger values of μ5 and μ6 strengthen these beliefs. The dummy observations can be incorporated by augmenting the data matrix, so no change in the likelihood calculation is needed.
Dummy Observation Taxonomy (Sims-Zha 1998, Tables 1–3)
All three dummy types are implemented by augmenting [Y,X] with artificial rows, so no modification of the estimation code is needed. Let yˉ0i denote the pre-sample mean of variable i and σr the univariate-AR residual std. dev. for variable r.
Table 1 — Equation-specific dummies (one block of k−1 dummies per equation, hyperparameters μ0–μ4):
- Artificial observation (r,j) sets yi(r,j)=μ0μ1μ2δ(i,j)σr/ℓμ3 and the corresponding lag blocks in x to the same value.
- These are not symmetric across equations — each equation gets its own block — which is the origin of the μ2 cross-equation scaling.
Table 2 — Sums-of-coefficients (m system-wide dummies, hyperparameter μ5):
- Artificial y(i,j)=μ5yˉ0i for i=j, 0 otherwise; artificial x set similarly.
- As μ5→∞: forces the sum of each variable's own lag coefficients to 1 and all cross-variable lag sums to 0, effectively differencing all data and eliminating cointegration.
Table 3 — Dummy initial observation (one system-wide dummy, hyperparameter μ6):
- A single observation with y(i,j)=μ6yˉ0i/m for all i,j and x set similarly.
- As μ6→∞: imposes (I−B(1))yˉ0+A0−1C=0, the condition for the pre-sample mean to be a steady state — compatible with both unit roots and cointegration simultaneously.
The two cointegration hyperparameters μ5 and μ6 are independent and can be tuned separately: large μ5 alone aggressively differences the data; large μ6 alone allows cointegrated behavior around the pre-sample mean.
Prior on A0 (Section 4.3)
For structural identification, A0 is not triangular in general. The prior on A0 encodes identifying restrictions (zero entries forced to zero, non-zero entries given informative priors). Under a triangular normalization within blocks of equations:
- The reduced-form corresponds to A0 lower-triangular, in which case the prior on A0 is equivalent to a prior on Σ−1 (the inverse error covariance).
- The Wishart form is ∣Σ−1∣(ν−m−1)/2exp[−21tr(SΣ−1)] (eq. 24).
- The change-of-variable Jacobian from Σ−1 to A0 is ∣∂Σ−1/∂A0∣=2m∏jajjj (eq. 25), which must be included when working in A0 coordinates.
A+∣A0 vs. B∣A0 Prior: Empirical Comparison (Section 5)
SZ98 demonstrate the two approaches on a 6-variable US quarterly model (interest rate R, M1, output y, price level P, unemployment U, investment I; 1948:1–1982:4, p=6):
| Approach |
Prior on |
Mode computation |
MCMC draws |
Posterior quality |
| A+∥A0 (structural) |
Lag coefficients given A0 |
No mode needed |
31 sec/1,000 |
68% bands cover data (Fig. 2) |
| B∥A0 (reduced-form) |
Reduced form B given A0 |
2.8 hours |
16 min/1,000 |
Unemployment bands miss data; inflation badly overpredicted (Fig. 3) |
The B∣A0 prior (eq. 26: H(a0)=(A0⊗I)diag({Gi})(A0⊗I)′) loses the Kronecker symmetry and implicitly imposes cross-equation restrictions that are not economically motivated. The A+∣A0 approach exploits the block-diagonal decomposition and produces well-calibrated posteriors with dramatically lower computational cost.
Combined Prior
With both components, the overall prior retains the Gaussian form (Zha 2005, result (7)):
aj∼N(0,Sˉ),fj∣aj∼N(Paj,Hˉj)
where Hˉj−1=Hj−1+Xd′Xd (the dummy observations tighten the prior on F). This closed-form structure is critical for enabling the Chib (1995) MDD algorithm via Gibbs sampling.
Canonical Application: 6-Variable Monthly Model
The standard policy application (Zha 1997/1998) uses: consumer price index (CPI), commodity prices (International Monetary Fund (IMF) index), federal funds rate, real gross domestic product (GDP) (Leeper-Sims-Zha monthly interpolation), M2, unemployment. Data begin 1959:1; lag length = 13 months. The Bayesian priors resolve three ordinary least squares (OLS) failure modes: (1) in-sample overfitting with near-perfect fit but poor out-of-sample performance; (2) erratic large coefficients from low degrees of freedom; (3) resulting explosiveness at long horizons. Regime-shift robustness: dropping the pre-1983 Volcker data worsens out-of-sample inflation forecasting, implying the prior successfully extracts information from that structural episode without being overwhelmed by it.
Why It Matters
- Prevents overfitting in large VARs (up to 18 variables demonstrated in Leeper-Sims-Zha 1996) without sacrificing lag length.
- Improves out-of-sample forecasting and produces robust impulse responses across identification schemes.
- The closed-form Gaussian structure is the prerequisite for efficient Marginal Data Density computation.
Contrast with Noninformative Priors
The Sims-Zha prior is an informative prior — it encodes substantive economic beliefs (random walk, cointegration) via carefully chosen hyperparameters. An alternative approach uses noninformative priors that encode as little prior information as possible. The most common noninformative choice is the constant-Jeffreys prior: flat on Φ, Jeffreys (∝∣Σ∣−(p+1)/2) on Σ. Sun and Ni (2005) show this prior systematically over-estimates Σ variances by a factor of p/(T−(L+1)p−1), which is substantial in typical macro VAR settings. The Yang-Berger (1994) reference prior πR(Σ)∝∣Σ∣−1∏i<j(di−dj)−1 corrects this bias while remaining noninformative. See Noninformative Prior for VAR.
Open Questions
- Hyperparameters are typically fixed by convention rather than estimated; hierarchical estimation is possible but rarely done in practice.
- The prior may not be appropriate when structural breaks or nonlinearities are present — see Markov-Switching VAR.
- Neither component addresses the unconditional mean (steady state) of the process. In standard form μ=Π−1(1)Fc, the implied prior on μ is a complex non-linear function of Π1,…,Πk and is highly diffuse even when the coefficient prior is tight. Villani (2008) fills this gap via the Steady State VAR reparametrization.
Related