A logbook for curious waters
← All Reckonings

The Daily Reckoning

How Can One Treatment Win Every Group but Lose Overall?

Simpson’s paradox appears when separate groups point one way but their combined totals point the other. The reversal comes from unequal mixtures, not broken arithmetic.

Difficulty
Intermediate
Area
Probability and statistics
Reading time
9 minutes
Prerequisites
Fractions and percentages · Weighted averages · Reading a two-way table
A dark maritime blueprint shows two pairs of cyan and acid-green data channels. Cyan leads within each separate channel, but unequal stream widths merge into a larger green total while a magenta reversal arc marks the change.

A hospital compares two treatments for kidney stones. Treatment A succeeds more often for patients with smaller stones. Treatment A also succeeds more often for patients with larger stones.

Then the hospital combines every patient into one table. Treatment B has the higher success rate.

No patient changed outcome. No fraction was calculated incorrectly. The reversal happens because the two treatments were used on different mixtures of easier and harder cases. This pattern is called Simpson’s paradox.

The reversal in 700 records

A widely used example comes from a 1986 British Medical Journal study of kidney-stone treatments. To keep the arithmetic in view, call open surgery Treatment A and percutaneous nephrolithotomy Treatment B. A treatment counted as successful when it eliminated a stone or reduced the stone below the study’s specified size after three months.

The diagram below displays the two size groups first. Treatment A uses diagonal hatching; Treatment B uses dots. Switch to “All patients” to pool the same counts.

Composition sounding

Separate the cases, then pool them

Treatment A has the higher success rate for both stone sizesFor smaller stones, treatment A succeeds in 81 of 87 cases and treatment B in 234 of 270. For larger stones, treatment A succeeds in 192 of 263 cases and treatment B in 55 of 80.Smaller stonesLarger stonesTreatment A93.1%81/87Treatment B86.7%234/270Treatment A73.0%192/263Treatment B68.8%55/80AAAll 700 recordsTreatment A78.0%273/350Treatment B82.6%289/350B
Treatment A leads within both size groups: by 6.4 percentage points for smaller stones and 4.2 points for larger stones.
What to notice: A wins both like-for-like comparisons, but B wins after the records are pooled. Use the buttons with a pointer, Tab and Enter, or Tab and Space. Labels, percentages, fractions, hatching, and dots repeat the comparison without relying on color alone.

For smaller stones, Treatment A succeeded in 8181 of 8787 cases:

8187≈0.931=93.1%.\frac{81}{87}\approx0.931=93.1\%.

Treatment B succeeded in 234234 of 270270 smaller-stone cases:

234270≈0.867=86.7%.\frac{234}{270}\approx0.867=86.7\%.

Treatment A leads by about 6.46.4 percentage points in the smaller-stone group.

For larger stones, the corresponding rates are

192263≈73.0%and5580=68.75%.\frac{192}{263}\approx73.0\% \qquad\text{and}\qquad \frac{55}{80}=68.75\%.

Treatment A leads again, this time by about 4.24.2 percentage points.

Now add successes and patients across the two stone sizes. Treatment A has

81+19287+263=273350=78.0%.\frac{81+192}{87+263} =\frac{273}{350} =78.0\%.

Treatment B has

234+55270+80=289350≈82.6%.\frac{234+55}{270+80} =\frac{289}{350} \approx82.6\%.

The pooled comparison favors Treatment B by about 4.64.6 percentage points. The apparent winner has reversed.

The records in the 1986 study were not produced by a randomized head-to-head trial: the treatment groups came from different periods, and the researchers themselves discussed differences among the patients and procedures. The table demonstrates the arithmetic of reversal. It does not, by itself, establish which procedure caused better outcomes.

The hidden weights

The word “average” hides an important choice: what weights does each subgroup receive?

For Treatment A, 263263 of 350350 patients had larger stones. That proportion is

263350≈75.1%.\frac{263}{350}\approx75.1\%.

For Treatment B, only 8080 of 350350 patients had larger stones:

80350≈22.9%.\frac{80}{350}\approx22.9\%.

