Two-Way Table Conditional Probability
Enter counts into any 2×2 contingency table to compute marginal, joint, conditional P(A | B) vs. P(B | A), and union P(A or B) probabilities—and test whether events A and B are statistically independent.
| Category | Event B (Yes) | Not B (No) | Row Total |
|---|---|---|---|
| Event A (Yes) | 60 | ||
| Not A (No) | 140 | ||
| Column Total | 90 | 110 | 200 |
P(A | B) = Count(A and B) / Total in B | P(A or B) = P(A) + P(B) - P(A and B)
Study Guide: Decoding SAT & AP Stats Two-Way Table Wording
Over 80% of mistakes on two-way table questions come from choosing the wrong denominator. Every probability word problem signals its exact denominator through specific trigger phrases:
| Probability Type | Trigger Phrases in Question | Numerator | Denominator |
|---|---|---|---|
Marginal P(A) |
“Selected at random from all participants, what is the probability they are in A?” | Row A Total | Grand Total |
Joint P(A and B) |
“What is the probability a randomly chosen student is BOTH A and B?” | Intersection cell (A ∩ B) | Grand Total |
Conditional P(A | B) |
“If a student is in B…”, “Given that…”, “Of those who are in B…” | Intersection cell (A ∩ B) | Group B Total ONLY |
Union P(A or B) |
“What is the probability a participant is in A or B (or both)?” | Total A + Total B − (A ∩ B) | Grand Total |
Worked Digital SAT Example
Problem: A survey of 200 high school seniors found 60 take AP Calculus (36 of whom also play a varsity sport, and 24 who do not). Among the 140 seniors not taking AP Calculus, 54 play a varsity sport and 86 do not.
(a) If one varsity athlete is selected at random, what is the probability they take AP Calculus? → Denominator is all varsity athletes = 36 + 54 = 90. Numerator = 36. So P(Calc | Sport) = 36 / 90 = 2/5 = 0.40.
(b) If one AP Calculus student is selected at random, what is the probability they play a varsity sport? → Denominator is all AP Calculus students = 60. Numerator = 36. So P(Sport | Calc) = 36 / 60 = 3/5 = 0.60.
(c) Are taking AP Calculus and playing a varsity sport independent here? → Overall P(Calc) = 60/200 = 30%, whereas P(Calc | Sport) = 40%. Because P(Calc | Sport) ≠ P(Calc), they are not independent (there is a positive association).
P(A or B), never just add Row A Total + Column B Total! Doing so double-counts the intersection cell (A and B). Always subtract the overlap once, or simply add the three non-overlapping cells that satisfy A, B, or both.
Frequently Asked Questions
Why are P(A | B) and P(B | A) usually different numbers?
They share the exact same numerator (Count(A and B)), but P(A | B) divides by Total B while P(B | A) divides by Total A. They are equal only when Total A and Total B happen to be identical.
How do I prove two categorical variables are independent from a two-way table?
Check any one of three equivalent rules: (1) P(A | B) = P(A), (2) P(B | A) = P(B), or (3) P(A and B) = P(A) × P(B). If it holds exactly, the two events are independent.
What does “mutually exclusive” look like in a two-way table?
Mutually exclusive (disjoint) events cannot occur simultaneously, so their intersection cell Count(A and B) equals 0. Note that two non-empty mutually exclusive events are never independent—knowing B happened forces P(A | B) to drop to 0.