Find the range and interquartile range for the following data.
3.4 | 4.2 | 2.8 | 3.6 | 9.2 | 3.1 | 2.9 | 3.4 | 3.2 |
3.5 | 3.7 | 3.6 | 3.2 | 3.1 | 2.9 | 4.1 | 3.6 | 3.8 |
3.4 | 3.2 | 4.0 | 3.7 | 3.6 | 2.8 | 3.9 | 3.1 | 3.0 |
The values need to be in order - work carefully to ensure you do not miss any out.
2.8 | 2.9 | 2.9 | 3.0 | 3.1 | 3.1 | 3.2 | ||
3.2 | 3.2 | 3.4 | 3.4 | 3.5 | 3.6 | 3.6 | 3.6 | |
3.6 | 3.7 | 3.8 | 3.9 | 4.0 | 4.1 | 4.2 |
Working out the range is now very easy.
Range = Hi - Lo = 9.2 - 2.8 = 6.4
To find the interquartile range, we first need to find the median and split the data into two halves.
There are 27 data values, so the median is the 14 th value (3.4).
The lower half of the data set is
2.8, 2.8, 2.9, 2.9, 3.0, 3.1, 3.1, 3.1, 3.2, 3.2, 3.2, 3.4, 3.4 (all the values below the median)
There are 13 values, so the lower quartile is the 7 th value (3.1).
Remember, the LQ is the median of the lower half of the data set!
LQ = 3.1
The upper half of the data set is
3.5, 3.6, 3.6, 3.6, 3.6, 3.7, 3.7, 3.8, 3.9, 4.0, 4.1, 4.2, 9.2 (all the values above the median)
There are 13 values, so the upper quartile is the 7 th value (3.7). (The 7th of these values.)
Remember, the UQ is the median of the upper half of the data set!
UQ = 3.7
Now subtract the LQ from the UQ to find the IQR.
IQR = UQ - LQ = 3.7 - 3.1 = 0.6
The range is 6.4
The interquartile range is 0.6
Alternatively, use the formulae to locate the LQ and UQ.
The LQ is the value; LQ = 3.1
The UQ is the value; UQ = 3.7
Give a reason why, in this case, the interquartile range may be a better measure of how spread out the data is than the range.
The IQR would be a better measure of spread for these data as the highest value (9.2) is very far away from the rest of the numbers - it could be an outlier