A-level Mathematics

11.6 Outliers, data cleaning and critiquing presentation — Practise

Work through these on your own. For every unusual value, say whether you keep it, correct it or remove it, and give a reason.

The questions and the answers below come from a set that is checked by computer every time the book is built.

  1. Find the interquartile range of 12,14,15,16,17,18,19,20,21,22,4512, 14, 15, 16, 17, 18, 19, 20, 21, 22, 45, using the (n+1)(n + 1) positions.
  2. Find the lower quartile of 12,14,15,16,17,18,19,20,21,22,4512, 14, 15, 16, 17, 18, 19, 20, 21, 22, 45, using the (n+1)(n + 1) method.
  3. A data set has Q1=15Q_1 = 15 and IQR =6= 6. Find the lower fence for a possible outlier.
  4. A data set has Q3=21Q_3 = 21 and IQR =6= 6. Find the upper fence for a possible outlier.
  5. The upper fence of a data set is 30. Is the value 45 a possible outlier?
  6. The data 12,14,15,16,17,18,19,20,21,22,4512, 14, 15, 16, 17, 18, 19, 20, 21, 22, 45 contain the outlier 45. Remove 45 and find the mean of the remaining values.
  7. A journey time is recorded as 300 seconds, but the rest of the data are in minutes. Convert 300 seconds to minutes.
  8. A data set has fences at 6 and 30. The values 5,12,20,315, 12, 20, 31 and 4545 are in the data. Find how many of these values lie outside the fences.
  9. A data set 10,12,14,16,1810, 12, 14, 16, 18 has mean 14 and standard deviation 8\sqrt{8}, dividing by nn. Using the rule that a value more than two standard deviations from the mean is a possible outlier, find the two fences.
  10. A data set has one missing value. The five known values are 12,14,16,18,2012, 14, 16, 18, 20. Find the mean of the known values.
  11. A data set of 10 values has mean 20. One value, 50, is found to be a recording error. Remove 50 and find the mean of the remaining 9 values.
  12. A bar chart shows profits of 96, 98 and 100, and its vertical axis starts at 95. Find the percentage increase from 96 to 100, and say whether the chart exaggerates the change.
Answers and concise solutions

1. The interquartile range

Answer: There are n=11n = 11 values. The position of Q1Q_1 is 124=3\dfrac{12}{4} = 3, giving Q1=15Q_1 = 15. The position of Q3Q_3 is 364=9\dfrac{36}{4} = 9, giving Q3=21Q_3 = 21. The IQR is 21−15=621 - 15 = 6.

2. The lower quartile

Answer: The position of Q1Q_1 is 11+14=3\dfrac{11 + 1}{4} = 3, which is a whole number, so Q1Q_1 is the 3rd value: 15.

3. The lower fence

Answer: The lower fence is Q1−1.5×IQR=15−9=6Q_1 - 1.5 \times \text{IQR} = 15 - 9 = 6. A value below 6 is a possible outlier.

4. The upper fence

Answer: The upper fence is Q3+1.5×IQR=21+9=30Q_3 + 1.5 \times \text{IQR} = 21 + 9 = 30. A value above 30 is a possible outlier.

5. Whether 45 is a possible outlier

Answer: The value 45 is above the upper fence of 30, so it is a possible outlier. Being above the fence is a signal to look at the value, not proof that it is wrong.

6. The cleaned mean

Answer: The remaining values sum to 174, and there are 10 of them, so the mean is 17410=17.4\dfrac{174}{10} = 17.4. The mean of all 11 values was 21911=19.9\dfrac{219}{11} = 19.9, so removing the outlier lowered the mean by about 2.5.

7. The value in minutes

Answer: Divide by 60: 300300 seconds =5= 5 minutes. Converting every value to one unit before calculating removes the inconsistency.

8. The number of values outside the fences

Answer: The values outside the fences are 5 (below 6), 31 and 45 (both above 30). So 3 of the 5 values lie outside the fences.

9. The two fences

Answer: The fences are 14±28=14±4214 \pm 2\sqrt{8} = 14 \pm 4\sqrt{2}, which are about 8.34 and 19.66. State the rule you use, because a different rule gives different fences.

10. The mean of the known values

Answer: The known values sum to 80 and there are 5 of them, so the mean is 805=16\dfrac{80}{5} = 16. The missing value is excluded, and the answer should say that one value is missing.

11. The mean of the remaining values

Answer: The original total is 20×10=20020 \times 10 = 200. Removing 50 leaves 150 over 9 values, so the mean is 1509=503=16.67\dfrac{150}{9} = \dfrac{50}{3} = 16.67 (3 s.f.).

12. The percentage increase

Answer: The increase is 496×100=256=4.17%\dfrac{4}{96} \times 100 = \dfrac{25}{6} = 4.17\% (3 s.f.), which is small. Starting the axis at 95 makes the three bars look very different, so the chart exaggerates the change. An axis starting at 0 would show three almost equal bars.

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.