A-level Mathematics11.5 Measures of central tendency and variation, including standard deviation

All books

11.5 Measures of central tendency and variation, including standard deviation — Learn

Prerequisites: the mean, median and mode from GCSE; using a formula, and squaring and square-rooting with a calculator.

By the end of this section you can: choose and calculate an average; find quartiles and the interquartile range; calculate the standard deviation from a list and from summary statistics; and use the mean and standard deviation to compare two distributions.

1. Measures of central tendency

An average is a single value that stands for the centre of a data set. The three averages are the mean, the median and the mode.

Use the mean for symmetric data with no outliers. Use the median when the data are skewed or contain an outlier. Use the mode for the most common category.

Example 1. Find the mean, median and mode of 3,4,4,6,8,9,113, 4, 4, 6, 8, 9, 11.

mean=3+4+4+6+8+9+117=457=6.43.\text{mean} = \frac{3 + 4 + 4 + 6 + 8 + 9 + 11}{7} = \frac{45}{7} = 6.43.

The middle value is the fourth, so the median is 6. The value 4 occurs twice, and no other value occurs more than once, so the mode is 4.

Grouped data. When the values are given only as classes, use the midpoint of each class as a stand-in for every value in it. For classes 00–1010, 1010–2020 and 2020–3030 with frequencies 1212, 2020 and 1818, the midpoints are 55, 1515 and 2525, and

xˉ≈5×12+15×20+25×1850=81050=16.2.\bar{x} \approx \frac{5 \times 12 + 15 \times 20 + 25 \times 18}{50} = \frac{810}{50} = 16.2.

This is an estimate: every value in a class is treated as if it were at the midpoint, so a different grouping can give a different answer. For grouped data the mode becomes the modal class, the class with the highest frequency, because no single value is recorded.

2. Measures of variation

A measure of variation says how spread out the data are. Two data sets can have the same mean and very different spreads.

3. Quartiles and the interquartile range

Put the data in order. A quartile position uses

position of Q1=n+14,position of Q3=3(n+1)4.\text{position of } Q_1 = \frac{n + 1}{4}, \qquad \text{position of } Q_3 = \frac{3(n + 1)}{4}.

If the position is not a whole number, interpolate between the two values on either side. The interquartile range is

IQR=Q3−Q1.\text{IQR} = Q_3 - Q_1.

Example 2. Find Q1Q_1, Q3Q_3 and the IQR of 3,5,8,10,12,143, 5, 8, 10, 12, 14.

There are n=6n = 6 values. The position of Q1Q_1 is

6+14=1.75,\frac{6 + 1}{4} = 1.75,

which is three-quarters of the way from the 1st value to the 2nd:

Q1=3+0.75(5−3)=4.5.Q_1 = 3 + 0.75(5 - 3) = 4.5.

The position of Q3Q_3 is

3(6+1)4=5.25,\frac{3(6 + 1)}{4} = 5.25,

so

Q3=12+0.25(14−12)=12.5.Q_3 = 12 + 0.25(14 - 12) = 12.5.

The interquartile range is

IQR=12.5−4.5=8.\text{IQR} = 12.5 - 4.5 = 8.

4. The standard deviation

The standard deviation is the root mean square deviation from the mean. It measures how far, on average, the values sit from the mean.

For a data set x1,x2,…,xnx_1, x_2, \ldots, x_n with mean xˉ\bar{x},

σ=∑(x−xˉ)2n.\sigma = \sqrt{\frac{\sum (x - \bar{x})^2}{n}}.

Here σ\sigma is the standard deviation, xx stands for each value and nn is the number of values.

A useful calculating form is

σ=∑x2n−xˉ2.\sigma = \sqrt{\frac{\sum x^2}{n} - \bar{x}^2}.

The standard deviation has the same units as the data. A large standard deviation means the values are spread widely around the mean. A small standard deviation means they cluster near the mean.

Some calculators and spreadsheets divide by n−1n - 1 instead of nn, and call the result the sample standard deviation. Both are accepted at A-level, but you must say which one you used. The method above divides by nn.

Example 3. Find the standard deviation of 2,4,6,8,102, 4, 6, 8, 10.

The mean is

xˉ=2+4+6+8+105=6.\bar{x} = \frac{2 + 4 + 6 + 8 + 10}{5} = 6.

The squared deviations from the mean are

16, 4, 0, 4, 16.16,\ 4,\ 0,\ 4,\ 16.

Their sum is 40, so

σ=405=8=2.83 (3 s.f.).\sigma = \sqrt{\frac{40}{5}} = \sqrt{8} = 2.83 \ (3 \text{ s.f.}).

The mean is the value that makes the total squared deviation smallest, which is why the deviations are measured from it.

5. Standard deviation from summary statistics

Sometimes you are given the totals rather than the list. Use the calculating form.

Example 4. A data set has n=10n = 10, ∑x=60\sum x = 60 and ∑x2=800\sum x^2 = 800. Find the mean and the standard deviation.

The mean is

xˉ=6010=6.\bar{x} = \frac{60}{10} = 6.

Then

σ=80010−62=80−36=44=6.63 (3 s.f.).\sigma = \sqrt{\frac{800}{10} - 6^2} = \sqrt{80 - 36} = \sqrt{44} = 6.63 \ (3 \text{ s.f.}).

6. Using the mean and standard deviation to compare

Two distributions are often compared with the mean and the standard deviation together. The mean describes the centre, and the standard deviation describes the spread.

Example 5. Two classes sit the same test. Class A has mean 60 and standard deviation 4. Class B has mean 60 and standard deviation 12. Compare the classes.

Both classes have the same mean, so their typical scores agree. Class B has the larger standard deviation, so its scores are more spread out. Class B contains more very high and very low scores, and Class A is more consistent.

Example 6. Every value in a data set is increased by 10. Explain what happens to the mean and the standard deviation.

Adding 10 moves every value up by 10, so the mean rises by 10. The distances from the mean do not change, so the standard deviation is unchanged.

7. Try it: what moves when the data change

Predict first. The figure shows five readings, their mean and a bar one standard deviation wide either side of the mean. Before you touch the controls, predict which of the two changes more when you move the fifth reading a long way from the others: the mean or the standard deviation. Write your prediction down.

Figure 1

Test. Move the slider for the fifth reading and watch the marker for the mean and the bar for the standard deviation. Then move the slider that adds the same amount to every reading, and watch both again.

Explain. Write two sentences. The first explains why the mean moves by only one-fifth of the change in one reading. The second explains why adding the same amount to every reading leaves the standard deviation unchanged.

Dividing by n−1n - 1 without saying so. If your calculator uses n−1n - 1, state it. The two values are close for a large sample, but they differ for a small one.

Comparing means without comparing spreads. Two data sets can share a mean and have very different spreads. Always report a measure of variation as well.

Re-check: the standard deviation cannot be negative, and it is zero only when every value is the same.

Progress check

Return to the chapter problem. The 30 journey times are in the chapter opener. Do not add them all up yet.

  1. By looking at the middle of the list, estimate the mean.
  2. Two of the values are 12 and 58. Which one pulls the mean more, and why?
  3. Would you expect the standard deviation of these times to be small or large? Give a reason.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.