Maths4U · Learning together
Two-way tables, conditioning and independence
Notes
Objective
Use the conditioning group as denominator, recover missing cells, and justify independence numerically.
Before you start
Use exact fractions and identify what is selected at random. Counting-selections questions refer to the next chapter; the combination notation used there is introduced briefly in the final lesson.
Key ideas
The condition changes the denominator
This requires . In a frequency table the denominator is the number in B, not the grand total or the number in A. In general and differ.
Complete cells and margins consistently
Intersection, A-only, B-only and neither are disjoint cells. Row and column totals overlap, so adding them directly double-counts the intersection. Every recovered count must be a non-negative integer.
Test independence using the actual marginals
Compare the joint probability with the product of the marginals. Equivalently compare a conditional with its marginal when that conditional is defined. Give the two numerical values, rather than just saying that the events look unrelated.
Use one joint event in both conditionals
The second expression needs a positive denominator. Restore the four cells and check they are all non-negative after solving a reverse problem.
Method
- Define outcomes, events and any condition before calculating.
- Decide which outcomes are equally likely and which branch probabilities change.
- Multiply along a path and add only disjoint qualifying paths.
- For a conditional probability, restrict both numerator and denominator to the stated condition.
- Check probability bounds, all branches and original model restrictions.
Common mistakes
- The conditional denominator is the conditioning group.
- Do not reverse the direction of a conditional.
- Marginal totals overlap.
- An independence claim needs a numerical check.
Worked examples
Read the direction of a conditional
| Morning | Afternoon | |
|---|---|---|
| Attends club | 12 | 8 |
| Does not attend | 6 | 14 |
A person is selected uniformly. Find and its reverse. Are the events independent?
Follow the solutionThe joint is , but the marginal product is . The events are dependent.
Recover all four table cells
Among 60 items, 24 have A, 30 have B, and 9 have both. Find A-only, B-only, neither and the probability of exactly one characteristic for a uniform selection.
Follow the solutionThe cells are A-only=15, both=9, B-only=21, neither=15. They total 60.
An independence condition recovers a missing count
| B | Not B | |
|---|---|---|
| A | 6 | 4 |
| Not A | 9 | n |
The two classifications are independent for a uniform selection. Find n and the union probability.
Follow the solutionThus 6(19+n)=150, so n=6. All four counts are non-negative integers.
Two conditionals share the same intersection
, , . Find and the probability of exactly one event.
Follow the solution