The idea
Key formulas
Bayes' theorem
Loading lessons…
Just a moment, getting everything ready. The first load can take up to a minute.
Probability & statistics
Update a prior belief with evidence while accounting for how common that evidence is.
Among positive results, compare the share who truly have the condition with those who do not.
P(D | +) = P(+ | D)P(D) / P(+)
Bayes' theorem reverses a conditional probability: . Here is a condition and is a positive test result. The prior combines with the test's sensitivity to determine true positives; people without the condition can also test positive.