20.2 Standard Deviation
AQA A-level Maths Statistics and Mechanics Year 1 (AS) · 7357 · Chapter 20: Working with Data
What is in the full lesson (16 activities)
Every item below opens free in the course.
- Video: Measures of Location and Spread: Variance and Standard Deviation example 1
- Video: Measures of Location and Spread: Variance and Standard Deviation example 2
- Video: Measures of Location and Spread: Variance and Standard Deviation example 3
- Video: Measures of Location and Spread: Variance and Standard Deviation example 4
- Video: Measures of Location and Spread: Variance and Standard Deviation example 5
- Video: Variance and standard deviation Ex:1
- Video: Variance and standard deviation Ex:2
- Video: Variance and standard deviation Ex:3
- Video: Measures of Location and Spread: Variance and Standard Deviation example 6 (SM Practice OSG)
- Video: Measures of Location and Spread: Variance and Standard Deviation example 7 (SM Practice OSG)
- Notes: Lesson notes: Standard Deviation
- Interactive lesson: Interactive lesson: Standard Deviation Visualiser
- Interactive lesson: Interactive practice: Standard Deviation Practice
- Practice questions: Practice questions (8 questions, 16 marks)
- Worksheet: Worksheet: Standard Deviation
- Answers: Answers and mark scheme of the Worksheet: Standard Deviation
A free AQA A-level Maths SM Year 1 lesson for AQA A-level Mathematics (7357) from OBA School: variance and standard deviation from raw data and from summary statistics (AQA 7357: L3). 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 full working when asked
- 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
Your calculator will find a standard deviation directly, and with the large data set you will use technology. But when a question says "Show that", or asks you to show your working, you must write out the working, not just the calculator answer. A table of deviations is a clear layout.
Worked example: showing full working
Find the standard deviation of 4, 7, 8, 10, 11, 14, 16, showing your working.
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 driver records the time, t minutes, taken to charge her electric car 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
- Previous lesson: 20.1 Statistical Diagrams
- Next lesson: 20.3 Calculations from Frequency Tables
- In this chapter: 20.4 Scatter Diagrams and Correlation
- In this chapter: 20.5 Outliers and Cleaning Data
Continue in the full course
This lesson is section 20.2 of our free AQA 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 20.2 in the free course →