KS Maths
Year 11 Standard ยท Unit 1 Describing data ยท Lesson 3 of 6

Box plots and outliers

How far from the rest does a value have to be to count as an outlier?

A box plot shows five numbers at a glance. The box is the middle half of the data, and a fence a set distance beyond it decides which values are drawn as separate points.

Statistics and ProbabilityGDC optional

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

outlier
A value far away from the rest of the data.One score of 100 among scores near 20 is an outlier.
box plot
A diagram showing the smallest value, quartiles, median and largest value.A box plot shows the middle half of the data.
plot
Mark points on a graph.Plot the point (2, 5).
quartile
One of three values that cut ordered data into four equal parts.The upper quartile has 75% of the data below it.
interquartile range
The distance between the upper quartile and lower quartile. It shows the spread of the middle half.IQR = upper quartile minus lower quartile.
median
The middle value when data is in order.The median of 2, 5, 9 is 5.
range
The difference between the biggest and smallest value. Also, all the output values of a function.Data from 2 to 9 has range 7.
half
One of two equal parts. Divide by 2.Half of 10 is 5.
spread
How far apart the data values are.A big range means a big spread.
maximum
The largest value.The maximum of 4, 9 and 2 is 9.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Three quick ones from earlier work. Try each in your head or on paper before you open the answer.

  1. From Lesson 2: a curve is drawn for 60 values. At what count is the upper quartile read?
    Answer45. Three quarters of 60 is 3 ร— 60 รท 4.
  2. From Year 8: the median of 7, 2, 9, 4, 10 is ?
    Answer7. Order them: 2, 4, 7, 9, 10, and take the middle one.
  3. From Year 7: 1.5 ร— 16 = ?
    Answer24. 16 + 8 = 24, since half of 16 is 8.
Words used in this lesson
five-number summary
the minimum, lower quartile, median, upper quartile and maximum. For example: the five values that a box plot is drawn from.
quartile
a value that divides ordered data into quarters. For example: the median of the upper half of a list.
interquartile range
the upper quartile minus the lower quartile. For example: the width of the box.
outlier
a value beyond a fence, drawn as a separate point. For example: a finishing time far from the rest.
fence
a boundary at 1.5 times the IQR beyond a quartile. For example: the line Q3 + 1.5 ร— IQR.
whisker
the line from the box to the most extreme value that is not an outlier. For example: the line on each end of a box plot.

The slow runner

A trail-running club in Kathmandu records the finishing time of every member in one race. All but one finished within a few minutes of each other, and one runner took far longer after a fall. The club wants a picture that shows the typical spread, without letting that single long time stretch the whole display.

Predict first: how far from the rest should a value be before it is drawn as a separate point? Should the answer depend on how spread out the other values are? Use the first figure to test your ideas, then use the second figure to see what each part of a box plot holds.

01020304050upper fence 32.5Q1 15 median 18 Q3 22
32.5upper fence
noneoutliers

Largest value 24: Q1 = 15, median = 18, Q3 = 22, IQR = 7, upper fence 22 + 1.5 ร— 7 = 32.5. No outliers.

Show me the steps
  1. Largest value 24: the median is 18, the quartiles are 15 and 22, the IQR is 7 and the upper fence is 22 + 1.5 ร— 7 = 32.5. Nothing is beyond the fence.
  2. Slide to 32: it is still not above 32.5, so it is not an outlier. The whisker stretches to 32 and the box has not changed.
  3. Slide to 34: it is above 32.5, so it is drawn as a separate point and the whisker stops at 24. The quartiles, and so the fence, have not moved.

A box plot is five numbers and a fence.

  • The five-number summary is the minimum, lower quartile, median, upper quartile and maximum.
  • For an ordered list, the median splits it into two halves (leave the middle value out if there is an odd number). The lower quartile is the median of the lower half and the upper quartile is the median of the upper half.
  • The fences are Q1 โˆ’ 1.5 ร— IQR and Q3 + 1.5 ร— IQR. A value beyond a fence is an outlier and is drawn as a separate point.
  • Each whisker stops at the most extreme value that is not an outlier.

Each of the four sections of a box plot holds about a quarter of the values, whatever its length.

Read what Keith says

A box plot is just five numbers and a fence. The five numbers are the smallest value, the lower quartile, the median, the upper quartile and the largest. The fences sit one and a half times the interquartile range outside the quartiles. A value beyond a fence is an outlier, drawn as its own point, and each whisker stops at the last value inside. Each section holds about a quarter of the values, however long it looks. Try finding the fences before you draw anything.

10 valueslength 2010 valueslength 2010 valueslength 2010 valueslength 201030507090interquartile range = 70 โˆ’ 30 = 40
40interquartile range
20length of the shortest section

Quartiles 30, 50, 70: the sections are 20, 20, 20, 20 long, each holding 10 values. IQR = 40.

Show me the steps
  1. Quartiles 30, 50 and 70: the four sections are each 20 long and hold 10 values each, so the values are evenly spread. The interquartile range is 40.
  2. Move the lower quartile to 20: the lowest section is only 10 long but still holds 10 values, so they are crowded together, and the next section grows to 30 long.
  3. Move the upper quartile to 80: the top section is now 10 long, and the interquartile range is 80 โˆ’ 20 = 60. Each section still holds a quarter of the values.

The whisker does not always reach the maximum. If the largest value is an outlier, the whisker ends at the next value in. And a long section does not hold more values than a short one: each holds about a quarter. A long section means the values there are spread out, a short one means they are close together.

The rest of this lesson is in the full course

Still to come in this lesson:

  • Worked example: the trail race
  • Check before you go on
  • Your turn

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

Years 7 to 11 plan$59Every lesson from Year 7 to Year 11, so the refresher links always open, and every Year 7 to 11 revision pack, for the whole family. $59 for 12 months or $99 for 2 years.
IB Diploma plan$99Every lesson from Year 7 to the IB Diploma, AA and AI, SL and HL, for the whole family. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

Year 11 revision pack, $19BuyPlan $59