A-level Mathematics

11.6 Outliers, data cleaning and critiquing presentation — Practise with help

Work each question closed book first. For every unusual value, state whether you keep it, correct it or remove it, and give a reason.

Warm-up: remember

  1. Find the median of 4,9,12,15,184, 9, 12, 15, 18.
  2. Work out 1.5×81.5 \times 8.
  3. Find the range of 7,12,15,227, 12, 15, 22.
Answers
  1. There are 5 values, so the median is the 3rd: 1212.
  2. 1.5×8=121.5 \times 8 = 12.
  3. 22−7=1522 - 7 = 15.

If question 2 was hard, revise multiplying decimals before you start.

Practise with help

1. The data are 4,6,7,8,9,10,11,12,304, 6, 7, 8, 9, 10, 11, 12, 30. Find the interquartile range using the (n+1)(n + 1) positions.

Hint

There are 9 values. Use position n+14\dfrac{n + 1}{4} for Q1Q_1 and 3(n+1)4\dfrac{3(n + 1)}{4} for Q3Q_3.

Next step

The positions are 104=2.5\dfrac{10}{4} = 2.5 and 304=7.5\dfrac{30}{4} = 7.5. Interpolate between the 2nd and 3rd values, and between the 7th and 8th.

Full working Q1=6+0.5(7−6)=6.5,Q3=11+0.5(12−11)=11.5.Q_1 = 6 + 0.5(7 - 6) = 6.5, \qquad Q_3 = 11 + 0.5(12 - 11) = 11.5.

The interquartile range is

IQR=11.5−6.5=5.\text{IQR} = 11.5 - 6.5 = 5.

2. For the data in question 1, find the two fences and decide whether 30 is a possible outlier.

Hint

The fences are Q1−1.5×IQRQ_1 - 1.5 \times \text{IQR} and Q3+1.5×IQRQ_3 + 1.5 \times \text{IQR}.

Next step

With Q1=6.5Q_1 = 6.5, Q3=11.5Q_3 = 11.5 and IQR =5= 5, the fences are 6.5−7.56.5 - 7.5 and 11.5+7.511.5 + 7.5.

Full working

The lower fence is

6.5−1.5(5)=6.5−7.5=−1.6.5 - 1.5(5) = 6.5 - 7.5 = -1.

The upper fence is

11.5+1.5(5)=11.5+7.5=19.11.5 + 1.5(5) = 11.5 + 7.5 = 19.

The value 30 is above 19, so 30 is a possible outlier.

3. Every other value in a data set of adult heights is between 150 cm and 195 cm. One value is recorded as 18 cm. Decide what to do with it and give a reason.

Hint

Ask whether an adult height of 18 cm is possible.

Next step

The value is about ten times too small. Consider whether a decimal point was missed, and whether the true value can be recovered.

Full working

An adult height of 18 cm is impossible, so the value is an error. If the original record shows the true value, correct it. If the true value is lost, remove the value, and state that one of the values was removed as an error. Do not keep it in the data set.

4. A data set has 20 values and one is missing. The mean of the 19 known values is 12. A value of 60 is found for the missing item. Explain why 60 may be correct, and say what to do with it.

Hint

The value 60 is larger than the other values, but that does not make it wrong.

Next step

Decide whether 60 is possible in the context, and whether it is an outlier.

Full working

A value of 60 is possible, so it is not automatically an error. It may be a genuine extreme value, and the mean of the 19 known values does not rule it out. Check the original record. If it is correct, keep it and report it as an outlier. If it is an error and the true value is known, correct it. Only remove it when it is wrong and cannot be corrected.

5. A chart shows the number of visitors to a website as 1020, 1040 and 1060, with the vertical axis starting at 1000. Explain why the chart is misleading.

Hint

Compare the actual change with the change the chart appears to show.

Next step

Work out the increase from 1020 to 1060, both in numbers and as a percentage.

Full working

The increase from 1020 to 1060 is 40 visitors, which is about 3.9%3.9\%. Starting the axis at 1000 makes the bars look very different in height, so the growth looks large. Starting the axis at 0 would show three almost equal bars.

6. A data set of reaction times is in seconds, but 6 of the 40 values are in milliseconds. Explain how to clean the data, and say one thing you must report.

Hint

Decide which unit to keep, then convert the others.

Next step

Divide each millisecond value by 1000 to change it to seconds, or multiply the seconds by 1000 to change them to milliseconds.

Full working

Keep one unit, for example seconds. Divide each of the 6 millisecond values by 1000 to convert them to seconds, then calculate. Report how many values were converted, so a reader can see what was changed.

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.