11.3 Conditional Probability, Two-Way Tables, and Independence
Key Takeaways
- Two-way frequency tables display bivariate categorical data, distinguishing between joint frequencies (intersections of two categories) and marginal frequencies (row and column category totals).
- Conditional probability P(A|B) computes the probability of event A occurring given that event B has already occurred, restricting the sample space to the subset where condition B holds.
- The mathematical conditional probability formula is P(A|B) = P(A and B) / P(B) = n(A and B) / n(B), valid whenever P(B) > 0.
- Two events A and B are mathematically independent if and only if knowledge of event B does not alter the likelihood of event A: P(A|B) = P(A), P(B|A) = P(B), or P(A and B) = P(A) · P(B).
- Proving whether two real-world events are independent on the Regents exam requires computing exact numerical probabilities and demonstrating mathematical equality or inequality; intuitive verbal justifications receive no credit.
11.3 Conditional Probability, Two-Way Tables, and Independence
Quick Answer: The conditional probability of event $A$ occurring given that event $B$ has already occurred is denoted $P(A|B)$ and calculated as $P(A|B) = \frac{P(A \cap B)}{P(B)} = \frac{n(A \cap B)}{n(B)}$. In a two-way frequency table, the condition restricts the denominator to the row or column total corresponding to event $B$. Two events $A$ and $B$ are independent if and only if knowing that $B$ occurred does not change the probability of $A$. To prove independence on the Regents exam, you must mathematically verify that $P(A|B) = P(A)$ or that $P(A \cap B) = P(A) \cdot P(B)$.
1. Anatomy of Two-Way Frequency Tables (AII-S.CP.4)
[!NOTE] Standard note. NYSED consolidated four Common Core standards - S-CP.2, S-CP.3, S-CP.5, and S-CP.6 - into the single Algebra II standard AII-S.CP.4, which covers conditional probability, independence, and two-way frequency tables together. Two of the formulas you need are printed on the reference sheet: $P(A|B) = \dfrac{P(A \cap B)}{P(B)}$ under Probability, and the pair $P(A \cap B) = P(A) \cdot P(B)$ and $P(A|B) = P(A)$ under Independence. The June 2026 Part III opened with exactly this item type: a two-way table, one marginal probability, one conditional probability, and a justified independence verdict.
A two-way frequency table (contingency table) organizes sample data according to two distinct categorical variables. One variable defines the rows and the other defines the columns.
Consider a survey of $200$ high school seniors categorized by whether they participate in interscholastic athletics and whether they are enrolled in an Advanced Placement (AP) course:
| Enrollment Category | Student Athlete ($A$) | Non-Athlete ($A^c$) | Marginal Row Total |
|---|---|---|---|
| Enrolled in AP Course ($E$) | $36$ | $54$ | $90$ |
| Not Enrolled in AP Course ($E^c$) | $44$ | $66$ | $110$ |
| Marginal Column Total | $80$ | $120$ | $200$ (Grand Total $N$) |
Types of Frequencies
- Joint Frequencies: The counts located in the interior cells where row and column categories intersect. For example, $n(E \cap A) = 36$ represents the joint frequency of seniors who are both enrolled in an AP course and participate in athletics.
- Marginal Frequencies: The sums located along the right and bottom margins of the table, representing the total count for a single category irrespective of the other variable. For example, $n(E) = 90$ is the marginal frequency of all AP students, and $n(A) = 80$ is the marginal frequency of all student athletes.
- Grand Total ($N$): The bottom-right corner value ($N = 200$), representing the total number of individuals surveyed.
2. Calculating Basic, Joint, and Union Probabilities
Using the grand total $N$, probabilities are calculated as relative frequencies:
-
Marginal Probability: The probability of a single categorical event. Divide the marginal frequency by the grand total:
-
Joint Probability (Intersection $\cap$, "and"): The probability that an individual satisfies both conditions simultaneously. Divide the interior cell count by the grand total:
-
Union Probability ($\cup$, "or"): The probability that an individual belongs to category $E$, category $A$, or both. By the General Addition Rule:
3. Conditional Probability: Concept and Formulas (AII-S.CP.4)
Conditional probability calculates the likelihood of an event occurring given that another event is already known to have occurred. It is denoted:
Sample Space Restriction
The condition following the vertical bar ("given $B$") restricts the sample space. Instead of dividing by the grand total $N$, the denominator is restricted strictly to the subgroup defined by condition $B$.
Grand Sample Space N = 200
┌──────────────────────────────────────────────────┐
│ │
│ Restricted Condition B: n(B) │
│ ┌─────────────────────────────┐ │
│ │ Intersection │ │
│ │ n(A ∩ B) │ │
│ │ [ Numerator ] │ │
│ │ │ │
│ │ [ New Denominator ] │ │
│ └─────────────────────────────┘ │
│ │
└──────────────────────────────────────────────────┘
The Mathematical Formulas
-
From Raw Frequency Counts:
-
From Relative Probabilities:
Practical Table Reading: Row vs. Column Conditioning
Using our senior class table:
-
"Find the probability that a student is in an AP course, given that the student is an athlete:" The condition is Athlete ($A$). Look only at the Athlete column total ($80$). Of those $80$ athletes, $36$ take an AP course:
-
"Find the probability that a student is an athlete, given that the student is in an AP course:" The condition is AP Course ($E$). Look only at the AP Course row total ($90$). Of those $90$ AP students, $36$ are athletes:
[!WARNING] Order Matters! Notice that $P(E|A) = 0.45$ while $P(A|E) = 0.40$. Conditional probability is not commutative ($P(A|B) \neq P(B|A)$ in general). The condition always dictates the denominator.
4. Mathematical Definitions and Tests for Independence (AII-S.CP.4)
Two events $A$ and $B$ are statistically independent if the occurrence of one event does not alter the probability that the other event occurs.
The Three Equivalent Independence Criteria
On the Regents exam, you can prove or disprove independence using any one of three equivalent mathematical tests:
-
Test 1 (Conditional Test on $A$): "The probability of $A$ occurring given that $B$ occurred is identical to the unconditional probability of $A$."
-
Test 2 (Conditional Test on $B$): "The probability of $B$ occurring given that $A$ occurred is identical to the unconditional probability of $B$."
-
Test 3 (Multiplication Rule for Independent Events): "The joint probability of both events occurring equals the product of their individual marginal probabilities."
Testing the Senior Class Example for Independence
Let us test whether taking an AP course ($E$) and participating in athletics ($A$) are independent in our sample of $200$ seniors:
-
Method 1: Comparing $P(E|A)$ to $P(E)$: Since $P(E|A) = P(E) = 0.45$, events $E$ and $A$ are independent!
-
Method 2: Comparing $P(E \cap A)$ to $P(E) \cdot P(A)$: Since $P(E \cap A) = P(E) \cdot P(A)$, the events are verified to be independent.
Summary Table of Independence Tests
| Independence Test | Formula Condition | If Equal | If Not Equal |
|---|---|---|---|
| Conditional Test A | $P(A | B) \stackrel{?}{=} P(A)$ | Events are Independent |
| Conditional Test B | $P(B | A) \stackrel{?}{=} P(B)$ | Events are Independent |
| Joint Multiplication Test | $P(A \cap B) \stackrel{?}{=} P(A) \cdot P(B)$ | Events are Independent | Events are Dependent |
5. Worked Problems
Worked Problem 1: Navigating a Medical Diagnostic Table
Problem: A clinical study evaluates a rapid diagnostic test for a seasonal virus across a trial cohort of $1,000$ patients:
| Health Status | Test Positive ($+$) | Test Negative ($-$) | Total |
|---|---|---|---|
| Infected with Virus ($V$) | $85$ | $15$ | $100$ |
| Not Infected ($V^c$) | $45$ | $855$ | $900$ |
| Total | $130$ | $870$ | $1,000$ |
- Determine the probability that a randomly chosen patient tests positive.
- Determine the conditional probability that a patient is genuinely infected with the virus, given that they received a positive test result ($P(V|+)$). Express as a fraction and a decimal rounded to the nearest thousandth.
- Determine whether testing positive ($+$) and being infected ($V$) are independent events. Justify your answer mathematically.
-
Step 1: Calculate $P(+)$.
-
Step 2: Calculate $P(V|+)$. The condition is a positive test result ($+$). Restrict the denominator to the column total of positive tests ($130$):
-
Step 3: Test for independence. Compute the marginal probability of being infected: Compare $P(V|+)$ to $P(V)$: Since $P(V|+) \neq P(V)$ ($0.654 \neq 0.100$), testing positive and being infected are dependent (not independent) events. Receiving a positive test result significantly raises the probability of infection from $10%$ to $65.4%$.
Worked Problem 2: Testing Independence from Survey Probabilities
Problem: In a survey of music streaming subscribers, the probability that a subscriber listens to classical playlists is $P(C) = 0.25$, the probability that a subscriber is over 40 years old is $P(A) = 0.40$, and the probability that a subscriber is both over 40 and listens to classical playlists is $P(A \cap C) = 0.14$. Algebraically determine whether listening to classical playlists and being over 40 years old are independent events.
-
Step 1: State the independence condition to test. Events $A$ and $C$ are independent if and only if:
-
Step 2: Evaluate both sides of the equation. Left side: Right side:
-
Step 3: Compare values and write conclusion. [ 0.14 \neq 0.10 \implies P(A \cap C) \neq P(A) \cdot P(C) ] Because the joint probability ($0.14$) does not equal the product of the individual marginal probabilities ($0.10$), the events are not independent (they are dependent).
6. Common Regents Pitfalls & Exam Strategies
- Pitfall 1: Dividing by the Grand Total in Conditional Problems. On questions asking for $P(A|B)$, students frequently divide by $N$ (calculating $P(A \cap B)$) instead of dividing by the marginal total $n(B)$. Always circle the condition word ("given") and use that category total as the denominator.
- Pitfall 2: Confusing Independence with Mutually Exclusive (Disjoint) Events. Mutually exclusive events cannot happen together ($P(A \cap B) = 0$). If two events with positive probabilities are mutually exclusive, they can never be independent because $P(A \cap B) = 0 \neq P(A) \cdot P(B)$.
- Pitfall 3: Giving Subjective or Verbal Justifications. On questions asking "Are events A and B independent? Justify your answer," students who write verbal explanations like "No, because older people naturally enjoy classical music more" receive 0 credits. You must show the mathematical comparison (e.g., $P(A|B) \neq P(A)$) with exact fractions or decimals.
A survey of 250 high school students categorized respondents by grade level and primary transportation method to school:
What is the probability that a randomly selected student travels by car, given that the student is a senior?Category Bus Walk / Bicycle Car (Driver / Passenger) Total Juniors 65 25 30 120 Seniors 35 15 80 130 Total 100 40 110 250
For two events M and N, it is given that P(M) = 0.60, P(N) = 0.45, and P(M and N) = 0.27. Which statement correctly determines whether events M and N are independent?
At a local fitness center, 40% of members attend yoga classes (P(Y) = 0.40), 30% attend swimming sessions (P(S) = 0.30), and 18% participate in both activities (P(Y and S) = 0.18). What is the conditional probability P(Y | S), and are attending yoga and attending swimming independent activities?