Cleaning data and outliers
mathswariz.uk/worksheets/stats-cleaning-data-and-outliers/
Do Now
The first question is what today's lesson needs. The others bring back earlier topics.
- A1Needed today[2 marks]
The mean of , , and is . Find .
Answer - A2Last lesson[2 marks]
The probability that a bus is full is . Owen uses two-digit random numbers: 00 to 49 for full and 50 to 89 for not full, ignoring 90 to 99. Use these numbers to estimate the probability that a bus is full: 71, 38, 42, 21, 70, 40, 24, 97.
Answer - A3From chapter 3[2 marks]
In a trial of a new sleep spray, 14 of the 40 people who used it slept for more than 7 hours. In the control group, 78 of the 120 people slept for more than 7 hours. Work out both percentages. Does the sleep spray appear to work?
Answer - A4Maths skill[2 marks]
Write as a ratio of whole numbers in its simplest form.
Answer
Examples and practice
Your teacher works each example with you (I do). You try the one beside it together (We do). Then practise that part on your own (You do).
Correcting errors in data
Six students' heights were recorded in centimetres:
162, 1.58, 171, 0, 1650, 164
Identify the values that need cleaning and say what to do with each.
- B1[2 marks]
Seven students' times, in minutes, to walk to school:
14, 22, 9, 0.25, 17, 140, 19
Identify two values that need cleaning and say what to do with each.
- C1[2 marks]
Give two reasons why data should be cleaned before it is analysed.
- C2[2 marks]
Six hand spans, in cm: 18, 21, 19, 210, 20, 22. The 210 is a recording error. Work out the mean of the other values.
Answer - C3[2 marks]
The masses of five parcels were recorded as 2.4 kg, 1800 g, 3.1 kg, 950 g and 2.0 kg. Clean the data and work out the mean mass in kilograms.
Answer - C4[2 marks]
In a survey of shoe sizes, one entry is left blank and one is written as "seven". Say what should be done with each before the data are analysed.
Finding outliers with a rule
The ages of 11 people at a club:
12, 15, 16, 18, 19, 20, 21, 22, 24, 25, 41
Use the rule: a value is an outlier if it is less than Q1 − 1.5 × IQR or greater than Q3 + 1.5 × IQR. Find any outliers.
- B2[3 marks]
The times, in minutes, of 15 deliveries:
8, 22, 25, 27, 28, 30, 31, 32, 33, 35, 36, 38, 40, 44, 61
Using the 1.5 × IQR rule, find any outliers.
Answer
The masses of a farm's apples have mean 152 g and standard deviation 11 g. Use the rule: an outlier lies outside mean − 3 × sd to mean + 3 × sd. Which of 118 g, 125 g and 190 g are outliers?
- B3[3 marks]
Runners' times for 400 m have mean 68.4 s and standard deviation 3.2 s. Using the mean ± 3 standard deviations rule, which of 57.9 s, 77.6 s and 79.5 s are outliers?
Answer
- C5[2 marks]
For a set of test marks, the lower quartile is 34 and the upper quartile is 46. Using the 1.5 × IQR rule, show that a mark of 66 is an outlier.
- C6[2 marks]
Exam marks have mean 54 and standard deviation 12. Using the mean ± 3 standard deviations rule, is a mark of 15 an outlier? Show your working.
- C7[3 marks]
The prices, in pounds, of 11 second-hand bikes:
35, 60, 64, 70, 72, 75, 78, 80, 85, 90, 140
Using the 1.5 × IQR rule, find any outliers.
Answer
Deciding what to do with an outlier
Reaction times have a mean of 0.25 s. Two outliers are 0.02 s and 0.71 s. Say whether each should be removed.
- B4[2 marks]
In a survey of Year 11 students, one age is recorded as 4 years and one height as 198 cm. Both are outliers. Say whether each should be removed, with a reason.
- C8[2 marks]
A teacher records how many hours each student in a class spent on homework last week. Two values are outliers: 31 hours and 160 hours. Say whether each should be removed, with a reason.
- C9
A teacher records the scores, out of 20, of 8 students in a quiz:
14, 16, 3, 15, 17, 13, 16, 14
The student who scored 3 left the room after the first question.
(a)[2 marks]Work out the mean score with the 3 and without it.
Answer(b)[2 marks]Work out the median score with the 3 and without it. Which average is changed more by the 3?
Total for C9: 4 marks
Exam-style questions
- D1[2 marks]
Jo says, "An outlier is always a mistake, so it should always be removed."
Is Jo correct? Give a reason for your answer.
- D2
The number of visitors to a museum on 11 days:
212, 230, 236, 241, 245, 250, 254, 260, 263, 270, 412
(a)[3 marks]Using the 1.5 × IQR rule, show that 412 is an outlier.
(b)[1 mark]The 412 visitors came on a bank holiday. The museum is planning staff for ordinary days. Should the 412 be removed? Give a reason.
Total for D2: 4 marks - D3[6 marks]
Rafi measures the lengths of 40 leaves in centimetres. One length is recorded as 61 cm. For the other 39 lengths the mean is 6.2 cm and the standard deviation is 0.9 cm; they include 2.1 cm, 3.9 cm, 8.4 cm and 9.1 cm.
Rafi needs to clean the data before he analyses it. Using the mean ± 3 standard deviations rule, explain how he should clean the data. You must show your working.
Extension
No route is given. The hints are at the end of the sheet. Use one at a time.
- E1[3 marks]
Here are 11 values in order: 23, 27, 28, 31, 33, 34, 36, 38, 40, 44, , where is a whole number greater than 44. A value is an outlier if it is more than 1.5 × IQR above the upper quartile. Find the greatest value of for which the data have no outliers.
Hint 1 · What to try
Does change the quartiles? It is the largest value, the 11th.
Hint 2 · The first line
is the 3rd value, 28, and is the 9th value, 40, so the IQR is 12.
Hint 3 · The full method
The upper limit is . A value of 58 is not more than 58, so the greatest is 58.
Answer
How did it go?
Colour one circle on each line.| Not yet | Nearly | Yes | |
|---|---|---|---|
| I can spot errors in raw data and say what to do with each. | |||
| I can find outliers with 1.5 × IQR or with mean ± 3 standard deviations. | |||
| I can decide whether a value should be removed, and say why. |
Answers and mark scheme
The worked answers and the full mark scheme are free with a Mathswariz account. Teachers and students can both sign up.
Get the answers