Bayes Theorem
Bayes theorem is a rule for reversing conditional probabilities. It tells us how to compute the probability of a hypothesis after observing evidence.
Let be a hypothesis and let be an observed event. The conditional probability of given is
The terms in the formula have standard names:
The prior is the probability of before seeing .
BAYES THEOREM
Let and be events with and . Then
The proof is only the definition of conditional probability used twice. Since
we get
Substitution into the first identity gives