← Year 10 Statistics

Boxplots

A boxplot draws the five numbers as one picture: the box is the middle half, the bar is the median, and the whiskers reach the lowest and highest values that aren't outliers.

You catch Route 1 to school, and it's late sometimes. How late is it on a normal day?

The Route 1 bus app gives the minutes the bus was late on each of the last 11 school days: 0, 1, 2, 2, 3, 4, 4, 5, 6, 8 and 15 (made up for the task). One bad day looks bad, but you want to know about the normal days. A boxplot shows the middle half of the days as a box, with a bar at the median. Have a guess where the box would start and end, and we'll check.

How this lesson works: Predict, Try, Investigate, Modify, Practise, Make
PredictRead the problem and decide what you think before you try anything. A wrong guess is fine: it shows you what to look for.

Where the box goes

A boxplot's box covers the middle half of the days. Where would the box start and end for Route 1?

TryTry it on the board and compare the result with your prediction.

Take out the very late day

The box runs from the lower quartile to the upper quartile, the thick bar is the median, and the whiskers reach the lowest and highest values that aren't outliers. A cross marks an outlier.

Try it yourselfYour edits are saved in this browser.

The 15 shows as a cross, not part of the whisker. Change the 15 to 9 in the Values box and press Use these values. What happens to the cross?

Use the board. This ticks when you get there.

InvestigateWork out why it happens, one step at a time.

Reading and drawing a boxplot

Worked exampleBefore each step, say what you think comes next.
  1. 0,1,2,2,3,4,4,5,6,8,150, 1, 2, 2, 3, 4, 4, 5, 6, 8, 15Route 1's eleven days, in order.

Now try one on paper: a bus's lateness has five numbers 1, 3, 4, 8 and 20 minutes. Work out the upper fence and decide whether the 20 is an outlier.

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

Find the IQR first, then 1.5 times it.

Another hint

Upper fence = upper quartile + 1.5 × IQR.

Build up to it
The box starts at the lower quartile. Where does it end?

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

The box is the middle half of the data.

Another hint

Which two of the five numbers mark the middle half?

Route 2's lateness on the same 11 days (made up) is 3, 3, 4, 4, 4, 5, 5, 5, 6, 6 and 7, so its quartiles are 4 and 6.

A bus's lateness has five numbers 1, 3, 4, 8 and 20 (minutes, made up). What is the upper fence, and is 20 an outlier?

Work it out on paper first, one step per line. Then type your answer.

A boxplot's five numbers are 2, 5, 8, 13 and 21. Which two numbers are the ends of the box?

Dev compares two bus routes' boxplots. Click the line where the reading goes wrong.

The median bar in a boxplot sits close to the left end of the box (the quartiles are 3 and 12 and the median is 5). What does this tell you?

ModifyChange the problem on purpose and see what happens.

Change the data

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

Every value is 5, so the lowest, the quartiles, the median and the highest are all 5.

Another hint

5 − 5.

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

A value exactly on the fence isn't beyond it.

Another hint

The upper fence is 12.

Try it yourselfYour edits are saved in this browser.

Change the 15 to 11 in the Values box and press Use these values. Does the cross stay?

Use the board. This ticks when you get there.

Edge case: type 5, 5, 5, 5, 5, 5, 5 into the Values box. What is the interquartile range?

Edge case: Route 1 has a day that is exactly 12 minutes late. The upper fence is 12. Is that day an outlier?

PractiseA few on your own, to check you have it.

Reading and fences

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

Upper quartile take away lower quartile.

Another hint

31 is the highest value, not the upper quartile.

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

1.5 × the IQR, added to the upper quartile.

Another hint

1.5 × 11 = 16.5.

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

Nine values: leave the median out of both halves.

Another hint

The lower half is the first four values.

A boxplot's five numbers are 4, 9, 13, 20 and 31. What is the interquartile range?

For those five numbers (4, 9, 13, 20, 31), what is the upper fence?

Review: nine values in order are 3, 5, 8, 10, 12, 14, 17, 19 and 25. What is the lower quartile?

MakeMake your own problem using what you have learned. Expect a few tries; that is normal.

How late is a normal day?

Work this out on paper first, then type your answer.

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

Quartiles first: lower five 0, 1, 2, 2, 3 and upper five 4, 5, 6, 8, 15.

Another hint

Q3 + 1.5 × IQR.

The bus and its days are made up for the task.

Also used in

  • Waiting times. Hospitals, call centres and train operators report how long people wait with boxes and medians.
  • Sport. Race times and scores for a season are often shown as boxplots.
  • Next lesson. Comparing with boxplots: two routes, side by side.

Route 1's 11 lateness values are 0, 1, 2, 2, 3, 4, 4, 5, 6, 8 and 15 minutes. Find the upper fence and decide whether 15 is an outlier.

Work it out on paper first, one step per line. Then type your answer.

What is the best description of a normal day on Route 1?

Now you can
Practise this skillNew questions, new numbers each timeGet 3 right in a row to mark it practised.Next lesson6. Comparing with boxplotsTwo boxplots on one scale can be compared by centre, spread, shape and outliers. The route with the lower median isn't always the more reliable one.
For teachers

Students draw and read a boxplot from the five numbers: the box is the middle half, the bar is the median, the whiskers reach the furthest values inside the 1.5 × IQR fences, and values beyond them are outliers (AC9M10ST02, node 2). About 45 minutes.

Open the teacher guide: answers, solutions, slides and a worksheet.

Students will be able to

Before class

Students need the five numbers from the previous lesson. This is a hinge lesson: students who misread the median bar or read box width as how many values there are can't compare distributions in the next lesson.

The board draws a boxplot with the median-of-halves quartiles from the previous lesson. With outliers: on the whiskers stop at the last value inside the fences (upper quartile + 1.5 × IQR and lower quartile − 1.5 × IQR) and a cross marks each outlier; a value exactly on a fence is not an outlier. The 1.5 rule is a convention that the lesson states, not something students derive; it is a fine moment to say that other rules exist.

The bus, its minutes late and the second route are made up for the task. The library entry (bus-lateness) suggests the class records two real routes for a few weeks and checks the comparison holds; that is a good real-data follow-up.

Running the lesson

  1. Predict: show of hands before the check. Hold the picture up and ask where half the days sit.
  2. Run: ask which number will change before anyone edits the 15.
  3. Paper: the fence try-one and the Make are worked on paper first.
  4. Modify: all-the-same and the value on the fence are the edge cases.

The hard part (on purpose)

Reading the box as how many values there are, or the whiskers as the box. Ask: what fraction of the days is inside the box, whatever its length?

When students get stuck

Stretch and support

Stretch: Make up five values that give an IQR of zero but a range of 10. Draw the boxplot.

Support: Mark the five numbers on a number line on paper first, draw the box between the quartiles, then add the median bar and whiskers.

Where it leads

Continues AC9M10ST02 (node 2; a hinge).

Where it leads: comparing distributions with boxplots (next), where two routes sit one above the other.

What each step is for