Weight a mean by its group size
One group has 2 observations with mean 10; another has 8 with mean 20. Their totals are 20 and 160, so the combined mean is 180/10 = 18.
Averaging the two means gives 15, which gives the groups equal weight despite their different sizes. Multiply each mean by its group size, add the totals, then divide by the total count.
Watch a comparison reverse
Programs A and B serve easier cases in group 1 and harder cases in group 2. B has a higher success rate in each group: 19/20 > 90/100 and 40/100 > 3/10. Yet overall A has 93/110, above B’s 59/120.
This is a Simpson reversal. A serves mostly easier cases, while B serves mostly harder ones. The overall rates describe their actual mixes; they do not establish which program is better for comparable cases.
Compare a shared group mix
Now compare both programs with 100 cases in each group, keeping their group success rates unchanged. A has 90 + 30 successes; B has 95 + 40.
The common mix gives both groups equal weight for both programs. Which program has the higher combined rate? This compares the programs on the same mix of cases, so only their group rates can make a difference.
Try it
With 100 cases in each group, which program has the higher combined rate?
- Program A
- Program B
Show the answer
Program B
Correct. B has 95 + 40 = 135 successes out of 200, above A’s 120/200. At the same group mix, B’s advantage within each group remains visible overall.
Enable JavaScript to answer interactively and save your place.
Practice When averages mislead