Concept Architecture
Concept
Theoretically, Bayes' Theorem is a fundamental theorem of probability that describes how the probability of an event is updated when new evidence becomes available. It provides the mathematical foundation for Bayesian inference by combining prior knowledge with observed data to produce an updated posterior probability. The theorem exists to support rational probabilistic decision-making under uncertainty and is widely applied throughout epidemiology, diagnostic testing, health technology assessment and health economic modelling.
Mathematically, Bayes' Theorem expresses the conditional probability of an event as the product of the likelihood of the observed evidence given the event and the prior probability of the event, divided by the overall probability of the observed evidence. The resulting posterior probability represents the updated belief after incorporating new information and forms the basis of Bayesian statistical methods.
In practice, Bayes' Theorem is implemented by combining prior distributions with observed evidence to estimate posterior probabilities using analytical or computational methods such as Markov chain Monte Carlo simulation. In health economics it is applied in Bayesian evidence synthesis, probabilistic decision models, diagnostic evaluation, value of information analysis and network meta-analysis.
Purpose
Used to update probabilities using new evidence, support Bayesian statistical inference, estimate posterior probabilities, synthesise evidence and improve decision-making under uncertainty in health economics.
Mathematical Formulae
Primary Formula
P(A�B) = [P(B�A) ? P(A)] / P(B)
where:
- P(A�B) = posterior probability
- P(B�A) = likelihood
- P(A) = prior probability
- P(B) = marginal probability of the evidence
Supporting Formulae
P(B) = P(B�A) ? P(A) + P(B�A?) ? P(A?)
Posterior Odds = Prior Odds ? Likelihood Ratio
Prior Odds = P(A) / (1 ? P(A))
Posterior Odds = P(A�B) / (1 ? P(A�B))
Likelihood Ratio = P(B�A) / P(B�A?)
Related Mathematical Methods
- Bayesian Inference
- Bayesian Updating
- Posterior Probability
- Prior Probability
- Prior Odds
- Posterior Odds
- Likelihood Ratio
- Markov Chain Monte Carlo
- Bayesian Network Meta-Analysis
- Bayesian Decision Analysis
Example
A diagnostic test is used for a disease with a prevalence of 5%. The test has a sensitivity of 95% and a specificity of 90%.
Prior probability:
P(Disease) = 0.05
Likelihood:
P(Test+�Disease) = 0.95
Marginal probability of a positive test:
P(Test+) = (0.95 ? 0.05) + (0.10 ? 0.95) = 0.1425
Posterior probability:
P(Disease�Test+) = (0.95 ? 0.05) / 0.1425 = 0.333
Following a positive test result, the probability that the patient has the disease is approximately 33.3%.
Excel Implementation
| Function | Example Formula | Health Economics Application |
|---|---|---|
| Multiplication | =B2*C2 | Calculates the numerator of Bayes' Theorem. |
| Division | =(B2*C2)/D2 | Calculates the posterior probability. |
| IF | =IF(E2>0.5,"Treat","Monitor") | Supports decision-making using posterior probabilities. |
| LOG | =LN(B2/C2) | Calculates log-likelihood ratios for Bayesian analyses. |
VBA (Optional)
A VBA macro can automate Bayesian updating for multiple diagnostic tests or probabilistic model iterations and generate posterior probability summaries.
Sources
- Bayes T. An Essay towards Solving a Problem in the Doctrine of Chances. 1763.
- Gelman A, Carlin JB, Stern HS, et al. Bayesian Data Analysis. 4th ed.
- Spiegelhalter DJ, Abrams KR, Myles JP. Bayesian Approaches to Clinical Trials and Health-Care Evaluation.
- Briggs A, Claxton K, Sculpher M. Decision Modelling for Health Economic Evaluation.
- ISPOR-SMDM Modeling Good Research Practices Task Force Reports.
Related Concepts (3)
Library
Publications
2
Statistical Analysis of Cost-Effectiveness Data — Willan & Briggs, 1st Edition ed., 2006 (John Wiley & Sons)
A synthesis of statistical methods for analysing cost-effectiveness data, including net-benefit regression, confidence intervals for the ICER, cost-effectiveness acceptability curves, and covariate adjustment. Part of the Wiley Statistics in Practice series.
BookView source →Bayesian Theory — José M. Bernardo & Adrian F. M. Smith, 1st Edition ed., 1994 (John Wiley & Sons)
A comprehensive theoretical account of Bayesian inference, prior and posterior distributions, probability, information and statistical decision theory.
BookView source →
Frequently Asked Questions (6)
What is Bayes' theorem?
A mathematical formula describing how to update the probability of a hypothesis based on new evidence, combining a prior probability with a likelihood.
Source: Bayes 1763
How does Bayes' theorem update a belief with new evidence?
Bayes' theorem is a formula for revising the probability of a hypothesis in the light of new evidence, combining a prior probability, what was believed beforehand, with the likelihood of the evidence under that hypothesis. It updates belief by weighting the prior against how well the hypothesis explains the new data, producing a posterior probability that reflects both. In medicine this describes how a test result should shift the estimated chance a patient has a disease, given how common it is. Turning prior belief plus evidence into a revised estimate is its function. Bayes' theorem underlies Bayesian statistics, as Sutton and Abrams (2001) discuss.
Source: Sutton & Abrams 2001
How does Bayes' theorem work?
Bayes' theorem works by combining the prior probability of a hypothesis with the likelihood of the observed evidence under that hypothesis, and normalising, to produce the posterior probability of the hypothesis given the evidence. In effect, the posterior is proportional to the prior multiplied by the likelihood. Stronger evidence, or a more informative likelihood, shifts the posterior further from the prior. So Bayes' theorem works by multiplying prior belief by the evidence's likelihood to update to a posterior belief, quantifying exactly how much a given piece of evidence should change the probability assigned to a hypothesis, which is the mechanism of Bayesian updating.
Source: Bayes 1763
Why is Bayes' theorem important?
Bayes' theorem is important because it provides the principled rule for updating beliefs with evidence, underpinning Bayesian statistics and inference, and it clarifies reasoning about conditional probabilities, such as interpreting diagnostic test results, where the probability of disease given a positive test depends on the prior probability. It corrects intuitions that neglect base rates. So Bayes' theorem matters as the foundation of Bayesian methods and as a guide to sound probabilistic reasoning, since it shows how evidence should be combined with prior knowledge, which is central in statistics, diagnosis, and decision-making, and helps avoid errors that arise from ignoring prior probabilities.
Source: Bayes 1763
How is Bayes' theorem applied in health and statistics?
Bayes' theorem is applied in interpreting diagnostic tests, where it combines the prior probability of disease with the test's performance to give the probability of disease given the result; in Bayesian statistics, where it updates prior distributions of parameters into posteriors using data; and in decision analysis and evidence synthesis. So Bayes' theorem is applied wherever beliefs or probabilities must be updated with evidence, from clinical diagnosis to statistical modelling, providing the formal basis for combining prior information with new data, which makes it fundamental to Bayesian approaches in health research and to the correct interpretation of tests and probabilities in medicine.
Source: Bayes 1763
What is the role of prior and posterior in Bayes' theorem?
In Bayes' theorem, the prior is the probability assigned to a hypothesis before observing the new evidence, representing existing belief or knowledge, and the posterior is the updated probability after incorporating the evidence, obtained by combining the prior with the likelihood. The prior is the starting point and the posterior the result of updating. So the prior and posterior are the before and after of Bayesian updating, with the theorem specifying how the evidence transforms one into the other, and the choice of prior influences the posterior, especially when the evidence is limited, which is why the selection of the prior matters in Bayesian analysis.
Source: Bayes 1763
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 9 Dec 2025
Content version: 1.0.0
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/bayes-theorem
- Term code
- HE-ES-RM-008
Stable URI · Machine-readable · Resolvable · CC BY 4.0