Bayes' Theorem With Frequency Tables
Reverse conditional probabilities using a frequency table. Apply Bayes' theorem when the conditioning event has positive probability.
7 min · Counting and probability · Advanced
Learning goals
- Reverse conditional probabilities using a frequency table.
- Apply Bayes' theorem when the conditioning event has positive probability.
Understand the concept
Conditional probability P(A given B) equals P(A and B)/P(B) when P(B) > 0. Bayes' theorem rewrites this as P(B given A)P(A)/P(B), allowing information about one direction of conditioning to answer the reverse question.
For a partition into A and not A, P(B) = P(B given A)P(A) + P(B given not A)P(not A). A table of hypothetical counts can make the denominator clear and avoid confusing the two conditional probabilities.
Of 100 students, 40 take art; 10 of those and 15 of the other 60 take music. Among 25 music students, 10 take art, so P(art given music) = 10/25 = 0.4.
A factory has two lines: 80 items from A with 4 defective, and 20 from B with 2 defective. Given a defective item, P(B given defective) = 2/6 = 1/3.
Check your understanding
UNVRST English edition · Educational support · Editorial policy