Standard Deviation & Variance (Edexcel A Level Maths: Statistics): Revision Note

Exam code: 9MA0

Amber

Written by: Amber

Reviewed by: Dan Finlay

Updated on

Guided study available on this topic

Understand this topic with deeper explanations and understanding checks.

Standard deviation & variance

  • The variance is another measure for the spread of the data, it measures the variability from the mean of the data

What is the variance and the standard deviation?

  • The variance is a statistic that tells us how varied a set of data is

    • Data that is more spread out will have a greater variance

    • Data that is consistent and close together will have a smaller variance

  • The standard deviation is the square root of the variance

  • The symbol for the population standard deviation is the lowercase Greek letter sigma, σ  and for variance is sigma squared, σ2

  • Standard deviation and variance are used interchangeably within this course so make sure you look out for which one a question shows or asks for

How are the variance and standard deviation calculated?

  • There is more than one formula that can be used for calculating the variance, and you should choose the most useful one

  • For a set of n values x1, x2, ... , xi , ... ,xnthe variance is the sum of the squares of the deviations from the mean, divided by the frequency

    • Variance =Σ(x−x¯)2n

      • This formula can be time consuming and therefore is rarely used in this statistics course

  • A second, easier to use version of the variance is:

    • Variance = Σx2n−x¯2

    • This version is easier to work with and should be used in most instances

      • The summary statistic Sxx=Σ(xi − x)2 = Σxi2−(Σxi)2n  can help derive different formulae as shown below:

Variance =σ2=Σ(x−x¯)2n=Sxxn=1n(Σx2−(Σx)2n)=Σx2n−(Σxn)2=Σx2n−x¯2  

  • An easy way to remember this is to think of it as ‘the mean of the squared values minus the square of the mean’

    • Most calculators can be used to find summary statistic such as the standard deviation and variance fairly quickly, practice finding it on yours

  • The standard deviation is the square root of the variance

    • Standard deviation = σ = Σ(x−x¯)2n=Σx2n−x¯2 =Sxxn

      • Make sure you know how to find these formulae in the formula booklet and are familiar with the version given

  • The units for standard deviation are the same as the units for the data and the units for variance are the same as the units for the data but squared

How are the variance and standard deviation calculated from a frequency table?

  • The method for finding the variance from a frequency table is similar to that of the mean

    • If calculating from a grouped frequency table, find the midpoints, x,  first

    • Multiply each x value by its corresponding frequency and use these values within the formulae

    • The formulae will become

      • Variance = σ2= Σf(x−x¯)2Σf=Σfx2Σf−(ΣfxΣf)2

      • Standard deviation = begin mathsize 16px style sigma space equals space square root of fraction numerator straight capital sigma f left parenthesis x minus x with bar on top right parenthesis squared over denominator straight capital sigma f end fraction end root equals square root of fraction numerator straight capital sigma f x squared over denominator straight capital sigma f end fraction minus open parentheses fraction numerator straight capital sigma f x over denominator straight capital sigma f end fraction close parentheses squared end root to the power of blank space end style

Worked Example

Phoom recorded the length of time, t , it took him, in minutes, to answer a selection of further calculus exam questions. The data is summarised in the table below.

Time (minutes)

Frequency

 2 ≤ t < 4

1

 4 ≤ t < 6

4

 6 ≤ t < 8

7

 8 ≤ t < 10

5

 10 ≤ t < 12

2

 12 ≤ t < 20

2

(i) Calculate an estimate of the variance of the time taken to complete a question, include units with your answer.

 

(ii) Write down an estimate of the standard deviation of the time taken to complete a question, include units with your answer.

Answer:

2-1-3-sd-and-variance-we-solution-part-1
2-1-3-sd-and-variance-we-solution-part-2

Examiner Tips and Tricks

  • Look out for whether a question gives or asks for the standard deviation or variance, especially if the question is using sigma notation.

  • Choose which formula to use wisely, most of the time the summary statistics will be given so only one of the formulae will be possible. On the rare occasion that you are asked to calculate directly from a table think carefully about which version of the formula is quickest and easiest to use. It will almost always be the second version given in this revision note.

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Questions students ask about Standard Deviation & Variance

Real questions from students revising this topic on Save My Exams

How do you know which standard deviation formula to use?

Both versions give the same answer, so pick the one that fits the information you are given — usually σ² = Σx²/n − x̄², "the mean of the squares minus the square of the mean".

  • σ² = Σ(x − x̄)²/n is the definition, but it is slow because you must subtract the mean from every value before squaring, so it is rarely used
  • σ² = Σx²/n − x̄² is quicker and is the one for most questions

Matching the formula to what you are given:

  • Σx and Σx²: use Σx²/n − x̄², finding x̄ = Σx/n first
  • Sxx: use σ² = Sxx/n
  • A frequency table: use Σfx²/Σf − (Σfx/Σf)²
  • Raw data: use your calculator's STAT mode

Usually only one version is actually possible with the numbers given, which makes the choice for you.

Always check whether the question gives or wants the variance (σ²) or the standard deviation (σ) — square root the variance to get σ.

What does a larger standard deviation mean?

A larger standard deviation means the data is more spread out from the mean; a smaller one means the values are more consistent and closer to the mean.

  • Standard deviation measures spread about the mean
  • It is in the same units as the data, so you can interpret it directly; variance says the same thing but in squared units

Example — two sets with the same mean of 10:

  • 9, 10, 11 has standard deviation 0.816 (3 s.f.)
  • 5, 10, 15 has standard deviation 4.08 (3 s.f.)
  • The second is far more spread out, even though the means match

From this page: Phoom's question times have a mean of 8.14 minutes and an estimated standard deviation of 3.23 minutes (3 s.f.). Someone with a larger standard deviation would be less consistent than Phoom.

When you compare two data sets, say it in context: larger standard deviation means more variation and less consistency; smaller means more consistent.

Why do you use midpoints when calculating standard deviation from a grouped frequency table?

Grouping hides the original values, so the midpoint stands in as the estimate for every value in a class, and multiplying by the frequency counts it once for each piece of data.

Why midpoints:

  • The table only tells you how many values fall in each class, not what they were
  • You assume every value in the class sits at the midpoint, which is the best single estimate

Why multiply by frequency:

  • If 4 values are all treated as 5, their total is 4 × 5 = 20, which is fx
  • The total of their squares is 4 × 5² = 100, which is fx²
  • Adding up the columns gives Σfx and Σfx²

From this page (Phoom's times), the class 4 ≤ t < 6 has midpoint 5 and frequency 4, giving ft = 20 and ft² = 100. The totals are Σft = 171, Σft² = 1611 and Σf = 21, so the variance is 1611/21 − (171/21)² = 10.4 minutes² and the standard deviation is 3.23 minutes (3 s.f.).

Because of the midpoint assumption, the answer is always an estimate.

Amber

Author: Amber

Expertise: Maths Content Creator

Amber gained a first class degree in Mathematics & Meteorology from the University of Reading before training to become a teacher. She is passionate about teaching, having spent 8 years teaching GCSE and A Level Mathematics both in the UK and internationally. Amber loves creating bright and informative resources to help students reach their potential.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.