Skip to main content
Albero Academy

Conditional Probability & Bayes

Updating probability with information — and Bayes' theorem.

Probability10 min

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

the definition
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

  1. 01Conditional probability P(A|B) is the probability of A given that B occurred.
  2. 02Bayes' theorem updates a prior belief with new evidence.
  3. 03It combines evidence strength with the base rate (prior probability).
  4. 04Ignoring the base rate (a rare condition) leads to badly wrong conclusions.

Finished this chapter?

Mark it complete to track your progress through Statistics.