Understanding how test results affect probability
These sliders control the key components of Bayes' Theorem for this scenario:
Prevalence
term in the formula – the initial
probability of the condition before testing.
Prevalence × Sensitivity
).
(1 – Prevalence) × FalsePositiveRate
).
Adjust them to see how each impacts the final calculated probability below.
Given a positive test result, the probability that the condition is present:
With these parameters, even after a positive test, there's only a 16.1% chance the condition is actually present.
Thomas Bayes, an English statistician and Presbyterian minister, developed the theorem but never published it during his lifetime.
Richard Price, Bayes' friend, found the work after Bayes' death and published "An Essay towards solving a Problem in the Doctrine of Chances."
Pierre-Simon Laplace independently developed and extended the theorem, bringing it into mainstream mathematics.
After being largely overlooked for nearly two centuries, Bayesian methods experienced a resurgence with advances in computing power.
Bayes' theorem is now fundamental in medicine, law, machine learning, and many other fields where updating beliefs based on new evidence is critical.