Kadiyala-Karlsson (1997) Numerical Methods for Estimation and Inference in Bayesian VAR-Models

bayesianvargibbs-samplerimportance-samplingnumerical-methodsprior-comparisonmcmcrne

Summary

Extends the five-prior forecasting comparison of Kadiyala-Karlsson (1993) by providing systematic numerical methods — importance sampling (IS) and Gibbs sampling — for evaluating the Normal-Diffuse and Extended Natural Conjugate (ENC) posteriors that lack closed-form solutions. The paper's decisive finding is that importance sampling becomes infeasible in large vector autoregression (VAR) models: for the 7-variable system, condition (15) fails catastrophically (Tmk<159T - mk < -159), driving the relative numerical efficiency of IS toward zero, while Gibbs sampling achieves RNE ≈ 1 at the cost of O((mk)3)O((mk)^3) per step. Practical recommendation: Normal-Wishart for standard applications; Normal-Diffuse or ENC when computation is unconstrained.

Key Claims

Methods Compared

Four simulation approaches are evaluated across 3- and 7-variable Canadian macro VARs:

Normal-Diffuse 2-Block Gibbs Sampler

The prior γN(γ~,Σ~)\gamma \sim N(\tilde\gamma, \tilde\Sigma), p(Ψ)Ψ(q+1)/2p(\Psi) \propto |\Psi|^{-(q+1)/2} yields two conjugate conditionals:

Block 1 — γΨ,Y\gamma \mid \Psi, Y: γΨ,YN ⁣(γˉ,  (Σ~1+Ψ1ZZ)1)\gamma|\Psi, Y \sim N\!\left(\bar\gamma,\; (\tilde\Sigma^{-1} + \Psi^{-1} \otimes Z'Z)^{-1}\right) γˉ=(Σ~1+Ψ1ZZ)1 ⁣(Σ~1γ~+(Ψ1Z)y)\bar\gamma = (\tilde\Sigma^{-1} + \Psi^{-1} \otimes Z'Z)^{-1}\!\left(\tilde\Sigma^{-1}\tilde\gamma + (\Psi^{-1} \otimes Z')y\right)

Block 2 — Ψ1γ,Y\Psi^{-1} \mid \gamma, Y: Ψ1γ,YW ⁣(S(Φ)1,  T),S(Φ)=(YZΦ)(YZΦ)\Psi^{-1}|\gamma, Y \sim W\!\left(S(\Phi)^{-1},\; T\right), \quad S(\Phi) = (Y - Z\Phi)'(Y - Z\Phi)

Dominant cost: Cholesky of the mk×mkmk \times mk precision matrix in Block 1, giving O((mk)3)O((mk)^3) per step.

ENC Equation-by-Equation Gibbs Sampler

Under the Drèze-Morales (1976) ENC reparametrization, the full conditional of each equation's coefficients γi\gamma_i given all others γi\gamma_{\neq i} is a multivariate tt by Drèze-Richard (1983) Lemma 6.4: γiγi,Ytk ⁣(di,  qiiT+αkPii1,  T+αk)\gamma_i | \gamma_{\neq i}, Y \sim t_k\!\left(\mathbf{d}_i,\; \frac{q_{ii}}{T+\alpha-k}\,\mathbf{P}_{ii}^{-1},\; T+\alpha-k\right) One cycle over all mm equations costs O(m(mk)2)O(m(mk)^2).

Relative Numerical Efficiency (RNE)

RNE(M)=Varp[g(θ)]σg,M2\text{RNE}(M) = \frac{\text{Var}_p[g(\theta)]}{\sigma^2_{g,M}} Measures how many direct draws method MM is equivalent to in terms of estimator variance. Gibbs achieves RNE ≈ 1 in all experiments. IS achieves moderate RNE in the 3-variable model but collapses to RNE ≈ 0 in the 7-variable model when condition (15) — Tmk0T - mk \geq 0 — fails (Tmk=159T - mk = -159 in the reported experiment).

Antithetic Variates (GAIN)

For importance samplers, drawing antithetic pairs z(i)=z(i)z^{*(i)} = -z^{(i)} (sign-flipped Normal variate through the mode) reduces variance: GAINVar(gˉ2n)Var(gˉa,n)=11+ρ,ρ=Corr ⁣(g(θ(i)),g(θ(i)))\text{GAIN} \equiv \frac{\text{Var}(\bar g_{2n})}{\text{Var}(\bar g_{a,n})} = \frac{1}{1+\rho}, \quad \rho = \text{Corr}\!\left(g(\theta^{(i)}),\, g(\theta^{*(i)})\right) For near-symmetric posteriors ρ1\rho \approx -1 and GAIN 1\gg 1. See also Geweke (1988).

CPU Scaling

Method Cost per draw/step 7-var / 3-var overhead
Normal-Wishart / Diffuse O(mk)O(mk) ~4×
STFC importance function O((mk)3/2)O((mk)^{3/2}) ~8×
ENC equation Gibbs O(m(mk)2)O(m(mk)^2) ~30×
Normal-Diffuse 2-block Gibbs O((mk)3)O((mk)^3) ~140×

Full comparative experiment required >200 CPU hours (1997 hardware) per prior.

Recommendation

Concepts Introduced or Extended

Entities Mentioned

Quotes

"The results indicate that Gibbs sampling constitutes a feasible approach to Bayesian inference even in relatively large VAR models, while importance sampling fails for our largest model."

My Take

The paper's headline result — IS infeasibility for 7-variable systems — is clearly documented and the condition (15) diagnostic is practically useful. The 2-block Normal-Diffuse Gibbs is elegant (both conditionals are standard distributions) but the O((mk)3)O((mk)^3) cost limits it to small systems. The ENC equation-by-equation Gibbs is computationally smarter (O(m(mk)2)O(m(mk)^2) via the Drèze-Richard lemma) but harder to implement. In retrospect, the paper correctly identified that the Normal-Wishart's closed-form posterior is its decisive advantage: by the 2000s virtually all central bank BVAR work used Normal-Wishart or conjugate priors precisely because the computational cost of richer priors was prohibitive. The CPU comparison table is a vivid reminder that the BVAR literature's practical choices were shaped as much by computational constraints as by prior theory.