PracticeVideosBlogFlashcards

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.

Last updated: September 2026

11.3 Conditional Probability, Two-Way Tables, and Independence

Quick Answer: The conditional probability of event AA occurring given that event BB has already occurred is denoted P(A∣B)P(A|B) and calculated as P(A∣B)=P(A∩B)P(B)=n(A∩B)n(B)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 BB. Two events AA and BB are independent if and only if knowing that BB occurred does not change the probability of AA. To prove independence on the Regents exam, you must mathematically verify that P(A∣B)=P(A)P(A|B) = P(A) or that P(A∩B)=P(A)⋅P(B)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)=P(A∩B)P(B)P(A|B) = \dfrac{P(A \cap B)}{P(B)} under Probability, and the pair P(A∩B)=P(A)⋅P(B)P(A \cap B) = P(A) \cdot P(B) and P(A∣B)=P(A)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 200200 high school seniors categorized by whether they participate in interscholastic athletics and whether they are enrolled in an Advanced Placement (AP) course:

Enrollment CategoryStudent Athlete (AA)Non-Athlete (AcA^c)Marginal Row Total
Enrolled in AP Course (EE)363654549090
Not Enrolled in AP Course (EcE^c)44446666110110
Marginal Column Total8080120120200200 (Grand Total NN)

Types of Frequencies

  1. Joint Frequencies: The counts located in the interior cells where row and column categories intersect. For example, n(E∩A)=36n(E \cap A) = 36 represents the joint frequency of seniors who are both enrolled in an AP course and participate in athletics.
  2. 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)=90n(E) = 90 is the marginal frequency of all AP students, and n(A)=80n(A) = 80 is the marginal frequency of all student athletes.
  3. Grand Total (NN): The bottom-right corner value (N=200N = 200), representing the total number of individuals surveyed.

2. Calculating Basic, Joint, and Union Probabilities

Using the grand total NN, probabilities are calculated as relative frequencies:

  • Marginal Probability: The probability of a single categorical event. Divide the marginal frequency by the grand total:

    P(E)=n(E)N=90200=0.45P(E) = \frac{n(E)}{N} = \frac{90}{200} = 0.45 P(A)=n(A)N=80200=0.40P(A) = \frac{n(A)}{N} = \frac{80}{200} = 0.40
  • Joint Probability (Intersection ∩\cap, "and"): The probability that an individual satisfies both conditions simultaneously. Divide the interior cell count by the grand total:

    P(E∩A)=n(E∩A)N=36200=0.18P(E \cap A) = \frac{n(E \cap A)}{N} = \frac{36}{200} = 0.18
  • Union Probability (∪\cup, "or"): The probability that an individual belongs to category EE, category AA, or both. By the General Addition Rule:

    P(E∪A)=P(E)+P(A)−P(E∩A)=90200+80200−36200=134200=0.67P(E \cup A) = P(E) + P(A) - P(E \cap A) = \frac{90}{200} + \frac{80}{200} - \frac{36}{200} = \frac{134}{200} = 0.67

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:

P(A∣B)(read as: the probability of A given B)P(A|B) \quad (\text{read as: the probability of } A \text{ given } B)

Sample Space Restriction

The condition following the vertical bar ("given BB") restricts the sample space. Instead of dividing by the grand total NN, the denominator is restricted strictly to the subgroup defined by condition BB.

          Grand Sample Space N = 200
     ┌──────────────────────────────────────────────────┐
     │                                                  │
     │        Restricted Condition B: n(B)              │
     │      ┌─────────────────────────────┐             │
     │      │            Intersection     │             │
     │      │            n(A ∩ B)         │             │
     │      │            [ Numerator ]    │             │
     │      │                             │             │
     │      │     [ New Denominator ]     │             │
     │      └─────────────────────────────┘             │
     │                                                  │
     └──────────────────────────────────────────────────┘

The Mathematical Formulas

  1. From Raw Frequency Counts:

    P(A∣B)=n(A∩B)n(B)P(A|B) = \frac{n(A \cap B)}{n(B)}
  2. From Relative Probabilities:

    P(A∣B)=P(A∩B)P(B)provided P(B)>0P(A|B) = \frac{P(A \cap B)}{P(B)} \quad \text{provided } P(B) > 0

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 (AA). Look only at the Athlete column total (8080). Of those 8080 athletes, 3636 take an AP course:

    P(E∣A)=n(E∩A)n(A)=3680=0.45P(E|A) = \frac{n(E \cap A)}{n(A)} = \frac{36}{80} = 0.45
  • "Find the probability that a student is an athlete, given that the student is in an AP course:" The condition is AP Course (EE). Look only at the AP Course row total (9090). Of those 9090 AP students, 3636 are athletes:

    P(A∣E)=n(A∩E)n(E)=3690=0.40P(A|E) = \frac{n(A \cap E)}{n(E)} = \frac{36}{90} = 0.40

Warning

