top of page

16.2 Standard Deviation

OCR A-level Maths Statistics and Mechanics Year 1 (AS) · H240 · Chapter 16: Working with Data

What is in the full lesson (30 activities)

Every item below opens free in the course.

A free OCR A-level Maths SM Year 1 lesson for OCR A Level Mathematics A (H240) from OBA School: variance and standard deviation from raw data and from summary statistics (OCR H240: 2.02f, 2.02g). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Calculate the variance and standard deviation of a list of data, showing detailed reasoning
  • Use the formula (Σ x²)/n − x̅² with summary statistics
  • Recover summary statistics from a mean and standard deviation, and combine data sets
  • Interpret and compare standard deviations in context

Key words

  • Deviation: How far a value is from the mean: x − x̅.
  • Variance: The mean of the squared deviations, written σ².
  • Standard deviation: The square root of the variance, σ. It has the same units as the data.
  • Summary statistics: Totals such as n, Σ x and Σ x² that are enough to find the mean and standard deviation.
  • Measure of spread: Range, interquartile range, variance or standard deviation: how spread out the data are.

Why the standard deviation?

The range uses only the two most extreme values and the interquartile range uses only the middle half. The standard deviation uses every value: it measures the typical distance of the data from the mean. Both data sets below have mean 10, but set B is far more spread out.

Each value has a deviation x − x̅. The deviations always add up to zero, so we square them before averaging. The mean of the squared deviations is the variance, and its square root is the standard deviation.

Key fact: σ² = (Σ (x − x̅)²)/n = (Σ x²)/n − x̅² σ = √variance

Worked example: same range, different spread

Set P: 1, 5, 5, 5, 9. Set Q: 1, 1, 5, 9, 9. Both have mean 5 and range 8.
P: squared deviations 16, 0, 0, 0, 16, so σ² = 32/5 = 6.4 and σ = 2.53
Q: squared deviations 16, 16, 0, 16, 16, so σ² = 64/5 = 12.8 and σ = 3.58

Answer: Q has the larger standard deviation: its values sit further from the mean, which the range cannot show.

In this course we divide by n. Your calculator may show two values: use the one labelled σₙ or σ x, not sₙ₋₁.

Calculating from raw data

When a question says "show detailed reasoning", you must write out the working, not just the calculator answer. A table of deviations is a clear layout.

Worked example: detailed reasoning

In this question you must show detailed reasoning. Find the standard deviation of 4, 7, 8, 10, 11, 14, 16.
x̅ = 70/7 = 10. Deviations: −6, −3, −2, 0, 1, 4, 6.
Squared deviations: 36, 9, 4, 0, 1, 16, 36, total 102. σ² = 102/7 = 14.571...
Check with the other formula: Σ x² = 802, 802/7 − 10² = 14.571...

Answer: σ = √14.571... = 3.82 (3 s.f.)

Using summary statistics

Often you are given only n, Σ x and Σ x². Use x̅ = (Σ x)/n and then the second form of the variance formula. Do not round the mean before squaring it.

Worked example: from totals

A cyclist records her journey time to work, t minutes, on 15 days. Σ t = 312 and Σ t² = 6626
t̅ = 312/15 = 20.8
σ² = 6626/15 − 20.8² = 441.733... − 432.64 = 9.0933...

Answer: mean 20.8 minutes, standard deviation √9.0933... = 3.02 minutes

Key fact: Working backwards: Σ x = nx̅ and Σ x² = n(σ² + x̅²).

Changing and combining data sets

To add a value, remove a value or merge two groups, rebuild Σ x and Σ x² for each group, combine the totals, then recalculate.

Worked example: a new member joins

A choir of 12 singers has mean age 34 years and standard deviation 5 years. A singer aged 47 joins. Find the new mean and standard deviation.
Σ x = 12 × 34 = 408, Σ x² = 12(5² + 34²) = 14172
New totals: Σ x = 455, Σ x² = 14172 + 47² = 16381, n = 13
x̅ = 455/13 = 35, σ² = 16381/13 − 35² = 35.08

Answer: new mean 35 years, new standard deviation 5.92 years

The standard deviation went up because the new value is far from the old mean. Adding a value equal to the mean would make the standard deviation go down slightly.

Worked example: interpreting in context

Two bakeries sell 800 g loaves. Bakery P: mean 803 g, sd 4 g. Bakery Q: mean 806 g, sd 15 g.
Q loaves are heavier on average, but their masses vary much more, so some Q loaves are likely to be well under 800 g.

Answer: Bakery P gives the more consistent loaf.

Common mistakes

  • Rounding x̅ before using (Σ x²)/n − x̅². Keep full accuracy until the end.
  • Confusing Σ x² (square, then add) with (Σ x)² (add, then square).
  • Forgetting the square root: the variance is not the standard deviation.
  • Using the calculator value sₙ₋₁ instead of σₙ.
  • Combining two groups by averaging their standard deviations. Rebuild the totals instead.

Revision questions

Try these, then check your answers below each one.

Question 1. Find the standard deviation of 3, 5, 6, 9, 12. Give your answer to 3 significant figures.

Answer: 3.16

Working: x̅ = 7. Squared deviations 16, 4, 1, 4, 25, total 50. σ² = 10, σ = √10 = 3.16.

Question 2. Each data set has mean 10. Which has the largest standard deviation? (Choose from: 2, 10, 18; 8, 10, 12; 9, 10, 11; 10, 10, 10.)

Answer: 2, 10, 18

Working: The values 2 and 18 are 8 away from the mean, so this set has the largest spread.

Question 3. A set of 8 values has mean 5 and standard deviation 2. Find Σ x².

Answer: 232

Working: 8(4 + 25) = 232.

Related lessons

Continue in the full course

This lesson is section 16.2 of our free OCR A-level Maths Statistics and Mechanics Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.

Continue lesson 16.2 in the free course →

 

 

 

 

 

 

 

bottom of page