Conditional probability — P(A | B), "the probability of A given B" — is how probability changes when you learn new information. Bayes' theorem formalises updating a belief with evidence, and underlies everything from spam filters to medical testing.
Conditional probability
P(A | B) = P(A and B) / P(B)Bayes' theorem:P(A | B) = P(B | A) × P(A) / P(B)
Why Bayes surprises people
Key takeaways
- 01Conditional probability P(A|B) is the probability of A given that B occurred.
- 02Bayes' theorem updates a prior belief with new evidence.
- 03It combines evidence strength with the base rate (prior probability).
- 04Ignoring the base rate (a rare condition) leads to badly wrong conclusions.
