Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 24 · Statistics
GCSE Maths · Statistics · Higher · Lesson 24.14

GCSE Maths: Box plots and outliers (Higher)

Part of the GCSE Maths statistics chapter (Higher). Chapter overview · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
24.14

Box plots and outliers

Edexcel 1MA1: S4
Grade 5-8

A box plot (or box-and-whisker diagram) shows the main features of a distribution using five numbers, called the five-number summary: the smallest value, the lower quartile (Q1), the median (Q2), the upper quartile (Q3) and the largest value. The box goes from Q1 to Q3 with a line at the median. The whiskers are lines from the box to the smallest and the largest values. The box holds the middle half of the data. Each whisker and each half of the box holds one quarter of the data.

20304050607080Test markClass AClass B
Two box plots on the same scale. The median is the orange line. Class B has the smaller box, so its marks are more consistent.

Reading a box plot. The median is the line in the box. The range is the largest minus the smallest. The IQR is the length of the box (Q3 − Q1). About 25% of the data lies in each section: from the smallest value to Q1, from Q1 to the median, from the median to Q3, and from Q3 to the largest value.

Comparing box plots. Compare the medians (a typical value), and compare the IQRs (the lengths of the boxes) or the ranges (the overall spread). Always write your comparison in context.

Outliers. An outlier is a value that is far from the rest of the data. A common rule says a value is an outlier if it is more than 1.5 × IQR above Q3 or below Q1. In a box plot an outlier is shown as a cross, and the whisker then goes to the most extreme value that is not an outlier. Outliers might be genuine unusual values or mistakes, so we should check them rather than just deleting them.

Key ideas

  • Five-number summary: smallest, Q1, median, Q3, largest.
  • The box is the middle 50% of the data. Each of the four sections holds 25%.
  • Range = largest − smallest. IQR = length of the box = Q3 − Q1.
  • Compare box plots using medians and IQRs, in context.
  • Outlier rule: below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR. Show outliers as crosses.
Worked example 24.14.1
Draw a box plot for the marks 23, 34, 38, 41, 45, 48, 52, 55, 60, 66, 78.

Key words. The quartiles split ordered data into four equal parts. Q1 is the lower quartile, Q2 is the median and Q3 is the upper quartile. The interquartile range (IQR) is Q3 minus Q1: the spread of the middle half.

Method. A box plot is drawn from five numbers: the smallest value, the lower quartile, the median, the upper quartile and the largest value.

  1. Write the data in order. We need the ordered data to find the quartiles.
    23, 34, 38, 41, 45, 48, 52, 55, 60, 66, 78
  2. Find the median, lower quartile and upper quartile. Q1 is the median of the lower half and Q3 is the median of the upper half.
    Median = 48, Q1 = 38, Q3 = 60
  3. Write down the smallest and largest values. These are the ends of the whiskers.
    Smallest = 23, largest = 78
  4. Draw a scale and then the box plot. Draw a box from Q1 to Q3 with a line at the median, then whiskers to the smallest and largest values.
    20406080100Class A

Check. The box holds the middle half of the data, and the line is inside the box. ✓

Watch out. The five numbers must be in order: smallest < Q1 < median < Q3 < largest, and the scale must be even.

Worked example 24.14.2
Use the box plots for class A and class B above to compare the marks of the two classes.

Key words. The quartiles split ordered data into four equal parts. Q1 is the lower quartile, Q2 is the median and Q3 is the upper quartile. The interquartile range (IQR) is Q3 minus Q1: the spread of the middle half.

Method. Read the median and find the IQR of each box plot, then compare them.

  1. Read the medians. The median is the line inside each box.
    Class A: 48
    Class B: 49
  2. Find the IQRs. IQR = Q3 − Q1, the length of the box.
    Class A: 60 − 38 = 22
    Class B: 57 − 42 = 15
  3. Find the ranges. Largest minus smallest.
    Class A: 78 − 23 = 55
    Class B: 64 − 30 = 34
  4. Write the comparison. Use the medians for the average and the IQRs for the spread, in context.
    The classes have similar median marks (A: 48, B: 49) but class B is more consistent: its IQR is 15 compared with 22.

Check. Class B has the shorter box and the shorter whiskers. ✓

Watch out. Compare an average and a spread, and use the words of the question.

Worked example 24.14.3
The data set 12, 14, 15, 17, 18, 20, 22, 60 has Q1 = 14.5 and Q3 = 21. Use the rule “more than 1.5 × IQR from the quartiles” to find any outliers.

Key words. The quartiles split ordered data into four equal parts. Q1 is the lower quartile, Q2 is the median and Q3 is the upper quartile. The interquartile range (IQR) is Q3 minus Q1: the spread of the middle half.

