Probability and EstimationPart 2 of 5Introductory · Updated July 31, 2026
Bayes' Rule and Competing Hypotheses
When several causes explain an observation, the data alone cannot choose between them, as What Is an Inverse Problem? shows. Bayes’ rule combines prior belief with the evidence from an observation and returns a probability for each candidate explanation.
A forward model, inverted
The core idea is to build a model that predicts data from causes, which is usually tractable, and let Bayes’ rule invert it. For a hypothesis and observed data :
- , the prior: belief in before seeing the data.
- , the likelihood: the probability of the observed data if were true. This is a forward-model quantity, and the only term that involves the data.
- , the evidence: the probability of the data averaged over all hypotheses considered.
- , the posterior: belief in after seeing the data.
The evidence normalises, so only relative likelihoods matter
Over a set of hypotheses the evidence is the sum of the numerators:
It carries no information about any single hypothesis; it only makes the posteriors sum to one. The posterior therefore depends on how the numerators compare with each other, not on their absolute size. A hypothesis with a high likelihood loses to a rival with a higher one, and a hypothesis with a low likelihood wins if every rival is lower. Bayes’ rule ranks explanations against the alternatives supplied; it does not measure how well any of them fits in absolute terms.
The hypothesis set must include “none of the above”
Because the posteriors sum to one over the hypotheses supplied, the set must contain the true explanation. If it does not, all the probability is distributed over incorrect answers and the least poor one is reported with a high probability.
This case is common in practice. Suppose the grass is wet and the candidate causes are rain (), the sprinkler () and a burst pipe (). The true cause may be one nobody listed: a neighbour’s hose, a spilled bucket, heavy dew. A method that considers only the three listed causes cannot be correct in those cases, and the posterior of the best remaining candidate is inflated by the absence of the true one.
The remedy is a hypothesis , “none of the above”, with non-zero prior mass :
A simple choice of prior places on and spreads the remaining uniformly over the candidates.
Worked example: three weak candidates
Take the three causes above with , so each has prior . Suppose only a narrow strip of the lawn is wet, which none of them explains well: rain would have wetted everything, the sprinkler covers a circle, and the pipe runs elsewhere. Their likelihoods are , and . The “none of these” hypothesis receives likelihood , representing an unlisted cause as a moderate explanation.
Likewise , and , the largest of the four. Without , rain rises to on the same evidence, and is reported as the leading candidate only because the alternative was removed. Figure 1 shows both cases.
In Figure 2 the “none of these” likelihood is fixed at . Lowering all three candidate likelihoods together shifts the mass to . Scaling them by a common factor leaves the ratios among , and unchanged; only their total against moves.
Assumptions and limitations
- The posterior is only as good as the likelihood model and the prior; Bayes’ rule propagates their errors without detecting them.
- Adding closes the set but does not identify which unobserved cause was responsible. It prevents the method from attributing the observation to an observed but incorrect candidate, and a result of “no match” can be filtered on downstream, whereas a confident wrong attribution cannot.
- A single observation often leaves the posterior spread across several candidates with similar likelihoods. Later observations carry partly independent evidence, and using one frame’s posterior as the next frame’s prior lets weak evidence accumulate, at the cost that one misleading frame affects all later ones. Managing that over many measurements and targets is probabilistic data association.
Summary
- The posterior is proportional to likelihood times prior; the evidence only normalises.
- Posteriors rank hypotheses relative to each other, not against an absolute standard.
- An explicit no-match hypothesis prevents the mass from concentrating on the least poor of a set of incorrect candidates.
The next tutorial, Monte Carlo simulation, estimates integrals such as the evidence when they have no closed form.
References
- Bayes, T., & Price, R. (1763). An essay towards solving a problem in the doctrine of chances. Philosophical Transactions of the Royal Society of London, 53, 370–418. doi:10.1098/rstl.1763.0053
- Jaynes, E. T. (2003). Probability Theory: The Logic of Science. Cambridge University Press. doi:10.1017/CBO9780511790423
- Gelman, A., Carlin, J. B., Stern, H. S., Dunson, D. B., Vehtari, A., & Rubin, D. B. (2013). Bayesian Data Analysis (3rd ed.). CRC Press. doi:10.1201/b16018
- Pearl, J. (1988). Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann. doi:10.1016/C2009-0-27609-4