Simpson’s Paradox: When the Data Flips Upside Down
Imagine a hospital testing two new treatments: Treatment A (a targeted, intensive drug) and Treatment B (a general, lighter drug). You look at the data for patients with Mild symptoms: Treatment A cured 90%, while B only cured 85%. You look at patients with Severe symptoms: Treatment A cured 60%, while B only cured 50%.
The conclusion seems obvious: Treatment A is better for everyone.
But press the "Merge Patient Groups" button in the interactive above. When you combine the totals, the winner magically flips! Overall, Treatment B cures 78% of people, while Treatment A only cures 66%.
How is it mathematically possible for a drug to be better in every individual group, but worse overall?
This is Simpson's Paradox, a statistical illusion caused by unequal group sizes and a "lurking variable" (in this case, the severity of the disease).
Look closely at the split data: Because Treatment A was the "intensive" drug, doctors gave it to almost all of the Severe patients (40 patients), who are inherently much harder to cure. They only gave it to a few Mild patients (10 patients). Treatment B was given to the easy-to-cure Mild patients (40 patients).
Even though Treatment A is genuinely a better medicine, its overall success rate was dragged down because it took on all the toughest cases. This paradox proves why you should never trust a blind average without looking at the underlying context!
But what does this look like on a graph? Look below to see how this statistical trick can literally bend trendlines backward...