Method. An outlier is a value that is far from the rest. One rule says a value is an outlier if it is more than 1.5 × IQR below Q1 or above Q3.

  1. Work out the IQR. IQR = Q3 − Q1.
    21 − 14.5 = 6.5
  2. Work out 1.5 × IQR. This is the allowed distance from the quartiles.
    1.5 × 6.5 = 9.75
  3. Work out the lower limit. Take it away from Q1.
    14.5 − 9.75 = 4.75
  4. Work out the upper limit. Add it to Q3.
    21 + 9.75 = 30.75
  5. Compare each value with the limits. A value below the lower limit or above the upper limit is an outlier.
    Outliers: 60

Check. Every other value lies between 4.75 and 30.75. ✓

Watch out. The limits are measured from Q1 and Q3, not from the median.

Worked example 24.14.4
Draw the box plot for the data set in the last example, showing the outlier.
(Q1 = 14.5, median = 17.5, Q3 = 21, smallest = 12.)

Key words. The quartiles split ordered data into four equal parts. Q1 is the lower quartile, Q2 is the median and Q3 is the upper quartile. The interquartile range (IQR) is Q3 minus Q1: the spread of the middle half.

Method. The outlier is plotted as a cross. The upper whisker ends at the largest value that is not an outlier.

  1. Find the largest value that is not an outlier. The value 60 is an outlier. The next largest value is 22.
    Whisker goes up to 22.
  2. Write the five numbers for the box plot. Use the smallest value, Q1, median, Q3 and the largest non-outlier.
    12, 14.5, 17.5, 21, 22
  3. Draw the box plot and mark 60 with a cross. A cross shows that the value is an outlier.
    10203040506070ValueData

Check. The cross at 60 is far from the end of the whisker at 22. ✓

Watch out. Do not extend the whisker to the outlier: mark it separately with a cross.

Watch out

A box plot does not show the mean, and a longer box does not mean there is more data. A box plot also does not show how many values there are. Compare the box plots’ medians and IQRs, and mention both.

Exercise 24N  Box plots and outliers

Non-calculator
1
FDraw a box plot for these values: 8, 11, 14, 15, 17, 19, 22, 25, 30.
2
FDraw a box plot for these values: 41, 50, 38, 45, 52, 47, 60, 43.
3
PSThe box plots show the times, in minutes, taken by two groups to solve a puzzle. (a) Write down the median of group A. (b) Work out the interquartile range of each group. (c) Work out the range of group B. (d) Compare the two groups.
102030405060Time (minutes)Group AGroup B
(a)Median of group A
(b)IQRs
(c)Range of group B
(d)Comparison
4
RThe box plot shows the heights of some plants. (a) What fraction of the plants are taller than the upper quartile? (b) In a sample of 80 plants, how many have a height between the median and the upper quartile? (c) Explain why you cannot tell from the box plot how many plants there were.
10203040506070Height (cm)Plants
(a)Taller than the upper quartile
(b)Between the median and the upper quartile
(c)Why the number is unknown
5
FFind out whether there are any outliers using the rule “more than 1.5 × IQR from the quartiles”.
Data: 31, 33, 35, 37, 38, 40, 41, 42, 44, 46, 78. For this data Q1 = 35 and Q3 = 44.
6
FUse the same rule to check for outliers in this data: 44, 46, 47, 49, 50, 52, 53, 55, 56, 58, 59. For this data Q1 = 47 and Q3 = 56.
7
RTwo data sets have the same median. Data set P has an IQR of 6 and data set Q has an IQR of 15. Write down one thing the box plots would show about the two data sets.
8
PSIn a data set with 60 values, 25% of the values are bigger than 52. How many values are bigger than 52? What does 52 represent on a box plot?
9
PSA box plot has smallest value 10, range 40, median 28, lower quartile 20 and interquartile range 16. Work out the largest value and the upper quartile, then draw the box plot.
10
RAisha says: “The box plot for group A has a longer box than group B, so group A has more people in it.” Is she right? Explain.
11
PSThe box plot for the times of 40 runners has a median of 24 minutes, a lower quartile of 20 and an upper quartile of 31. Work out, giving reasons, how many runners ran faster than 24 minutes, and how many ran between 20 and 31 minutes.
12
PSThe cumulative frequency graph shows the times of 80 workers. The quickest took 2 minutes and the slowest took 58 minutes. Use the graph to draw a box plot of the times.
0204060800204060Time taken (minutes)Cumulative frequency
13
RIn a box plot the median is very close to the lower quartile, but far from the upper quartile. What does this tell you about the data?

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings