Mean & Standard Deviation (SQA National 5 Maths): Revision Note
Exam code: X847 75
Finding the mean & standard deviation
What are the mean and standard deviation of a data set?
The mean of a data set is a type of average
Its value gives a 'typical value' for a number in the data set
The median is another type of average
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
If the standard deviation is zero, then all the data values are equal to the mean!
The interquartile range is another measure of spread
The mean and standard deviation are used together to analyse a set of data
The median and interquartile range may also be used together to analyse a data set
But you should not use the mean with the interquartile range, or the median with the standard deviation
Examiner Tips and Tricks
An exam question will tell you which average, and which measure of spread, to calculate for a given data set.
How do I find the mean of a data set?
The mean is the sum of the data values divided by the number of values
The mean of 1, 2, 6 is (1 + 2 + 6) ÷ 3 = 3
The mean can be fraction or a decimal
It may need rounding
You do not need to force it to be a whole number
You can have a mean of 7.5 people, for example!
The mean of a data set is sometimes represented by
Then the mean can be written as a formula
where
is the sum of all the data values
is the number of data values
This formula is not given to you in the exam
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,
In those formulae:
is the sample size (the number of values in the data set)
is the mean of the data set
stands for 'a value in the data set'
is the sum of the squares of the data values
Square each data value, then add those squared values together
is the square of the sum of the data values
Find the sum of all the data values, then square the sum
is the sum of the squares of the differences between the data values and the mean
Find the difference between each data value and the mean
Square each one of those differences
Then add those squared differences together
It can be useful to set up a table to work out these values and sums
See the Worked Example
Examiner Tips and Tricks
If you have already calculated the mean, then the form of the standard deviation formula will usually be easier to use.
But either formula will give you the same answer if you use it correctly.
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 = 20
To calculate the standard deviation, there are two different formulae you can use
Method 1
Using the formula
The mean,
, is 20, as calculated above
Start by finding the value of
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
Round to a sensible degree of accuracy
If a question doesn't say otherwise, 3 significant figures is usually a good choice
standard deviation = 3.37 (3 s.f.)
Method 2
Using the formula
Find the values of and
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
Round to a sensible degree of accuracy
If a question doesn't say otherwise, 3 significant figures is usually a good choice
standard deviation = 3.37 (3 s.f.)
Unlock more, it's free!
Did this page help you?