Treatment A therefore faced the harder category about three quarters of the time. Treatment B faced the easier category more than three quarters of the time. The overall rates are weighted averages, but they use different weights:

pA=87350(8187)+263350(192263)=81+192350=0.780,\begin{aligned} p_A &=\frac{87}{350}\left(\frac{81}{87}\right) +\frac{263}{350}\left(\frac{192}{263}\right)\\ &=\frac{81+192}{350} =0.780, \end{aligned}

while

pB=270350(234270)+80350(5580)=234+55350≈0.826.\begin{aligned} p_B &=\frac{270}{350}\left(\frac{234}{270}\right) +\frac{80}{350}\left(\frac{55}{80}\right)\\ &=\frac{234+55}{350} \approx0.826. \end{aligned}

Here pAp_A and pBp_B denote the pooled success proportions for Treatments A and B. Each coefficient, such as 87/35087/350, is the fraction of that treatment’s patients who belong to one stone-size group.

Suppose instead that both treatments had exactly the same mixture: a proportion ww of smaller-stone cases and a proportion 1−w1-w of larger-stone cases, where 0≤w≤10\leq w\leq1. If Treatment A had the higher rate in both groups, then

pA,small>pB,smallandpA,large>pB,large.p_{A,\text{small}}>p_{B,\text{small}} \quad\text{and}\quad p_{A,\text{large}}>p_{B,\text{large}}.

Multiplying both inequalities by the same nonnegative weights and adding gives

wpA,small+(1−w)pA,large>wpB,small+(1−w)pB,large.wp_{A,\text{small}}+(1-w)p_{A,\text{large}} > wp_{B,\text{small}}+(1-w)p_{B,\text{large}}.

With equal weights, the order cannot reverse. Simpson’s paradox needs unequal composition across the quantities being compared.

A definition, and why “paradox” is fair

Let XX identify which treatment or category is being compared, let YY record an outcome such as success, and let ZZ identify a subgroup such as stone size. A Simpson reversal occurs when the association between XX and YY has one direction within every relevant value of ZZ, but the association has the opposite direction after the values of ZZ are combined.

For two treatments and two subgroups, the pattern can be written as

P(Y∣X=A,Z=z)>P(Y∣X=B,Z=z)P(Y\mid X=A,Z=z)>P(Y\mid X=B,Z=z)

for each subgroup zz, while

P(Y∣X=A)<P(Y∣X=B)P(Y\mid X=A)<P(Y\mid X=B)

in the pooled data. The notation P(Y∣X=A,Z=z)P(Y\mid X=A,Z=z) means the probability of outcome YY among records with treatment AA and subgroup value zz.

The equations are compatible because the pooled probabilities average over ZZ with treatment-specific weights. What feels paradoxical is the verbal shortcut “A does better than B.” The sentence is incomplete until the comparison population is named.

Which table should you trust?

Neither “always split the data” nor “always use the total” is a sound rule. The question determines which comparison matters.

For the kidney-stone example, stone size existed before treatment and strongly affected the chance of success. A like-for-like treatment comparison should therefore account for stone size. If a hospital instead asks how many of its actual patients recovered under each historical program, the pooled totals describe those particular programs and their particular case mixes.

Causal questions require more than arithmetic. A third variable can be a confounder, meaning a prior cause connected to both the treatment and the outcome. Adjusting for a confounder can remove a misleading mixture. But conditioning on a variable caused by the treatment, or on a variable caused jointly by the treatment and the outcome, can create a misleading association. Judea Pearl’s discussion of Simpson’s paradox emphasizes that probability tables alone do not decide whether to pool or separate; the causal relationships among the variables do.

A practical audit therefore asks three questions before choosing a rate:

  1. What population does the decision concern?
  2. Did the grouping variable exist before the action being compared?
  3. Does subject-matter knowledge support the proposed causal relationship?

The reversal is a warning to inspect those questions, not a machine that answers them.

How the idea acquired its name

Statisticians encountered mixture effects before the phrase “Simpson’s paradox” existed. In 1903, British statistician George Udny Yule devoted a section of “Notes on the Theory of Association of Attributes in Statistics” to fallacies caused by mixing distinct records. Karl Pearson and collaborators had discussed related aggregation effects in 1899.

