Mistake Master
Student view — seeing the site as a student does

Summary Statistics for Two Categorical Variables

▶︎  Watch it animatedinteractive step-through · ~3 min · optional

One table of counts yields three tables of proportions: joint (each cell over the grand total, all cells summing to 1), row conditional (each cell over its row total, each row summing to 1), and column conditional (each cell over its column total). For 500 employees with 200 trained and 300 untrained, the cell 150 gives $\frac{150}{500} = 0.30$ jointly, $\frac{150}{200} = 0.75$ conditional on training, and $\frac{150}{300} = 0.50$ conditional on passing. Association is then summarized either as a difference in conditional proportions ($0.75 - 0.50 = 0.25$, i.e. 25 percentage points) or as a ratio ($\frac{0.75}{0.50} = 1.5$ times the rate), and both are reported with the groups and the context named.

The two failures are the denominator and the comparison. Reporting the share of passers who were trained when asked for the share of trained employees who passed reverses the condition and answers a different question. And comparing raw counts, or comparing one group's conditional proportion against the overall marginal proportion, produces a difference that measures group sizes rather than rates. When the underlying proportions are small, a ratio of 3 and a difference of 0.4 percentage points describe the same two numbers, so the summary chosen is itself a claim about what matters.

counts (500 employees) pass fail tr 150 50 un 150 150 joint: divide by 500 pass fail tr 0.30 0.10 un 0.30 0.30 all four sum to 1 row conditional pass fail tr 0.75 0.25 un 0.50 0.50 each ROW sums to 1 difference: 0.75 - 0.50 = 0.25, i.e. 25 percentage points ratio: 0.75 / 0.50 = 1.5 times the pass rate the joint 0.30 answers a third question: 30% of ALL employees are trained passers
The same 150 becomes 0.30, 0.75, or 0.50 depending on the divisor. Whichever set of numbers sums to 1 tells you which family you are reading.
side effect rate, per 1000 patients 0 3 6 9 placebo: 2 per 1000 drug: 6 per 1000 ratio 3.0 times as likely difference 4 per 1000 same two numbers, and 0.4 percentage points apart
Tripling a rare rate is still a rare rate. The ratio and the difference summarize the identical pair of proportions, so a report that gives only one has made a choice.

The work

3 ways in · any order
Lesson
Summary Statistics for Two Categorical Variables

Turns a table of counts into the three tables of proportions it supports, then compares groups the two standard ways: the difference in conditional proportions and the ratio, with the percentage-point rule and the limits of a table-based claim.

Skill check · 10 scenarios
Diagnostic
10-item topic check

Ten items on summarizing two categorical variables: proportions divided by the wrong total, conditions read backward, percent confused with percentage points, and ratios reported where the difference is tiny. Take it cold to find your habit, or after the lesson to check it is gone.

Not started · 10 items · ~15 min
Targeted Practice
Drill a single misconception

Pick one of the failure modes you missed and drill it on its own. The round is adaptive: two correct in a row clears it for now and moves you to the next. Two in a row is a checkpoint, not proof: if the error resurfaces later, the misconception comes back.

Take the diagnostic to identify your misconceptions