Averages can lie when groups are mixed. The Simpson’s paradox calculator takes the successes and cases of two options in two subgroups and gives the success rate of each option in each subgroup, the overall rate and a flag that tells you whether the comparison reverses once the data is pooled.
How the calculation works
- Enter the successes and the number of cases for two options, A and B, in each of two subgroups.
- The calculator finds the success rate of each option within each subgroup, and then the overall rate after the subgroups are pooled.
- Simpson’s paradox appears when one option has the higher rate in both subgroups but the lower rate overall, or the reverse.
- The reversal happens because the subgroups are different in size and in difficulty, so pooling weights the options differently.
Example
In a classic study of kidney stone treatments, treatment A succeeded in 81 of 87 small stones and 192 of 263 large ones, while treatment B succeeded in 234 of 270 small stones and 55 of 80 large ones. A wins in both groups (93.1 % against 86.7 %, and 73.0 % against 68.8 %), yet overall A reaches 78.0 % and B reaches 82.6 %.
Why it matters
The paradox shows up in medicine, admissions, sports statistics and business reports, and it is a standard lesson in statistics courses. Checking the numbers both ways is a good habit before drawing a conclusion.
Good to know
The calculator only compares two options in two subgroups and cannot tell you which view is causally right. That needs knowledge of how the data was produced. A reversal also depends on exact counts, so small changes in the data can remove it.
Related tools
The Bayes theorem calculator shows another way that intuition about rates can fail, and the weighted average calculator explains how pooling weights groups by size.