Edward H. Simpson gave the phenomenon a compact mathematical treatment in his 1951 paper “The Interpretation of Interaction in Contingency Tables”. Simpson’s examples concerned whether associations in separate 2×22\times2 tables survive when those tables are combined. Colin Blyth used the name Simpson’s paradox in a 1972 paper about reversals and decision-making. The longer history is why some authors use Yule–Simpson effect.

One famous application arrived in 1975. Peter Bickel, Eugene Hammel, and J. W. O’Connell studied 1973 graduate admissions at the University of California, Berkeley. The overall admission rate was lower for women, but applicants of different genders had applied in different proportions to departments with very different selectivity. Their department-level analysis in Science showed why an aggregate disparity cannot, on its own, identify where a selection process operates. The paper did not make fairness measurement easy; it showed that the unit of comparison matters.

Where reversals matter now

Clinical researchers routinely plan how to handle baseline variables that predict outcomes. The United States Food and Drug Administration’s 2023 guidance on covariate adjustment recommends deciding on adjustments before trial results are unblinded. Prespecification helps prevent analysts from searching many subgroup choices until one produces a preferred story.

The same danger appears in education, hiring, lending, online experiments, and recommendation systems. A new interface may improve conversion in every country but look worse overall if it receives unusually heavy traffic from countries with lower baseline conversion. An aggregate fairness measure can move because the composition of applicants changes, even when every within-group rate stays fixed. The calculation is the same weighted-average calculation; the causal and ethical questions differ by domain.

Simpson’s paradox does not imply that every aggregate is deceptive. It identifies one precise failure mode: comparisons can reverse when unlike mixtures are averaged as if the mixtures were the same.

Try the weights

Problem 1

Two online courses use different exercises. Among beginners, Course A has 1818 successes in 2020 attempts and Course B has 7272 in 9090. Among advanced learners, Course A has 1212 successes in 2020 attempts and Course B has 55 in 1010.

Which course has the higher success rate within each experience group? Which has the higher pooled rate?

Reveal the solution

For beginners,

1820=90%and7290=80%,\frac{18}{20}=90\% \qquad\text{and}\qquad \frac{72}{90}=80\%,

so Course A has the higher rate.

For advanced learners,

1220=60%and510=50%,\frac{12}{20}=60\% \qquad\text{and}\qquad \frac{5}{10}=50\%,

so Course A again has the higher rate.

Pool the records for Course A:

18+1220+20=3040=75%.\frac{18+12}{20+20}=\frac{30}{40}=75\%.

Pool the records for Course B:

72+590+10=77100=77%.\frac{72+5}{90+10}=\frac{77}{100}=77\%.

Course B has the higher pooled rate even though Course A leads within both experience groups. Course A received half of its attempts from the harder advanced group; Course B received only one tenth from that group.

Problem 2

Treatment A succeeds 90%90\% of the time in Group 1 and 60%60\% in Group 2. Treatment B succeeds 80%80\% in Group 1 and 50%50\% in Group 2. Both treatments are used on 40%40\% Group 1 cases and 60%60\% Group 2 cases. Can the pooled rates reverse?

Reveal the solution

No. The two treatments use the same weights.

For Treatment A,

0.4(0.90)+0.6(0.60)=0.36+0.36=0.72.0.4(0.90)+0.6(0.60)=0.36+0.36=0.72.

For Treatment B,

0.4(0.80)+0.6(0.50)=0.32+0.30=0.62.0.4(0.80)+0.6(0.50)=0.32+0.30=0.62.

Treatment A’s pooled rate is 72%72\%, while Treatment B’s is 62%62\%. Because Treatment A leads by 1010 percentage points in each group and the weights match, the pooled lead remains 1010 points.

The idea to keep

A pooled rate is a weighted average. If two options are tested on different mixtures of easy and hard cases, the weights can reverse the comparison—even when one option has the higher rate in every like-for-like group.

Continue with Bayes’ theorem and base rates for another way that population composition changes a probability, or with the central limit theorem for the behavior of averages under repeated sampling.

Sources