StarLog

Statistics × Social science × Philosophy

Why can pooling groups reverse a comparison?

Statistics × social science × causal reasoning

Learn with an experiment

Two repair teams. Who does better?

Fictional teams A and B each took 100 repairs. A succeeded on 82; B on 35. Were the conditions alike? The photo is illustrative.

Their jobs were different.

A: 90 easy repairs + 10 hard repairs. B: 20 easy repairs + 80 hard repairs. Success rate is the share repaired successfully.

What if we compare like with like?

Easy repairs: A 90%, B 95%. Hard repairs: A 10%, B 20%. B has the higher success rate at both levels.

Why did the overall ranking reverse?

A took far more easy jobs. The overall rate depends on both success at each difficulty and how many jobs were assigned.

Same records. A different comparison.

A leads in the all-jobs view. B leads when split by difficulty. Use the buttons to compare the same records both ways.

The trap in an overall score

If repair team A succeeds 82% of the time and B 35%, A may seem better. But the comparison can change when job difficulty differs. This is a historical photo of tabulation; the repair-team numbers below are fictional teaching data.

A success rate needs a denominator

Success rate is successes divided by jobs handled. 9/10 and 90/100 both equal 90%, but describe different sample sizes. When pooling groups, do not just average their percentages. Add the success counts and total counts separately.

Split easy and hard jobs

Easy jobs: A is 81/90=90%, B 19/20=95%. Hard jobs: A is 1/10=10%, B 16/80=20%. B is higher at both levels, reversing the pooled comparison. The counts stayed the same; the grouping changed.

See the weights hidden in a pooled rate

A has 90 easy jobs out of 100, while B has only 20. A’s pooled rate gives more weight to easy jobs with high success rates. Mixing groups with different weights can reverse the pooled and subgroup comparisons. This reversal is known as Simpson’s paradox.

Subgroup analysis is not a magic answer

The pooled rate describes all assigned jobs; subgroup rates describe jobs at the same difficulty. The needed comparison depends on your question. How jobs were assigned also matters for causal claims. Below, change only grouping and keep every count fixed.

Subgroup analysis is not a magic answer

The pooled rate describes all assigned jobs; subgroup rates describe jobs at the same difficulty. The needed comparison depends on your question. How jobs were assigned also matters for causal claims. Below, change only grouping and keep every count fixed.

A pooled rate is not a simple average

A’s subgroup percentages average to 50%, yet its pooled rate is 82%. Its 90 easy and 10 hard jobs give weights of 9:1. B’s weights are 2:8. Listing percentages alone hides that difference. To avoid treating small and large groups as equally weighted, inspect the denominators as well.

Is splitting always more accurate?

No. Pooled and subgroup views can answer different questions. Whether a variable precedes a cause or arises later in a causal process affects whether conditioning is appropriate. Pearl argues that causal background knowledge is needed. This fictional case demonstrates weighting; it does not prove a rule to always trust subgroup statistics.

Three questions for a scorecard

First, is success defined the same way? Second, are both success and total counts available? Third, did the groups face comparable conditions? These questions separate arithmetic errors from differences in composition. A different-looking result is not immediate proof of deception or ability. Assignment mechanisms and uncertainty also matter.

What if both teams had the same job mix?

Assume the observed subgroup rates stay fixed and standardize both teams to 50% easy and 50% hard jobs: A becomes 50%, B 57.5%. This is a standardized calculation, not an actual reassignment experiment. Real performance could change under a different workload. Separate a comparison calculation from the effect of intervening.

Key concepts

Aggregation
Combine observations from multiple groups.
Confounding
Another condition affects the comparison.
Simpson’s paradox
Within-group and aggregate comparisons can reverse.

Takeaways

  • First ask what kinds of cases were mixed together.
  • Read both the numerator and denominator beside a rate.
  • The direction of a comparison can reverse in the same data.
  • A pooled average depends on the weights used to combine groups.
  • Check the comparison question as well as the numbers.

References