By the end of this lesson, you should be able to
- Compare pooled proportions with proportions calculated within groups.
- Describe how different group compositions can reverse an association.
- Explain why an observational comparison is not automatically causal evidence.
Here is a lovely little statistical nightmare: two treatment methods can show one ranking when we compare all patients, then the opposite ranking within every relevant group.
It is called Simpson’s paradox, though nothing in the arithmetic is actually contradictory. The trick is in what we have left out of the comparison.
A published historical example
In a 1986 British Medical Journal study, researchers compared historical outcomes of kidney-stone treatment methods. One method involved open surgery; another was percutaneous nephrolithotomy.
We will work with the recorded numerical outcomes as a statistical case study, not as clinical guidance. The procedures were compared across different periods and were not randomized into the same patient population.
First look only at the pooled data:
| Method | Successful cases | Total | Recorded success proportion |
|---|---|---|---|
| Open surgery (A) | 273 | 350 | 78.0% |
| Percutaneous procedure (B) | 289 | 350 | 82.6% |
The pooled percentage is higher for B. If we stopped here, we might conclude that B had better outcomes in the comparison. But we would be leaving out an important variable: stone size.
Now split the data
The published counts can be separated by stone size:
| Stone size | A successful / total | B successful / total |
|---|---|---|
| Smaller than 2 cm | 81 / 87 = 93.1% | 234 / 270 = 86.7% |
| At least 2 cm | 192 / 263 = 73.0% | 55 / 80 = 68.8% |
Within each stone-size category, A has a higher recorded success proportion. How can that be true if B has the higher overall proportion?
Because the two methods were used for different mixtures of cases.
Of the 350 open-surgery observations, 263 involved larger stones. Of the 350 percutaneous observations, only 80 involved larger stones.
Larger-stone cases had lower success proportions under both procedures. The pooled comparisons are therefore weighted very differently.
Weighted averages can reverse an apparent relationship
For method A, the pooled observed success proportion is
For B:
Each overall rate is a weighted average of the within-group rates. The weights are different for the two methods.
When the weights shift enough, the pooled ordering can reverse even though the within-group ordering stays the same.
Play with the comparison
Switch the laboratory from all stone sizes to each size category.
The data do not change. The denominator changes because we are asking a different question about the same dataset.
A single pooled percentage is sometimes a dangerously incomplete summary. Even a correctly calculated statistic can support a misleading story when a relevant variable is omitted.
Does this prove A was the better treatment?
No. These were observational historical comparisons of patients treated under different circumstances and periods. Stratifying by stone size identifies one important imbalance; it does not rule out all other differences, such as patient characteristics, clinician choices, practice changes, or severity within a size category.
Understanding Simpson’s paradox is therefore not a shortcut to causal inference. It is a reason to take study design, context, and multivariable thinking seriously.
The broad lesson extends far beyond medicine. Admissions rates, school achievement, transportation safety, and workplace metrics can all change meaning when we pool distinct groups.
Exercise
- What fraction of open-surgery cases involved larger stones? What fraction of percutaneous cases?
- Which method has the higher observed rate in each size group? Which has the higher pooled rate?
- Why does this dataset, by itself, not prove a causal treatment advantage?
Worked answers
-
of open-surgery cases and of percutaneous cases involved larger stones.
-
Open surgery has the higher recorded success proportion in both size groups, while the percutaneous method has the higher recorded pooled proportion.
-
The procedures were not randomly assigned to otherwise comparable patients and were observed in different time periods; stone size is one relevant difference, not necessarily the only one.
Data provenance and further reading
The counts are historical results from Charig and colleagues, “Comparison of treatment of renal calculi by open surgery, percutaneous nephrolithotomy, and extracorporeal shockwave lithotripsy,” BMJ (1986), 292:879–882, doi:10.1136/bmj.292.6524.879.
See the Harvard Statistics explanation and a later review of Simpson’s paradox in clinical research. Only published aggregate counts are used; no patient-level records are distributed.
The arithmetic of aggregation
An aggregate success rate is a weighted average of stratum-specific rates: , with weights equal to A’s stratum proportions. B generally has different weights . Consequently, even if within every stratum, the aggregate inequality need not hold. The comparison mixes within-stratum outcomes with different population compositions.
To isolate composition, a descriptive standardization can use common prespecified weights and compare with . If A is better in every stratum, these common-weight averages preserve that direction. The result describes the chosen standardized population, whose weights must be explained. It is not automatically an estimate of a causal effect: treatment selection and unmeasured prognostic differences may remain within strata.
For a synthetic illustration, A has rates 0.9 and 0.6, B rates 0.8 and 0.5. With common half-and-half weights, standardized rates are 0.75 and 0.65. But if A’s easier-case share is 0.1 and B’s is 0.9, their observed mixture rates are 0.63 and 0.77, reversing the order. These synthetic numbers illustrate the mechanism separately from the cited historical dataset.
Further problems
- Recalculate the standardized comparison using weights 0.2 and 0.8.
- Why is the crude aggregate not arithmetically incorrect?
- Why might conditioning on the wrong variable introduce rather than remove bias?
Worked further solutions
- A is ; B is .
- It correctly describes each group’s actual mixture. It answers a different descriptive question from a common-composition comparison.
- Conditioning on a mediator changes the effect target; conditioning on a common consequence can create an association. Adjustment requires a causal argument about the variable’s role, not a rule to include everything measured.
The comparison that reverses
Explore published counts for two kidney-stone treatment methods from a historical nonrandomized comparison. The outcome is recorded treatment success; the grouping variable is stone size. The data come from Charig and colleagues' 1986 report and later analyses.
Complete numerical data, for comparison and accessibility
| Stone size | Open surgery (A) | Percutaneous (B) |
|---|---|---|
| Smaller than 2 cm | 81 / 87 (93.1%) | 234 / 270 (86.7%) |
| At least 2 cm | 192 / 263 (73.0%) | 55 / 80 (68.8%) |
| Both sizes | 273 / 350 (78.0%) | 289 / 350 (82.6%) |
Important: These are historical, observational outcomes from different time periods, not randomized causal effects. Reversal of observed success proportions does not establish which treatment should be chosen for a patient. Harvard Statistics discussion and primary-study citation · Review article.
Keep your place
Mark this lesson complete after you've read it, attempted its exercises, and explained its central idea in your own words.
Progress is not saved unless you choose to mark the lesson complete.
Saved only in this browser's local storage. No required account, server transmission, or analytics. You can reset your saved progress on the course page. Clearing browser data also clears the record.