Two classes can have the same mean mark and still be very different: in one, everyone scored close to the mean; in the other, some scored very high and some very low. An average says where the data is centred. A measure of spread (or dispersion) says how far the values are scattered around it. You’ll need the mean and median for all of them.
Try it
Start with Data together, then Data spread out. The mean is 10 both times, but the red lines, each value’s distance from the mean, are much longer the second time. Drag a dot far away and watch every measure grow.
Range and interquartile range
The range is the largest value minus the smallest. It’s quick, but one unusual value changes it completely. From a frequency table, use the largest and smallest values that actually occur: a score with frequency 0 doesn’t count.
More: the range
- JAMB 2012 · UTME · Q45Find the range of 4, 9, 6, 3, 2, 8, 10 and 11.
- NECO 2024 · Paper 1 · Q52Find the range of 4, 9, 6, 3, 2, 8, 10, 7, 11.
- WAEC 2024 · Paper 1 · Q48Find the range of the following set of numbers: 28, 29, 39, 38, 33, 37, 26, 20, 15 and 25.
- JAMB 2003 · UME · Q45The range of 4, 3, 11, 9, 6, 15, 19, 23, 27, 24, 21 and 16 is
- JAMB 2004 · UME · Q44The weights of 10 pupils in a class are 15 kg, 16 kg, 17 kg, 18 kg, 16 kg, 17 kg, 17 kg, 17 kg, 18 kg and 16 kg. What is …
- JAMB 2001 · UME · Q44Find the range of and .
- JAMB 2017 · UTME (set 2) · Q35Find the range of the following set of numbers: 0.4, −0.4, 0.3, 0.47, −0.53, 0.2 and −0.2.
- JAMB 2002 · UME · Q23The range of the data and is
- JAMB 2013 · UTME · Q46| Score | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
- JAMB 2000 · UME · Q48Find the sum of the range and the mode of the numbers 10, 5, 10, 9, 8, 7, 7, 10, 8, 10, 8, 4, 6, 9, 10, 9, 10, 9, 7, 10, …
- JAMB 2017 · UTME (set 2) · Q14Find the sum of the range and the mode of the set of numbers 10, 9, 10, 9, 8, 7, 7, 10, 8, 10, 8, 4, 6, 9, 10, 9, 7, 10, …
- NECO 2022 · Paper 1 · Q57Find the range of the following set of numbers: 8, 10, 2, 6, 16, 24, 12, 20.
- WAEC 2013 · Paper 2 · Q9Solve: .
The quartiles split the ordered data into four equal parts:
- , the lower quartile: a quarter of the data is below it;
- , the median: half is below it;
- , the upper quartile: three quarters are below it.
The interquartile range is : the spread of the middle half of the data, which ignores the extreme values at each end. The semi-interquartile range is half of it, .
Finding the quartiles of a list
Put the values in order. Then:
- is the value in position ;
- is the value in position .
When the position isn’t a whole number:
- if it ends in .5, go halfway between the two values either side (position 2.5 is halfway between the 2nd and 3rd values);
- if it ends in .25 or .75, round up to the next position (position 2.75 means the 3rd value).
The median is found as usual, at position .
Worked example · WAEC 2023
WAEC 2023 · Paper 2 · Q5 (a, b)
The heights (in cm) of 10 students in a class are: and . Find the:
range;
interquartile range;
Order the data
Think first. Write the 10 heights from smallest to largest.
(a) Range
cm.
Lower quartile
, so is halfway between the 2nd and 3rd heights: .
Think first. . Where is ?
Upper quartile
, so is halfway between the 7th and 8th heights: .
Think first. Where is ?
(b) Interquartile range
cm.
More: quartiles of a list
Quartiles from a frequency table
In a frequency table the values are already in order. Add a row of running totals (the cumulative frequencies) and use it to see which value sits in each position. For the scores below, , so is the 5th value and the 15th:
| Score | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Frequency | 3 | 5 | 6 | 4 | 2 |
| Running total | 3 | 8 | 14 | 18 | 20 |
The 4th to 8th values are all 2, so . The 15th to 18th are all 4, so , and the interquartile range is .
More: quartiles from a frequency table
- WAEC 2014 · Paper 2 · Q11The probabilities that Manful, John and Ernest will pass an examination are , and respectively. …
- WAEC 2017 · Paper 2 · Q8| Marks | 1 | 2 | 3 | 4 | 5 |
- WAEC 2022 · Paper 2 · Q11| Marks | 2 | 3 | 4 | 5 | 6 |
- WAEC 2009 · Paper 2 · Q3The table shows the number of children per family in a community.
Mean deviation
Find how far each value is from the mean, . Some of these are negative, and with their signs they always add up to 0, so their plain average is useless. The mean deviation uses their sizes instead, the absolute values :
More: mean deviation
- JAMB 2004 · UME · Q45Find the mean deviation of 1, 2, 3 and 4.
- JAMB 1994 · UME · Q46Find the mean deviation of the numbers 4, 5, 9.
- NECO 2023 · Paper 1 · Q49Calculate the mean deviation of the scores 4, 5, 3, 2, 1.
- JAMB 2002 · UME · Q30Calculate the mean deviation of the numbers 7, 3, 14, 9, 7 and 8.
- JAMB 2017 · UTME · Q4Calculate the mean deviation of the numbers 7, 3, 14, 9, 7 and 8.
Variance and standard deviation
The other way to get rid of the signs is to square the deviations. Squaring also makes far-away values count for more. Switch the board to Squared distances to see this.
The standard deviation (SD) is the square root of the variance, so it’s back in the same units as the data (marks, years, kg).
Worked example · NECO 2024
Given the numbers 2, 6, 9, 8, 7, 9, 8, 7, calculate, correct to 2 decimal places, the:
mean deviation;
standard deviation.
The mean
The sum is and there are 8 numbers, so .
Think first. Find the mean first.
The table
2 6 9 8 7 9 8 7 Total 5 1 2 1 0 2 1 0 12 25 1 4 1 0 4 1 0 36 Think first. Fill in and for each number.
Mean deviation
Standard deviation
Variance , so the standard deviation is .
Think first. Divide, then don't forget the last step.
More: variance and standard deviation of a list
- JAMB 1995 · UME · Q46The variance of the scores 1, 2, 3, 4, 5 is
- JAMB 2014 · UTME · Q47Find the standard deviation of 5, 4, 3, 2, 1.
- JAMB 1992 · UME · Q45If the scores of 3 students in a test are 5, 6 and 7, find the standard deviation of their scores.
- JAMB 1993 · UME · Q49Calculate the standard deviation of the data 7, 8, 9, 10, 11, 12, 13.
- JAMB 1997 · UME · Q47Find the standard deviation of the data .
- JAMB 2016 · UTME · Q24Find the standard deviation of 2, 3, 5 and 6.
- JAMB 2001 · UME · Q45Find the variance of 2, 6, 8, 6, 2 and 6.
- NECO 2024 · Paper 1 · Q53Calculate the variance of 30, 28, 35, 25, 37.
- WAEC 2019 · Paper 1 · Q41Calculate the variance of 2, 4, 7, 8 and 9.
- WAEC 2024 · Paper 1 · Q40The masses (in kg) of members in a club are 59, 44, 53, 57, 49, 40, 48 and 50. Calculate the variance of the distribution.
- WAEC 2020 · Paper 1 · Q35The mean of the numbers 15, 21, 17, 26, 18 and 29 is 21. Calculate the standard deviation.
- JAMB 2012 · UTME · Q46Find the standard deviation of 2, 3, 8, 10 and 12.
- NECO 2022 · Paper 1 · Q53The mean of the following set of data: 5, 7, 9, and 6 is 6. Find the variance.
Shifting and scaling data
Two facts save a lot of arithmetic:
- Adding the same number to every value moves the mean by that number but leaves the spread alone. The range, the mean deviation and the standard deviation don’t change.
- Multiplying every value by multiplies the range, the mean deviation and the standard deviation by , and the variance by .
So , , has the same variance as , which is , whatever is. When a question gives the standard deviation and hides one value as a letter, write the variance with the letter in it, set it equal to the square of the given SD, and solve.
More: data with letters in it
- JAMB 1998 · UME · Q44Find the variance of the numbers , , .
- JAMB 2000 · UME · Q47The variance of , , , and is
- JAMB 2000 · UME · Q42If the mean of the numbers , , and is 4, find their mean deviation.
- JAMB 2003 · UME · Q42The mean of the numbers 3, 6, 4, and 7 is 5. Find the standard deviation.
- JAMB 1998 · UME · Q45Find the positive value of if the standard deviation of the numbers , , is .
- JAMB 1999 · UME · Q44If the standard deviation of the numbers 3, 6, , 7, 5 is , find the least possible value of .
- JAMB 2013 · UTME · Q45If the variance of , , , and is 4 and the mean is 5, find the standard deviation.
- JAMB 1997 · UME · Q48Find the difference between the range and the variance of the numbers 4, 9, 6, 3, 2, 8, 10, 5, 6, 7, where .
From a frequency table
Each deviation now happens times, so multiply by before adding:
When the mean is not a whole number, this form is often quicker and has fewer rounding errors:
Worked example · WAEC 2016
| Marks | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|
| Frequency | 1 | 4 | 3 | 5 | 2 | 2 |
The table shows the distribution of marks of students in a Mathematics test. If the mean of the distribution is 6, calculate the:
standard deviation, correct to 2 decimal places.
The table
Columns: , , , , and .
3 4 5 6 7 8 9 Total 1 4 3 5 2 3 2 20 9 4 1 0 1 4 9 9 16 3 0 2 12 18 60 Think first. From part (a), and the mean is 6. What are the columns?
Standard deviation
For grouped data, such as marks in classes 1–10, 11–20, …, use each class mid-point as its .
More: spread from a frequency table
- WAEC 2023 · Paper 2 · Q9| Height (m) | 3 | 4 | 5 | 6 | 7 | 8 |
- WAEC 2022 · Paper 2 · Q10| Age (years) | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
- WAEC 2011 · Paper 2 · Q11| Score | 1 | 2 | 3 | 4 | 5 | 6 |
- WAEC 2016 · Paper 2 · Q9The weight (in kg) of 50 contestants at a competition is as follows: 65 66 67 66 64 66 65 63 65 68 64 62 66 64 67 65 64 66 …
- JAMB 1995 · UME · Q45Find the standard deviation of the data in the table below.
- WAEC 2012 · Paper 2 · Q12The ages (in years) of men selected from a community are as follows: 44 28 58 50 93 35 34 52 57 61 40 63 90 67 64 56 51 82 …
Your turn
WAEC 2021 · Paper 2 · Q5
| Age | 12 | 13 | 15 | 10 | 14 | 16 |
|---|---|---|---|---|---|---|
| Frequency | 2 | 3 | 3 | 9 | 6 | 2 |
The table shows the distribution of ages of some students in a school.
- (a)
Find, correct to one decimal place, the mean deviation.
Worked solution (try it first)
- Put the ages in order (the table in the question isn't) and find the mean first:
Age 10 12 13 14 15 16 Total 9 2 3 6 3 2 25 90 24 39 84 45 32 314 - Mean .
Age 10 12 13 14 15 16 Total 2.56 0.56 0.44 1.44 2.44 3.44 23.04 1.12 1.32 8.64 7.32 6.88 48.32
(a)
- Mean deviation.
More past questions like this
- WAEC 2021 · Paper 2 · Q11| Number of hours per day | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
- WAEC 2020 · Paper 2 · Q3The ages of some lecturers are 42, 54, 50, 54, 50, 42, 46, 46, 48 and 48. Calculate the:
- WAEC 2022 · Paper 2 · Q11| Age (years) | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
- WAEC 2012 · Paper 2 · Q10| Marks | 60–64 | 65–69 | 70–74 | 75–79 | 80–84 | 85–89 | 90–94 | 95–99 |
- NECO 2023 · Paper 2 · Q12The scores of students in a Biology test in a particular school are 12, , 15, , 25, 12, 30, 15, 25, 12, 16 and 12. …
- WAEC 2014 · Paper 2 · Q11| Score | 1 | 2 | 3 | 4 | 5 | 6 |
- WAEC 2023 · Paper 2 · Q11The table shows the frequency distribution of the ages of fifty members of a family.
- JAMB 2010 · UTME · Q48Find the standard deviation of 2, 3, 5 and 6.
- WAEC 2023 · Paper 1 · Q25Find the mean deviation of the numbers 14, 15, 16, 17, 18, 19.
- WAEC 2020 · Paper 1 · Q47The interquartile range of a distribution is 7. If the 25th percentile is 16, find the upper quartile.
- WAEC 2020 · Paper 2 · Q10The ages of 14 children at a party are given as follows: 12, 6, 5, 4, 8, 13, 11, 2, 5, 7, 1, 9, 10 and 3.