IB Applications and Interpretation SL · Descriptive statistics · Section 5 of 5

Variance and standard deviation

3 worked examples · By Álvaro López

Key idea

The standard deviation measures how far the data spread from their mean, and it is given in the same units as the data. It is the spread measure that goes with the mean: in Paper 1 you calculate it with a table and in Paper 2 with the GDC. You also need to know what happens to the mean and the standard deviation when a number is added to, subtracted from or multiplied by all the data.

Measuring how far the data are from the mean

If you subtract the mean from each data value, the positive and negative deviations cancel out: their sum is always zero. To measure the spread, the deviations must be made positive. That is why they are squared and averaged.

Variance is in squared units (if the data are in metres, it is in square metres). That is why the number you compare with the data and interpret is the standard deviation, which is in the same units.

Calculating with a table

With raw data grouped by value, the table has one row for each value with its frequency . Add two columns, and , and total all the columns.

Grouped data in intervals

With intervals you do not know the exact values. Each interval is represented by its class midpoint, and the mean and standard deviation you get are estimates.

The method for the table is the same, but using the class midpoints as . Write "estimate" in the answer: the result is not that of the original data, but the one you get by assuming that each value in the interval equals its midpoint.

Using the GDC

Interpreting the standard deviation

A large standard deviation means the data are widely spread around the mean. A small one means the data are clustered close to it. A single number says little on its own: interpret it by comparing it with another standard deviation in the same unit, or with the mean itself.

Write the interpretation as a sentence in context. For example: "the call times in the morning are more consistent than those in the afternoon, because their standard deviation is smaller." A number without a sentence does not earn the interpretation mark.

What happens when the data change

Data are often transformed: a bonus is added to each salary, euros are converted to dollars, or the scale of the marks is changed. The mean and the standard deviation change, but not in the same way.

The reason is simple. Adding shifts all the data by the same distance: the mean moves with them, but the distances between data values do not change, so the spread does not either. Multiplying by stretches or shrinks the scale: each distance is multiplied by , so the standard deviation is multiplied by and the variance by .

For example, if 1 point is added to every mark on an exam, the mean goes up by 1 point, but the standard deviation does not change.

Worked examples

Example 1 Basic

Goals scored in twenty matches

A team has scored a number of goals in each of its 20 matches of the season. The table shows how many matches had each result:

Goals 1 2 3 4 5
Matches 2 5 6 4 3

a) Find the mean number of goals per match.

b) Find the variance.

c) Find the standard deviation.

Solution

We complete the table with and :

1 2 2 2
2 5 10 20
3 6 18 54
4 4 16 64
5 3 15 75

a) goals.

b) With the shortcut formula:

c) goals.

Example 2 Medium

Height of some plants, with grouped data

A nursery has measured the height of 20 plants of the same species. The results are grouped:

Height (cm)
Plants 4 7 6 3

Use the class midpoints to estimate:

a) the mean;

b) the standard deviation;

c) between which two values lie the mean minus one standard deviation and the mean plus one standard deviation.

Solution

The class midpoints are , , and cm, and .

a) , so cm (estimated).

b) . Then and the estimated standard deviation is cm.

c) The values are cm and cm. That is, between about and cm.

Example 3 Hard

Rescaling exam marks

The marks of 25 students in an exam marked out of 10 have a mean of and a standard deviation of . The teacher wants to convert each original mark into a new mark , so that the new mean is and the new standard deviation is .

a) Find and , given that .

b) A student got a on the original exam. What is their mark on the new scale?

c) The range of the original marks is . Find the new variance and the new range.

Solution

a) As , we have , so .

For the mean, : , so .

Therefore the transformation is .

b) . The new mark is a .

c) The new variance is , which is consistent with . The new range is .

In the exam: write the transformation first, calculate from the standard deviation and from the mean. If you do it the other way round, the mean comes out right but the standard deviation does not.

Common mistakes

Summary

  • and , with . The standard deviation is in the units of the data.
  • In grouped data, is the class midpoint and the results are estimates.
  • With a sample, if the question asks for it, use , which divides by . Otherwise, use .
  • With : , and . The only changes the mean.
  • Interpret the standard deviation by comparing, with a sentence in context.
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp