Noninformative Prior for VAR

bayesianvarnoninformative-priorshrinkagelinex-lossstudent-tfrequentist-risk

Definition

A noninformative prior for a vector autoregression (VAR) is a prior on the coefficient-covariance pair (Φ,Σ)(\Phi, \Sigma) that encodes minimal subjective information, typically chosen to approximate the Bayesian analog of a frequentist analysis. The two most common choices are the constant-Jeffreys prior (also called the diffuse prior) and the constant-reference prior (Yang-Berger 1994).

Key Ideas

How It Works

Model Setup

The pp-variable VAR with LL lags in compact form is: Y=XΦ+ε,εN(0,ΣIT)(VAR)Y = X\Phi + \varepsilon, \qquad \varepsilon \sim \mathcal{N}(0, \Sigma \otimes I_T) \tag{VAR}

where YY is T×pT \times p, XX is T×(1+Lp)T \times (1 + Lp), and Φ\Phi is (1+Lp)×p(1 + Lp) \times p. The MLE is: Φ^M=(XX)1XY,Σ^M=S(Φ^M)/T,S(Φ)=(YXΦ)(YXΦ)\hat{\Phi}_M = (X'X)^{-1}X'Y, \qquad \hat{\Sigma}_M = S(\hat{\Phi}_M)/T, \quad S(\Phi) = (Y - X\Phi)'(Y - X\Phi)

The Constant-Jeffreys Prior

The standard diffuse (Tiao-Zellner 1964; Geisser 1965) prior is: πJ(Φ,Σ)Σ(p+1)/2(J)\pi_J(\Phi, \Sigma) \propto |\Sigma|^{-(p+1)/2} \tag{J}

This is the Jeffreys prior for Σ\Sigma alone, combined with a flat prior on Φ\Phi. Under this prior:

The posterior mean of σii\sigma_{ii} is sii/(T(L+1)p1)s_{ii}/(T - (L+1)p - 1). Since the unbiased estimator is approximately sii/(TLp1)s_{ii}/(T - Lp - 1), this over-estimates by: Bias factor=pT(L+1)p1×100%(Bias-J)\text{Bias factor} = \frac{p}{T - (L+1)p - 1} \times 100\% \tag{Bias-J}

For L=1,p=5,T=50L=1, p=5, T=50: 13%\approx 13\%. For L=1,p=5,T=150L=1, p=5, T=150: 4%\approx 4\%. For L=1,p=10,T=150L=1, p=10, T=150: 8%\approx 8\%. The bias grows with pp and shrinks with TT.

Direct Monte Carlo (MC) algorithm (Algorithm J): Since the posteriors are conjugate, (Φ,Σ)(\Phi, \Sigma) can be sampled directly — no Markov chain:

  1. Draw ΩWishart(S(Φ^M)1,  TLp1)\Omega \sim \text{Wishart}(S(\hat\Phi_M)^{-1},\; T - Lp - 1); set Σ=Ω1\Sigma = \Omega^{-1}
  2. Draw ϕN(ϕ^M,  Σ(XX)1)\phi \sim \mathcal{N}(\hat\phi_M,\; \Sigma \otimes (X'X)^{-1})

Posterior propriety: The constant-Jeffreys posterior is proper iff T(L+1)p+1T \geq (L+1)p + 1.

The Constant-Reference Prior (Yang-Berger 1994)

Yang and Berger (1994) derive the reference prior for a covariance matrix Σ\Sigma from a normal population: πR(Σ)1Σ1i<jp(didj)(R)\pi_R(\Sigma) \propto \frac{1}{|\Sigma|\displaystyle\prod_{1 \leq i < j \leq p}(d_i - d_j)} \tag{R}

where d1d2dpd_1 \geq d_2 \geq \cdots \geq d_p are the eigenvalues of Σ\Sigma. The joint prior for (Φ,Σ)(\Phi, \Sigma) uses the same constant prior on Φ\Phi: πR(ϕ,Σ)1Σi<j(didj)\pi_R(\phi, \Sigma) \propto \frac{1}{|\Sigma|\displaystyle\prod_{i < j}(d_i - d_j)}

The reference prior is motivated by information-theoretic considerations (maximizing the expected Kullback-Leibler divergence between prior and posterior) and is designed to be minimally informative while remaining proper after conditioning on data.

Under the reference prior:

Posterior propriety: The constant-reference posterior is proper iff T>Lp+1T > Lp + 1 (slightly weaker than the Jeffreys condition).

Hit-and-Run MCMC Algorithm (Algorithm R)

Because π(Σϕ,Y)\pi(\Sigma | \phi, Y) has no standard form, Sun-Ni (2005) sample Σ\Sigma via a hit-and-run Metropolis step in the log-eigenvalue space:

  1. Draw ϕ(k)N(ϕ^M,Σ(k1)(XX)1)\phi^{(k)} \sim \mathcal{N}(\hat\phi_M, \Sigma^{(k-1)} \otimes (X'X)^{-1}); compute Sk=(YXΦ(k))(YXΦ(k))S_k = (Y - X\Phi^{(k)})'(Y - X\Phi^{(k)})
  2. Log-transform: let Σ=log(Σ)\Sigma^* = \log(\Sigma) via eigen-decomposition Σ=ODO\Sigma = OD O', Σ=ODO\Sigma^* = O D^* O' where di=log(di)d^*_i = \log(d_i)
  3. Select a random symmetric p×pp \times p direction matrix VV (elements vij=zij/lmzlm2v_{ij} = z_{ij}/\sqrt{\sum_{l \le m}z_{lm}^2}, zijN(0,1)z_{ij} \sim \mathcal{N}(0,1))
  4. Propose Ψ=Σk1+λV\Psi = \Sigma^*_{k-1} + \lambda V, λN(0,1)\lambda \sim \mathcal{N}(0,1); decompose Ψ=QCQ\Psi = Q C^* Q'
  5. Compute log acceptance ratio αk\alpha_k from the conditional posterior and accept/reject via Metropolis

Acceptance rate is 32%\approx 32\% in practice; the log-transform ensures Σ\Sigma remains positive definite. This algorithm extends the Gibbs sampler of Algorithm J with one non-conjugate block.

Loss Functions and Bayes Estimators

Sun-Ni (2005) consider two loss functions for Σ\Sigma:

Under L1L_1 (entropy loss), the constant-Jeffreys Bayes estimator is the posterior mean — exactly where the over-estimation bias appears. Under L2L_2, the Jeffreys estimator under-estimates, while the reference estimator is again closer to the true value.

Simulation Results

Three Monte Carlo experiments compare the two priors. The PRIAL (Percentage Reduction In Average Loss) of constant-reference vs. constant-Jeffreys under each loss:

pp TT PRIAL1\text{PRIAL}_1 (L1L_1) PRIAL2\text{PRIAL}_2 (L2L_2)
5 150 65.5% 62.6%
5 50 66.3% 56.9%
10 150 71.8% 66.3%

The reference prior advantage grows with pp and persists at small TT. In the 10-variable consumption VAR application, constant-Jeffreys variance estimates are 20%\approx 20\% above MLE; reference prior estimates track MLE for large variances.

Shrinkage Prior for Φ\Phi (Ni-Sun 2005)

Ni and Sun (2005) introduce a shrinkage prior on ϕ=vec(Φ)\phi = \text{vec}(\Phi): πS(ϕ)ϕ(J2),J=p(Lp+1)\pi_S(\phi) \propto \|\phi\|^{-(J-2)}, \quad J = p(Lp+1) This is proper for J > 2 (always satisfied in VAR contexts) and is implemented via a two-level hierarchy: ϕδNJ(0,δIJ),π(δ)1\phi \mid \delta \sim \mathcal{N}_J(0,\, \delta I_J), \qquad \pi(\delta) \propto 1 Integrating over δ\delta recovers πS(ϕ)\pi_S(\phi). The full conditional is inverse-gamma (IG): δϕ,Σ,YIG(J/21,12ϕϕ)\delta \mid \phi, \Sigma, Y \sim \mathrm{IG}(J/2-1,\, \tfrac{1}{2}\phi'\phi). The posterior mean shrinks toward zero: μS=δ(Σ(XX)1+δI)1ϕ^M\mu_S = \delta(\Sigma\otimes(X'X)^{-1}+\delta I)^{-1}\hat\phi_M. Simulation results show this prior dominates all constant priors (Jeffreys, RATS, reference) in frequentist risk; prior choice for Φ\Phi matters more than loss function choice.

Linear-Exponential (LINEX) Loss Function

Varian (1975) proposed the asymmetric linear-exponential (LINEX) loss for scalar estimation: LΦ,2(ϕ^ij,ϕij)=eaij(ϕ^ijϕij)aij(ϕ^ijϕij)1L_{\Phi,2}(\hat\phi_{ij}, \phi_{ij}) = e^{a_{ij}(\hat\phi_{ij}-\phi_{ij})} - a_{ij}(\hat\phi_{ij}-\phi_{ij}) - 1 The Bayes estimator under this loss is: ϕ^ij=1aijlogE{exp(aijϕij)Y}\hat\phi_{ij} = -\frac{1}{a_{ij}} \log E\{\exp(-a_{ij}\phi_{ij}) \mid Y\} Ni and Sun (2005) set aij=4a_{ij} = -4 for non-intercept coefficients: the negative sign means underestimation is penalized more heavily, correcting the downward bias of the posterior mean when eigenvalues approach the unit circle.

Student-t Extension (Ni-Sun 2005)

Replace Gaussian errors with a multivariate Student-t via a scale mixture: εtqtNp(0,qt1Σ),qtGamma(ν/2,ν/2)\varepsilon_t \mid q_t \sim \mathcal{N}_p(0,\, q_t^{-1}\Sigma), \quad q_t \sim \mathrm{Gamma}(\nu/2,\, \nu/2) Conditional on {qt}\{q_t\}, the model is normal; each qtq_t is drawn as an additional Gibbs block. The degrees-of-freedom ν\nu conditional is log-concave when T/2+a1>0T/2 + a - 1 > 0, enabling Gilks-Wild (1992) adaptive rejection sampling.

The Normal-Diffuse Prior (Kadiyala-Karlsson 1993)

The Normal-Diffuse prior combines a Minnesota-style informative prior on the regression coefficients with a diffuse (Jeffreys') prior on Ψ\Psi:

γN(γ~,Σ~),p(Ψ)Ψ(q+1)/2\gamma \sim \mathcal{N}(\tilde\gamma,\, \tilde\Sigma), \qquad p(\Psi) \propto |\Psi|^{-(q+1)/2}

where γ~\tilde\gamma and Σ~\tilde\Sigma encode the Minnesota random-walk belief and lag-decay structure (equation-by-equation), but Ψ\Psi is left unrestricted by the prior. This resolves the Minnesota prior's key flaw — fixing Ψ\Psi as known and diagonal — while retaining the practitioner's ability to specify beliefs about regression coefficients.

The marginal posterior of γ\gamma is the product of the marginal prior N(γ~,Σ~)N(\tilde\gamma, \tilde\Sigma) and a matrix-tt factor from the likelihood — it can be bimodal when the prior mean and the likelihood mode are far apart, and is not available in closed form. Kadiyala and Karlsson (1993) evaluate it by importance sampling with a 2-0 poly-tt density (Drèze 1977) as the importance function.

Empirically, the Normal-Diffuse prior performs best for log gross national product (GNP) in the Canadian small-sample experiment (Exp. 1, 17–26 observations) and best overall in the Canadian large-sample experiment (Exp. 2, 56–75 observations). It is second only to the extended natural conjugate (ENC) prior in the small-sample case, and generally dominates or matches the Minnesota prior.

Why It Matters

Open Questions

Related