Two categorical variables: two-way tables, conditional distributions and association
Calculate shares from a two-way table and use within-group comparisons to judge association.
It opens on
120 athletes and 110 non-athletes eat breakfast daily. Are athletes more likely to eat breakfast?
Why it matters
Comparing groups fairly requires accounting for different group sizes.
Good to know first
- Tables and graphs for one categorical variable: a count, and its share = part ÷ whole. Two-way tables, relative frequencies and association: rows and columns of counts with totals
Step by step
Two-way table shares
Distinguish and calculate cell shares and margin shares of all students.
Sport total = 120 + 60 = 180; no-sport total = 110 + 110 = 220; altogether, 400.
A common mix-up
The larger breakfast count identifies the likelier group.
In fact: The groups contain 180 and 220 students.
Group shares
Choose the named group’s total and calculate its breakfast shares.
Given sport, breakfast yes = 120/180 ≈ 0.67; breakfast no = 60/180 ≈ 0.33.
A common mix-up
Reversing the named group keeps the same share.
In fact: 120/180 ≈ 0.67, but 120/230 ≈ 0.52.
Displays and association
Interpret conditional displays and justify an association conclusion without claiming causation.
Sport bar ≈ 67% breakfast/33% not; no-sport bar = 50% breakfast/50% not.
A common mix-up
Different mosaic widths prove association.
In fact: Widths show group sizes; identical 30%/70% splits show no association.
Try it
What joint share plays sport but does not eat breakfast daily?Answer
60/400 = 0.15
Hint: Use the cell and table total
Among breakfast eaters, what share does not play sport?Answer
110/230 ≈ 0.48
Hint: Use the breakfast column total
Sport changes to 90 breakfast/90 not; no sport stays 110/110. Association?Answer
No; both breakfast shares are 50%
Hint: Divide by each row total
Do breakfast counts of 120 versus 110 settle the hook?Answer
No; the sport groups differ in size.
Given breakfast, which denominator applies: 180 or 230?Answer
230 breakfast eaters.
Two categorical variables: two-way tables, conditional distributions and association
30 minutes every month. No card.
