Lesson 5: Comparing groups with summary statistics
Choose statistics to compare part-time earnings
SkillsComparing with summary statisticsReporting a comparison
Worked example
A Cairns school surveyed 25 Year 11 and 25 Year 12 students with part-time jobs about their weekly earnings.
| Mean | Median | Min | Max | ||||
|---|---|---|---|---|---|---|---|
| Year 11 | $182 | $150 | $96 | $40 | $105 | $195 | $480 |
| Year 12 | $214 | $205 | $62 | $80 | $160 | $245 | $360 |
Decide which statistics are most appropriate for comparing the two groups, and use them to compare the weekly earnings.
Step 1: Check for outliers
Year 11: , upper fence , so the $480 is a possible outlier. Year 12: , fences and , so no outliers.
Step 2: Check the shape
Year 11's mean ($182) is well above its median ($150), and its maximum is far above : the data are positively skewed.
In skewed data, the mean is pulled towards the tail.
Step 3: Choose the statistics
Because Year 11 is skewed and has an outlier, compare the medians and IQRs. They are resistant to the $480.
Step 4: Compare centre
The median for Year 12 ($205) was $55 higher than for Year 11 ($150), so Year 12 students typically earned more.
Step 5: Compare spread
The IQRs are similar ($90 for Year 11 and $85 for Year 12), so the middle halves of the two groups were about equally spread out.
The standard deviations ($96 and $62) suggest Year 11 is much more variable, but much of that comes from the single $480 outlier.
Answer
Compare the medians and IQRs, because Year 11's earnings are positively skewed with an outlier ($480). Year 12 students typically earned $55 more per week (median $205 compared with $150), and the spread of the middle half was similar (IQR $85 compared with $90).
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Check each group for skew (mean far from median) and outliers (fences).
If either group is skewed or has outliers, compare medians and IQRs; otherwise means and standard deviations.
Compare centre and spread with differences and units.
Watch out for
Comparing the means (a $32 difference) when one group is skewed, which understates the typical difference.
Concluding Year 11 is far more variable from the standard deviations alone.