Measures of spread: range, interquartile range and standard deviation problems
Two classes can have the same mean and very different spreads. The range uses the extremes, the interquartile range the middle half, and the standard deviation every value's distance from the mean.
Key ideas
IQR = Q3 − Q1; outlier fences at Q1 − 1.5 × IQR and Q3 + 1.5 × IQR.
Mean absolute deviation = the average of |x − mean|.
Standard deviation: σ = √(Σx²/n − mean²).
Add c to every value: the spread stays. Multiply every value by k: the spread is × k (× |k| if k is negative).
Combining groups: add the Σx and the Σx² of both, then use the formula.
Watch out: A pay rise of a fixed amount leaves the range unchanged; a percentage rise scales it.
Practise this step
5 questions from this step only, in 8 minutes: new numbers and
stories every time, of exactly the types worked out below. Marked at the end, with every question
worked out.
9 types of question. Try each one yourself before you open
the hint or the solution.
Example 1 · level 7
The runners in a heat took these times, in seconds, to finish a race: 12, 44, 33, 50, 14, 28, 60, 24, 37, 50, 49, 12, 51, 56 and 46. What is the interquartile range of the times?
Hint
Put the times in order. The quartiles are the medians of the lower and the upper half, leaving the median itself out.
Worked solution
In order: 12, 12, 14, 24, 28, 33, 37, 44, 46, 49, 50, 50, 51, 56 and 60
Lower quartile Q₁ = 24, upper quartile Q₃ = 50
Interquartile range: 50 − 24 = 26
Answer: 26 seconds
Example 2 · level 7
On six days a bus was late by these numbers of minutes: 11, 14, 20, 25, 24 and 8. What is the mean absolute deviation of these delays?
Hint
First find the mean. Then find how far each delay is from it, and take the mean of those distances.
Worked solution
Mean: 102/6 = 17
Distances from the mean: 6, 3, 3, 8, 7 and 9, together 36
Mean absolute deviation: 36/6 = 6
Answer: 6 minutes
Example 3 · level 8
A box plot of the prices of the flats sold in a town, in thousands of euros, has its box from 155 to 305. A price counts as an outlier when it is more than 1.5 times the interquartile range above the upper quartile. What is the highest price, in thousands of euros, that is not an outlier?
Hint
The box runs from the lower to the upper quartile.
Worked solution
Interquartile range: 305 − 155 = 150
1.5 × 150 = 225
Upper fence: 305 + 225 = 530
Answer: 530 thousand euros
Example 4 · level 8
At a company, the monthly salaries have a median of 3050 euros and a range of 5100 euros. Everyone gets a rise of 6% and then an extra 50 euros a month. What is the range of the new salaries?
Hint
Work out the new highest and the new lowest salary in terms of the old ones. What happens to the extra euros when you subtract?
Worked solution
Each salary x becomes 1.06x + 50
Highest minus lowest: the 50 euros cancel, and the gap is multiplied by 1.06
New range: 5100 × 1.06 = 5406
Answer: 5406 euros
Example 5 · level 8
Five plants grew 23, 15, 21, 27 and 19 cm in a month. What is the standard deviation of their growth? Divide by the number of plants, as for a whole population.
Hint
Find the mean, square each value's distance from it, take the mean of the squares, and then the square root.
Worked solution
Mean: 105/5 = 21
Squared distances from the mean: 4, 36, 0, 36 and 4, together 80
Variance 80/5 = 16, standard deviation √16 = 4
Answer: 4 cm
Example 6 · level 9
Customers rated a café from one to five stars. The ratings 1, 2, 3, 4 and 5 were given 12, 7, 4, 15 and 12 times, in that order. What is the standard deviation of the ratings, taking them as a whole population?
Hint
Find the mean, then the mean of the squared ratings; the variance is the second minus the square of the first.
Worked solution
12 + 7 + 4 + 15 + 12 = 50 ratings with a total of 158: mean 158/50 = 3.16
Each count times its rating squared, added up, is 616: mean of the squares 616/50 = 12.32
Variance 12.32 − 9.9856 = 2.3344, standard deviation ≈ 1.5
Answer: 1.5 stars
Example 7 · level 9
The raw marks in a test have a mean of 65 and a standard deviation of 20. The teacher changes every mark into a × mark + b, so that the new marks have a mean of 49.75 and a standard deviation of 15. What is b?
Hint
Adding b moves the mean but not the spread; multiplying by a multiplies both.
Worked solution
Only a changes the spread: a = 15/20 = 0.75
The mean becomes (a × 65) + b = 48.75 + b
b = 49.75 − 48.75 = 1
Answer: 1
Example 8 · level 9
A weather station recorded the highest temperature on each of 40 days. The temperatures add up to 1360 °C, and their squares add up to 46,600. What is the standard deviation of the temperatures, taking them as a whole population?
Hint
The variance is the mean of the squares minus the square of the mean.
Worked solution
Mean: 1360/40 = 34
Mean of the squares: 46,600/40 = 1165, and 34² = 1156
Two groups ran the same test. The 22 students of one group had a mean of 67 and a standard deviation of 8; the 11 students of the other had a mean of 73 and a standard deviation of 13. What is the standard deviation of all the marks together? Treat each group as a whole population.
Hint
For each group, the mean of the squares of its marks is s² + m². Combine those, then subtract the square of the overall mean.
Worked solution
Overall mean: ((22 × 67) + (11 × 73))/33 = 69
Sum of the squares: (22 × (8² + 67²)) + (11 × (13² + 73²)) = 160,644, mean of the squares 160,644/33 = 4868
Variance 4868 − 4761 = 107, standard deviation ≈ 10.3
Answer: 10.3
Ready for the quiz?
Check yourself on this step: 5 questions, 8 minutes.