Standard Deviation (SQA National 5 Applications of Mathematics): Revision Note

Exam code: X844 75

Dan Finlay

Written by: Dan Finlay

Reviewed by: Roger B

Updated on

Standard deviation

What is the standard deviation of a data set?

  • The standard deviation is a measure of spread

    • It tells you how spread out the data set is around the mean

  • The larger the standard deviation, the more spread out the data is

  • The smaller the standard deviation, the less spread out the data is

How do I find the standard deviation of a data set?

  • The Formulae List in the exam paper gives you two different ways to calculate the standard deviation, s

    • s=Σ(xx¯)2n1

    • s=Σx2(Σx)2nn1

Formula with the mean

  • s=Σ(xx¯)2n1

  • STEP 1
    Find the mean x¯ of the data

  • STEP 2
    Calculate Σ(xx¯)2

    • Subtract the mean from each value

    • Square these differences

    • Add the squares together

  • STEP 3
    Divide by n1

    • This is one less than the number of values

  • STEP 4
    Take the square root of your answer

Formula without the mean

  • s=Σx2(Σx)2nn1

  • STEP 1
    Calculate Σx2

    • Square each value

    • Add the squares together

  • STEP 2
    Calculate (Σx)2n

    • Add the values together

    • Square the sum

    • Divide by the number of values

  • STEP 3
    Subtract (Σx)2n from Σx2

  • STEP 4
    Divide by n1

    • This is one less than the number of values

  • STEP 4
    Take the square root of your answer

Examiner Tips and Tricks

It can be useful to set up a table to work out these values and the sums.

If you have already worked out the mean, then you will have already worked out Σx. You divide Σx by the number of values to get the mean. So you can multiply the mean by the number of values to get Σx.

Worked Example

A teacher recorded the number of correct answers achieved by a sample of seven students in a short mathematics test. The results for School A were:

19, 21, 16, 22, 17, 19, 26

Calculate the mean and standard deviation of the number of correct answers achieved by the students in School A.

Answer:

To calculate the mean

  • Find the sum of the data values

  • and divide it by the number of data values (7)

mean=19+21+16+22+17+19+267=1407

mean = 20

To calculate the standard deviation, there are two different formulae you can use

Method 1

Using the formula s=Σ(xx¯)2n1

  • The mean, x¯, is 20, as calculated above

  • n=7

Start by finding the value of Σ(xx¯)2

x

xx¯

(xx¯)2

19

19-20=-1

(-1)2=1

21

21-20=1

12=1

16

16-20=-4

(-4)2=16

22

22-20=2

22=4

17

17-20=-3

(-3)2=9

19

19-20=-1

(-1)2=1

26

26-20=6

62=36

sum = 68

Substitute the values into the formula

s=6871=3.366501...

Round your answer to a sensible degree of accuracy

  • All the values in the question have two significant figures

standard deviation = 3.4

Method 2

Using the formula s=Σx2(Σx)2nn1

  • n=7

Find the values of Σx and Σx2

x

x2

19

192=361

21

212=441

16

162=256

22

222=484

17

172=289

19

192=361

26

262=676

sum:  140

sum:  2868

Substitute the values into the formula

s=2868(140)2771=3.366501...

Round your answer to a sensible degree of accuracy

  • All the values in the question have two significant figures

standard deviation = 3.4

Unlock more, it's free!

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

the (exam) results speak for themselves:

Dan Finlay

Author: 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.

Roger B

Reviewer: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.