Quant Memo
Advanced

Bayesian Model Averaging

Instead of picking one 'winning' model and betting everything on it, blend the predictions of several candidate models together, weighting each by how plausible the data makes it — so a forecast reflects genuine uncertainty about which model is even right.

Prerequisites: Marginal Likelihood and Model Evidence, Bayes Factors

You've fit five plausible factor models for a stock's expected return, and each gives a slightly different answer for next month's forecast. Picking the single best-fitting one and reporting only its forecast throws away a real fact: you're genuinely not certain which of the five is right, and that uncertainty should show up somewhere in the final number. Bayesian model averaging (BMA) is the technique for combining several models into one forecast that honestly reflects not knowing which model is correct — rather than pretending the winner is the truth.

An analogy: polling several analysts instead of trusting the loudest one

Suppose you ask five analysts to independently forecast a stock's next-quarter earnings. Rather than picking whichever analyst has the best track record and using only their number, a smarter approach is a weighted average of all five forecasts, where each analyst's weight reflects how much their track record and reasoning deserve to be trusted given everything you know. An analyst who's been reliably close gets more weight; one who's been erratic gets less, but even the erratic one still contributes something if their reasoning has occasionally been useful. The blended forecast is more robust than betting on any single analyst, because it doesn't collapse to zero the moment your favorite analyst has an off quarter — the weighting adapts continuously as track records update.

The maths, one symbol at a time

Given a set of candidate models M1,,MKM_1, \dots, M_K and data DD, Bayesian model averaging computes a forecast for a new quantity Δ\Delta as:

p(ΔD)=k=1Kp(ΔMk,D)p(MkD)p(\Delta \mid D) = \sum_{k=1}^{K} p(\Delta \mid M_k, D)\, p(M_k \mid D)

In words: take each model's own forecast, p(ΔMk,D)p(\Delta \mid M_k, D), and average them together weighted by p(MkD)p(M_k \mid D) — the posterior probability that model kk is the right one, given the data. Each p(MkD)p(M_k \mid D) is computed from the model's marginal likelihood (see marginal likelihood) combined with a prior probability on the model itself, via Bayes' theorem applied at the level of whole models rather than parameters:

p(MkD)p(DMk)p(Mk)p(M_k \mid D) \propto p(D \mid M_k)\, p(M_k)

A model that explained the data well gets a large weight in the final average; a model that explained it poorly gets a small one, and models can even get weight zero without being formally discarded, just outvoted.

Worked example 1: averaging two return forecasts

Suppose two models for a factor's next-month return: M1M_1 forecasts +2%+2\% with posterior probability p(M1D)=0.7p(M_1 \mid D) = 0.7, and M2M_2 forecasts 1%-1\% with posterior probability p(M2D)=0.3p(M_2 \mid D) = 0.3 (these sum to 1 across the two candidates considered). The BMA forecast is:

0.7×2%+0.3×(1%)=1.4%0.3%=1.1%0.7 \times 2\% + 0.3 \times (-1\%) = 1.4\% - 0.3\% = 1.1\%

The blended forecast, 1.1%1.1\%, sits between the two individual forecasts, pulled toward the more-trusted model but not entirely dismissing the other. If instead you'd simply picked "the best model" (M1, at 70% posterior weight) and used only its +2%+2\%, you'd be implicitly claiming 100% confidence in a model that only actually earned 70% — overstating certainty by exactly the 30% you swept under the rug.

Worked example 2: model-averaged uncertainty is wider, not just a different center

Suppose M1M_1's forecast has its own 90% interval of [1%,5%][-1\%, 5\%] around +2%+2\%, and M2M_2's has [4%,2%][-4\%, 2\%] around 1%-1\%. The BMA distribution isn't a single narrow interval around 1.1%1.1\% — it's a mixture of the two models' distributions, weighted 70/30, and mixtures of different-centered distributions are always at least as wide as either alone, because part of the spread comes from disagreement between models on top of each model's own uncertainty. A risk manager relying on the BMA interval sees a wider, more honest range, reflecting that "I'm not sure which model is right" is itself a source of risk.

Distribution · normal
-2.000.002.00μvalue →
Within ±1σ 68.3%mean μ 0.00std σ 1.00

Picture two of these bell curves at different centers, blended with weights 0.7 and 0.3 — the resulting mixture is the shape BMA produces, wider and possibly bimodal compared to either curve alone.

next-month return M1 (70% weight) M2 (30% weight) BMA mixture
The Bayesian model-averaged forecast blends both models' distributions weighted by posterior model probability, producing a wider (and here, mildly two-humped) combined distribution than either model alone.

What this means in practice

BMA is used when several structurally different models are all defensible and none clearly dominates — competing factor specifications, competing regime models, or competing priors on a signal's decay rate — and picking just one would overstate confidence. It's especially valuable for risk management, where the width added by genuine model disagreement is often the difference between a plausible-looking VaR number and one that misses a real source of uncertainty.

Bayesian model averaging blends forecasts from multiple candidate models, weighting each by its posterior probability given the data, rather than betting everything on a single "winning" model — the result is both a more balanced point forecast and, importantly, a wider, more honest uncertainty band that reflects genuine disagreement between models.

BMA is only as good as the list of candidate models you fed it — if the true best model isn't in your set of M1,,MKM_1,\dots,M_K at all, the averaged forecast will confidently blend among the wrong options and can look precise while being systematically off. Model averaging manages uncertainty among the models you considered; it does nothing to protect against a model you never thought to include. Widening the candidate set, not just trusting the averaging machinery, is the actual defense against this.

Related concepts

Practice in interviews

Further reading

  • Hoeting et al., 'Bayesian Model Averaging: A Tutorial' (1999)
  • Gelman et al., Bayesian Data Analysis, ch. 7
ShareTwitterLinkedIn