Lesson 5: Comparing groups with summary statistics
Compare two filling machines with technology
SkillsComparing with summary statisticsReporting a comparison
Worked example
A factory near Bundaberg fills packets of macadamias labelled 500 g. A sample of eight packets from each of two machines had these masses, in grams:
| Mass (g) | |
|---|---|
| Machine A | 498, 501, 499, 502, 500, 497, 503, 500 |
| Machine B | 492, 507, 495, 510, 499, 488, 504, 505 |
Use technology to compare the two machines. Which machine is better?
Step 1: Find the statistics for each machine
With one-variable statistics:
Median Range IQR Machine A 500 g 2.00 g 500 g 6 g 3 g Machine B 500 g 7.78 g 501.5 g 22 g 12.5 g For the IQR, the halves of A are 497, 498, 499, 500 and 500, 501, 502, 503, so and ; for B, and .
Step 2: Choose the statistics to compare
Both data sets are roughly symmetric with no outliers (A's fences are 494 and 506; B's are 474.75 and 524.75), so compare the means and standard deviations.
Step 3: Compare centre
Both machines have a mean of 500 g, exactly the labelled mass, so on average both fill correctly.
Step 4: Compare spread
Machine B's standard deviation (7.78 g) is almost four times Machine A's (2.00 g), and its range is 22 g compared with 6 g. Machine A is far more consistent.
Step 5: Answer the question
Machine A is better: both machines average 500 g, but A's packets are much closer to 500 g. Two of B's eight packets were 8 g or more under the label.
Answer
Both machines have a mean of 500 g, but Machine A is much more consistent ( g compared with 7.78 g), so Machine A is better.
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Enter each group in its own list and run one-variable statistics on each.
Check the shape and outliers to choose mean and , or median and IQR.
Compare centre, then spread, with numbers and units.
Answer the question in context.
Watch out for
Reading (1.87 g and 7.28 g) instead of .
Concluding the machines are the same because the means are equal. Spread matters too.