Robust Bayesian Model Averaging

Statistics
Introduced by
Hoeting, Madigan, Raftery, Volinsky (BMA); robustness extensions by Ley & Steel and others
Year
1999–2012
Type
Bayesian model selection and averaging
Family
Bayesian / computational

What does it do?

Robust Bayesian model averaging extends standard BMA by replacing a fixed-scale conjugate prior on regression coefficients with a mixture prior, such as a mixture of g-priors, so that the prior scale g is not fixed in advance.

This reduces dependence on one fixed value of g (the issue studied by Ley & Steel 2012). Posterior model probabilities still depend on the model-space prior and should be checked for sensitivity. The robustness here concerns prior sensitivity: the core formulation does not specify a robust likelihood, so resistance to outlying observations is not part of the model unless one is added explicitly.

The intuition behind the method

Standard BMA weights each candidate model by its posterior probability and averages the predictions. When every model's coefficient prior uses one fixed scale (the g hyperparameter), the marginal likelihoods can depend strongly on that scale, and as the scale grows, models with real predictors lose support relative to the null model. Robust BMA treats the prior scale as uncertain by placing a hyperprior (a mixture) over it, so the data can inform how spread the coefficient prior should be. The averaged estimate is then less dependent on one arbitrary value of g. It does not remove the dependence on the prior over models.

History

Bayesian model averaging was systematised for regression and prediction by Hoeting, Madigan, Raftery, and Volinsky in their 1999 tutorial in Statistical Science. Fixed-g priors can make model comparison unstable, a known issue in the Bayesian model comparison literature that includes the Bartlett paradox. Mixtures of g-priors address this, and Ley and Steel (2012) study them for Bayesian model averaging with economic applications. The sources reviewed here do not establish who first applied the label 'robust' to this extension.

When to use it

Use robust BMA when you want to average over model uncertainty and the prior scale on the coefficients is hard to justify, or when a fixed-g prior would make variable inclusion conclusions unstable. It suits regression variable selection with many candidate predictors. Key assumptions: a linear regression with Gaussian errors, a g-prior structure for the coefficients conditional on σ², and a model-space prior that you have stated explicitly. Marginal likelihoods are typically closed-form only under this setting. Reading results: posterior inclusion probabilities summarise how much posterior weight lies on models containing a predictor. No universal cut-off exists; if you use a threshold (for example one half), report it and show how conclusions change with it. Do not use it when the candidate set is small and clearly structured, or when the data are clean and the prior scale matters little, since the extra prior layer and model search then add cost without changing the conclusions. If outlying observations are the main concern, a robust likelihood is needed, and this formulation does not provide one.

Limitations and considerations

  • Summing over all 2^p models is infeasible for large p, so Markov chain Monte Carlo model composition (MC3) or another stochastic search is needed, and the visited models only approximate the full model distribution.
  • Posterior model probabilities depend on the model-space prior, and this dependence matters more as the number of predictors grows relative to the sample size.
  • The averaged estimate is hard to interpret when the highest-probability models include different sets of predictors.
  • The prior on the scale adds hyperparameters and modelling choices that must themselves be justified, and outlier resistance is limited to the coefficient prior unless a robust likelihood is specified.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Averaged estimates and credible intervals combine within-model posteriors using posterior model probabilities, so both parameter uncertainty and model uncertainty are carried into the result.
  • A proper prior over the scale g keeps the marginal likelihoods of non-null models from collapsing onto the null as a fixed g grows without bound; this does not guarantee correct selection.
  • Mixtures of g-priors let the prior scale be informed by the data rather than chosen by hand.
  • Posterior model probabilities and predictor inclusion probabilities give a direct ranking of candidate models and of the predictors they contain.

Applications

  • Variable selection in regression with many candidate predictors where no single model is clearly best.
  • Economic forecasting and growth-type regressions in which predictions are combined across several candidate models.
  • Prediction settings in which the averaged estimate and its intervals are needed, not a single selected model.

How it works

How it works

1

Define the candidate models. In regression this is typically all 2^p subsets of the p predictors. A prior over the model space, such as a uniform, binomial or beta-binomial prior, assigns each model its initial plausibility. State this prior and examine sensitivity to it.

Formula
\mathcal{M} = \{M_1, M_2, \ldots, M_K\}
2