Order Matters! Notice that P(E∣A)=0.45P(E|A) = 0.45 while P(A∣E)=0.40P(A|E) = 0.40. Conditional probability is not commutative (P(A∣B)≠P(B∣A)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 AA and BB 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:

  1. Test 1 (Conditional Test on AA):

    P(A∣B)=P(A)P(A|B) = P(A)

    "The probability of AA occurring given that BB occurred is identical to the unconditional probability of AA."

  2. Test 2 (Conditional Test on BB):

    P(B∣A)=P(B)P(B|A) = P(B)

    "The probability of BB occurring given that AA occurred is identical to the unconditional probability of BB."

  3. Test 3 (Multiplication Rule for Independent Events):

    P(A∩B)=P(A)⋅P(B)P(A \cap B) = P(A) \cdot P(B)

    "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 (EE) and participating in athletics (AA) are independent in our sample of 200200 seniors:

  • Method 1: Comparing P(E∣A)P(E|A) to P(E)P(E):

    P(E∣A)=3680=0.45P(E|A) = \frac{36}{80} = 0.45 P(E)=90200=0.45P(E) = \frac{90}{200} = 0.45

    Since P(E∣A)=P(E)=0.45P(E|A) = P(E) = 0.45, events EE and AA are independent!

  • Method 2: Comparing P(E∩A)P(E \cap A) to P(E)⋅P(A)P(E) \cdot P(A):

    P(E∩A)=36200=0.18P(E \cap A) = \frac{36}{200} = 0.18 P(E)⋅P(A)=(0.45)(0.40)=0.18P(E) \cdot P(A) = (0.45)(0.40) = 0.18

    Since P(E∩A)=P(E)⋅P(A)P(E \cap A) = P(E) \cdot P(A), the events are verified to be independent.

Summary Table of Independence Tests

Independence TestFormula ConditionIf EqualIf Not Equal
Conditional Test AP(A∣B)=?P(A)P(A\vert B) \stackrel{?}{=} P(A)Events are IndependentEvents are Dependent
Conditional Test BP(B∣A)=?P(B)P(B\vert A) \stackrel{?}{=} P(B)Events are IndependentEvents are Dependent
Joint Multiplication TestP(A∩B)=?P(A)⋅P(B)P(A \cap B) \stackrel{?}{=} P(A) \cdot P(B)Events are IndependentEvents 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,0001,000 patients:

Health StatusTest Positive (++)Test Negative (−-)Total
Infected with Virus (VV)85851515100100
Not Infected (VcV^c)4545855855900900
Total1301308708701,0001,000
  1. Determine the probability that a randomly chosen patient tests positive.
  2. Determine the conditional probability that a patient is genuinely infected with the virus, given that they received a positive test result (P(V∣+)P(V|+)). Express as a fraction and a decimal rounded to the nearest thousandth.
  3. Determine whether testing positive (++) and being infected (VV) are independent events. Justify your answer mathematically.
  • Step 1: Calculate P(+)P(+).

    P(+)=n(+)N=1301000=0.130P(+) = \frac{n(+)}{N} = \frac{130}{1000} = 0.130
  • Step 2: Calculate P(V∣+)P(V|+). The condition is a positive test result (++). Restrict the denominator to the column total of positive tests (130130):

    P(V∣+)=n(V∩+)n(+)=85130=1726≈0.654P(V|+) = \frac{n(V \cap +)}{n(+)} = \frac{85}{130} = \frac{17}{26} \approx 0.654
  • Step 3: Test for independence. Compute the marginal probability of being infected:

    P(V)=n(V)N=1001000=0.100P(V) = \frac{n(V)}{N} = \frac{100}{1000} = 0.100

    Compare P(V∣+)P(V|+) to P(V)P(V):

    P(V∣+)=0.654andP(V)=0.100P(V|+) = 0.654 \quad \text{and} \quad P(V) = 0.100

    Since P(V∣+)≠P(V)P(V|+) \neq P(V) (0.654≠0.1000.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%10\% to 65.4%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.25P(C) = 0.25, the probability that a subscriber is over 40 years old is P(A)=0.40P(A) = 0.40, and the probability that a subscriber is both over 40 and listens to classical playlists is P(A∩C)=0.14P(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 AA and CC are independent if and only if:

    P(A∩C)=P(A)⋅P(C)P(A \cap C) = P(A) \cdot P(C)
  • Step 2: Evaluate both sides of the equation. Left side:

    P(A∩C)=0.14P(A \cap C) = 0.14

    Right side:

    P(A)⋅P(C)=(0.40)(0.25)=0.10P(A) \cdot P(C) = (0.40)(0.25) = 0.10
  • Step 3: Compare values and write conclusion.

    0.14≠0.10  ⟹  P(A∩C)≠P(A)⋅P(C)0.14 \neq 0.10 \implies P(A \cap C) \neq P(A) \cdot P(C)

    Because the joint probability (0.140.14) does not equal the product of the individual marginal probabilities (0.100.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)P(A|B), students frequently divide by NN (calculating P(A∩B)P(A \cap B)) instead of dividing by the marginal total n(B)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∩B)=0P(A \cap B) = 0). If two events with positive probabilities are mutually exclusive, they can never be independent because P(A∩B)=0≠P(A)⋅P(B)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)≠P(A)P(A|B) \neq P(A)) with exact fractions or decimals.
Test Your Knowledge

A survey of 250 high school students categorized respondents by grade level and primary transportation method to school:

CategoryBusWalk / BicycleCar (Driver / Passenger)Total
Juniors652530120
Seniors351580130
Total10040110250

What is the probability that a randomly selected student travels by car, given that the student is a senior?

A

80 / 250 = 0.320

B

80 / 110 ≈ 0.727

C

80 / 130 ≈ 0.615

D

110 / 250 = 0.440

Test Your Knowledge

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?

A

The events are dependent because P(M) ≠ P(N).

B

The events are dependent because P(M and N) ≠ 0.

C

The events are independent because P(M or N) = 0.60 + 0.45 = 1.05.

D

The events are independent because P(M and N) = P(M) · P(N), since (0.60)(0.45) = 0.27.

Test Your Knowledge

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?

A

P(Y | S) = 0.60; the activities are dependent because P(Y | S) ≠ P(Y) (0.60 ≠ 0.40).

B

P(Y | S) = 0.45; the activities are independent because 0.45 > 0.40.

C

P(Y | S) = 0.18; the activities are dependent because both activities occur simultaneously.

D

P(Y | S) = 0.60; the activities are independent because 0.60 is greater than 0.30.

Sections you finish are checked off in the contents.