Bayes' theorem

Also known as: Bayes theorem, Bayes' rule, Bayesian update

Bayes’ theorem reverses conditional probability:

\[P(E\mid F)=\frac{P(F\mid E)P(E)}{P(F)}.\]

In words: posterior $\propto$ likelihood $\times$ prior. Compute $P(F)$ with the law of total probability.

Diagnostic template: prevalence $P(D)$, sensitivity $P(T\mid D)$, specificity $P(T’\mid D’)$; target $P(D\mid T)$. Do not confuse $P(T\mid D)$ with $P(D\mid T)$.

← Back to CS Glossary