Within each model, use a mixture of g-priors (Ley & Steel 2012): the coefficients are normal with mean zero and covariance g σ² (X'X)⁻¹, and g has a hyperprior p(g) instead of a fixed value. Zellner-Siow-type priors are one member of this family. A common treatment places a noninformative prior on σ² and on the intercept, shared across models. State the exact hyperprior used in the analysis.

Formula
p(\boldsymbol{\beta} \mid g, \sigma^2, M_k) = \mathcal{N}\!\left(\mathbf{0},\, g\,\sigma^2 (\mathbf{X}_k^{\top}\mathbf{X}_k)^{-1}\right), \quad g \sim p(g)
3

Compute the marginal likelihood of each model by integrating out its parameters (including g) under the chosen prior. The posterior model probability is the model's marginal likelihood times its prior, divided by the sum of that product over all models, so each weight reflects fit after accounting for complexity.

Formula
P(M_k \mid \mathbf{y}) = \frac{p(\mathbf{y} \mid M_k)\, p(M_k)}{\sum_{j=1}^{K} p(\mathbf{y} \mid M_j)\, p(M_j)}
4

Form the BMA estimate of a quantity of interest Δ as the weighted average of the within-model posterior means, using posterior model probabilities as weights. Credible intervals come from mixing the within-model posterior distributions with the same weights, which carries both parameter and model uncertainty into the result.

Formula
E[\Delta \mid \mathbf{y}] = \sum_{k=1}^{K} \hat{\Delta}_k\, P(M_k \mid \mathbf{y}), \quad \hat{\Delta}_k = E[\Delta \mid \mathbf{y}, M_k]

Common pitfalls

  • Reporting only the highest-probability model discards the information that model averaging is meant to retain.
  • If posterior model probability is concentrated on one model, BMA effectively reduces to model selection; the spread of posterior model probabilities should be checked and reported.
  • A uniform prior over all 2^p models implies a binomial prior on model size in which each predictor is included with probability one half, so the expected model size is half the number of predictors. This may conflict with a belief that the true model is sparse. A binomial prior with a chosen inclusion probability, or a beta-binomial prior, can encode sparsity; state the model-space prior and test the sensitivity of the results to it.
  • Treating the method as protection against outliers is a mistake when only the coefficient prior has been made heavy-tailed; residuals should be checked separately.
  • Skipping posterior predictive checks after averaging leaves it unclear whether the averaged model reproduces the observed data.

Frequently asked questions

What makes this 'robust' compared to standard BMA?

Standard BMA with a fixed g-prior assigns one specific scale to the coefficient prior, and a poor choice of that scale can dominate the marginal likelihoods and shift posterior model weights unreliably. Robust BMA uses a heavier-tailed prior or a mixture over the scale, so the marginal likelihoods are less sensitive to that single choice. This addresses prior sensitivity; it does not by itself make the likelihood robust to outlying observations.

What is the Bartlett paradox and why does it matter here?

With a fixed g-prior, as the prior variance on the coefficients grows without limit, the marginal likelihood of every non-null model approaches that of the null model, so no predictor can be identified as important. A proper prior over g keeps the marginal likelihoods informative, which avoids this collapse.

How do I handle the 2^p model-space sum in practice?

When the number of predictors is more than a modest number, exact enumeration becomes infeasible. Markov chain Monte Carlo model composition (MC3) moves through the model space at random and visits high-probability models more often, so the visited models approximate the full posterior model distribution.

Should I report BMA estimates or the single best model?

BMA estimates are preferable for prediction and for quantities that combine information across models. If one model receives nearly all posterior model probability, reporting that model is reasonable, but the posterior model probabilities should still be checked and reported.

Does robust BMA work with non-linear or non-Gaussian models?

The averaging principle extends to other model classes, but closed-form marginal likelihoods are generally unavailable outside the linear Gaussian case. Laplace approximations or thermodynamic integration are then needed, which increases computational cost.

Related methods

Sources

  1. Hoeting, J. A., Madigan, D., Raftery, A. E., & Volinsky, C. T. (1999). Bayesian model averaging: A tutorial. Statistical Science, 14(4), 382–401.

    Open publication reference
  2. Ley, E., & Steel, M. F. J. (2012). Mixtures of g-priors for Bayesian model averaging with economic applications. Journal of Econometrics, 171(2), 251–266.

    Open publication reference