Knaph

Statistics of One Variable79 of 1002 min read

Quartiles, the IQR and Box Plots

Theo timed his bus ride on 8 days: 4, 6, 7, 9, 10, 12, 13 and 17 minutes. With 8 values there is no single middle one. How do you find the quartiles now, and what does the box plot say?

Quartiles of an even count

The median is the mean of the middle two: (9+10)÷2=9.5(9 + 10) \div 2 = 9.5. It splits the data into two halves. The first quartile Q1Q_1 is the median of the lower half, 4,6,7,94, 6, 7, 9, which is (6+7)÷2=6.5(6 + 7) \div 2 = 6.5. The third quartile Q3Q_3 is the median of the upper half, 10,12,13,1710, 12, 13, 17, which is (12+13)÷2=12.5(12 + 13) \div 2 = 12.5. The IQR is 12.5−6.5=612.5 - 6.5 = 6 minutes.

With an odd count, leave the middle value out of both halves. Your turn: 2,5,6,9,11,142, 5, 6, 9, 11, 14. Answer: median 7.57.5, Q1=5Q_1 = 5, Q3=11Q_3 = 11, IQR 66.

Eight number cards in order, split into a lower half and an upper half. The median 9.5 sits between the halves, Q1 is 6.5 and Q3 is 12.5.

Draw the box plot

A box plot shows five numbers: the smallest (44), Q1=6.5Q_1 = 6.5, the median (9.59.5), Q3=12.5Q_3 = 12.5 and the largest (1717). Draw a box from Q1Q_1 to Q3Q_3, a line across it at the median, and whiskers out to the smallest and largest values.

A number line from 0 to 18 with the eight bus times as dots and, above them, a box plot with the five numbers 4, 6.5, 9.5, 12.5 and 17 marked.

Each part holds a quarter

The two whiskers and the two halves of the box each hold about a quarter of the data. Here each part holds 2 of the 8 values. The right whisker is longer than the left, but holds no more values. Its values are just more spread out.

The box holds the middle half, so its length is the IQR, 66 minutes.

Careful

A long whisker does not mean more values. It means the values in that quarter are spread far apart.

Try it at home

  1. Write the quartiles of 8 numbers of your own, like phone calls in minutes.
  2. Draw the box plot with a ruler.

Words in this lesson

  • first quartile - the median of the lower half of the data, Q1Q_1.
  • third quartile - the median of the upper half of the data, Q3Q_3.
  • box plot - a picture of five numbers: smallest, Q1, median, Q3 and largest.

Big idea

Split the ordered data at the median, find the median of each half, and draw the box from Q1Q_1 to Q3Q_3. Each part holds about a quarter of the data, whatever its length.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.