Measures of dispersion
Studying this course? Keep your progress in one place.
Key facts
- Range largest smallest; IQR , the spread of the middle 50%.
- Variance and standard deviation ; the divisor is .
- For , : adding a constant does not change the spread.
- A smaller standard deviation or IQR means more consistent data.
- Use the median and IQR for skewed data, and the mean and standard deviation otherwise.
Range and quartiles
The range uses only the extremes; the interquartile range is , the spread of the middle half, so extremes do not affect it.
A measure of dispersion describes how widely data vary. The range is the largest value minus the smallest, which depends on two values only.
The quartiles split ordered data into four equal parts: is the th value, the th and the th.
- If the position is not a whole number, round up.
- If it is a whole number, take the mean of that value and the next.
The interquartile range is not affected by extreme values.
- Rangelargest smallest
- Interquartile range
Worked example
Find , and the IQR of 2, 4, 4, 4, 5, 5, 7, 9.
- 1
, so , a whole number. is the mean of the 2nd and 3rd values: .
- 2
, also whole. is the mean of the 6th and 7th values: .
- 3
.
For values, which value is ?
Percentiles and interpolation
Find the class containing the required position, then interpolate linearly within it.
An interpercentile range is the difference between two percentiles, such as , which ignores the most extreme 10% at each end.
For grouped continuous data, estimate any percentile by linear interpolation assuming even spread in each class. Locate the class containing the required position (for example for ).
Here is the lower boundary, the cumulative frequency before the class, its frequency and its width.
- Value from interpolation
Worked example
80 waiting times have cumulative frequencies 6, 30, 58, 74, 80 at 10, 20, 30, 40, 60 minutes. Estimate the IQR.
- 1
is the 20th value, in the 10 to 20 class (, ): .
- 2
is the 60th value, in the 30 to 40 class (, ): .
- 3
.
For grouped data with , which position is used for ?
Variance and standard deviation
Variance is the mean of the squares minus the square of the mean; the standard deviation is its square root.
The variance measures the mean squared distance from the mean: . Use the second form, which is quicker.
The standard deviation is its square root.
For a frequency table or grouped data (using midpoints), .
Variance is never negative. Standard deviation has the same units as the data; variance has the units squared. The divisor is .
- Variance
- Standard deviation
Worked example
, , . Find the standard deviation.
- 1
.
- 2
Variance .
- 3
.
A set has and . What is the standard deviation?
Coding and combining data
For the standard deviation is multiplied by ; adding a constant does not change it.
If , then but the standard deviation becomes and the variance becomes . Adding or subtracting a constant does not change the spread.
Example: and give .
To add or remove a value, update , and and recalculate. Adding a value equal to the mean leaves the mean unchanged but reduces the standard deviation.
- Mean
- Standard deviation
Worked example
The sample above has , , variance 9. Add the value 7. Find the new variance.
- 1
, , so the mean is still 7.
- 2
.
- 3
Variance , smaller than 9.
Data have standard deviation 4. Each value is multiplied by 2, then 5 is added. What is the new standard deviation?
Interpreting and comparing spread
Compare using a measure of location and a measure of spread, in context. A smaller standard deviation means more consistent.
Compare data sets using a measure of location and a measure of spread, in context.
A smaller standard deviation (or IQR) means the data are more consistent.
Use the median and IQR when data are skewed or contain extreme values, and the mean and standard deviation otherwise. A value far from the mean increases the standard deviation a lot, because deviations are squared.
Example: machines with target 500 ml. A has mean 501.5 and ; B has mean 500.6 and . B is better: its mean is closer to the target and it is more consistent.
- Mean
- Standard deviation
Machine C has mean 500.2 and . Compared with B, which is more consistent?
Try an exam question
A sample of values of has and . (a) Find the mean and the standard deviation of . (b) The values are coded as . Find the standard deviation of .
[4 marks]
- [1]Mean .
- [1]Variance .
- [1]Standard deviation .
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the variance of the eight values.
1 mark, marked against the mark scheme
Find the variance of the eight values.
1 mark, marked against the mark scheme