Australian National University · FACULTY OF STATISTICS

STAT1008 Chap.4 Quartiles, Boxplots and Outliers

- one subject, every graph, every model, every mark
6 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 4 of 11 · STAT1008

Quartiles, Boxplots and Outliers

Quartiles, Boxplots and Outliers covers the course’s hand rule for percentiles, where the location index is P/100 times n, averaged when whole and rounded up when fractional. It builds the five-number summary, draws boxplots with fences at 1.5 IQR beyond the quartiles, explains why whiskers stop at the last value inside the fence, and compares the boxplot rule with the z-score rule for outliers.

It also shows how boxplots reveal skew and compare groups without calculation. Assessment items in this area are short but convention-sensitive. They ask for a percentile position, a five-number summary, a boxplot with its fences, or a judgement about which summary to report for skewed data, and they reward saying which outlier rule was applied.

In this chapter

What this chapter covers

  • 01

    Percentiles and the location index

  • 02

    Quartiles and the interquartile range

  • 03

    The five-number summary

  • 04

    Boxplot construction and fences

  • 05

    Two outlier rules that can disagree

  • 06

    Comparing groups with boxplots

Worked example · free

Quartiles and outliers for delivery times at depot A

Q [6 marks]. Delivery times at depot A are 14, 17, 18, 20, 21, 22, 24, 25, 27, 29, 33 and 52 minutes. Find Q1, the median, Q3 and the IQR, then use the 1.5 IQR rule to identify any outlier. The marks shown for these steps are a revision aid written by AskSia, not a University marking scheme.
Boxplots of delivery times for two depots: depot A has Q1 19, median 23 and Q3 28 minutes, a whisker stopping at 33 and one outlier at 52 beyond the dashed fencBoxplots of delivery times for two depots: depot A has Q1 19, median 23 and Q3 28 minutes, a whisker stopping at 33 and one outlier at 52 beyond the dashed fence at 41.5, while depot B has no point outside its whiskers.0102030405060Depot ADepot BDelivery time (minutes)
Boxplots of delivery times for two depots: depot A has Q1 19, median 23 and Q3 28 minutes, a whisker stopping at 33 and one outlier at 52 beyond the dashed fence at 41.5, while depot B has no point outside its whiskers.
  • 1Q1: i = 0.25 × 12 = 3, a whole number, so Q1 = (18 + 20)/2 = 19 minutes.
  • 1Median: i = 6, so (22 + 24)/2 = 23 minutes.
  • 2Q3: i = 9, so (27 + 29)/2 = 28 minutes, and IQR = 28 − 19 = 9 minutes.
  • 1Fences: 19 − 1.5(9) = 5.5 and 28 + 1.5(9) = 41.5 minutes.
  • 1Only 52 lies outside the fences, so it is an outlier and the upper whisker ends at 33.
Q1 = 19, median = 23 and Q3 = 28 minutes, giving an IQR of 9 minutes. The fences sit at 5.5 and 41.5, so 52 minutes is the only outlier by the boxplot rule.
Sia tip — Write “by the 1.5 IQR rule” before naming an outlier; the z-score rule can give a different verdict on the same value.
Glossary

Key terms

Interquartile range
The interquartile range is Q3 minus Q1, the spread of the middle half of the ordered data.
Five-number summary
The five-number summary lists the minimum, first quartile, median, third quartile and maximum.
Percentile
The P-th percentile is the value with P per cent of the data below it and the remainder above.
Outlier fence
An outlier fence is a boundary 1.5 interquartile ranges below Q1 or above Q3, beyond which values are plotted as outliers.
FAQ

Quartiles, Boxplots and Outliers FAQ

Why do my quartiles differ from Excel’s?

Excel’s PERCENTILE.INC and PERCENTILE.EXC use their own location formulas and interpolate between values, while the course’s hand rule averages or rounds up. On small datasets the results differ slightly. The lecture accepts either Excel function unless one is specified.

Is the end of the whisker the maximum?

Only when there are no outliers. Whiskers end at the furthest observations that remain within the fences at 1.5 IQR beyond the quartiles; any value beyond is plotted separately and is the true minimum or maximum.

Which outlier rule should I use in an answer?

Use the rule the question names. If none is named, state your choice, for example the 1.5 IQR boxplot rule or the plus or minus 3 z-score rule, because the two can classify the same observation differently.

What does the IQR tell me?

The interquartile range measures the spread of the middle half of the data, from the first to the third quartile. Because it ignores the extreme quarter at each end, it is a resistant measure and pairs naturally with the median for skewed data.

How do I read skew from a boxplot?

Compare the two halves. A longer upper whisker, outliers above it and a median sitting closer to the first quartile indicate right skew; the mirror image indicates left skew. Roughly equal whiskers and a central median suggest symmetry.

Study strategy

Exam move

Practise the percentile rule on datasets of 10, 12, 15 and 20 values so that both the whole-number and round-up cases become automatic. For each dataset draw the boxplot by hand with fences, then describe its shape in one sentence. Finally, compute the z-score of the most extreme value and compare the two outlier verdicts.

When you draw a boxplot, label the five numbers and the fences on the sketch itself, then write a one-sentence comparison if two groups are shown: medians first, box widths second, whiskers and outliers last. Practising that order makes comparison questions quick and keeps the answer structured.

Working through Quartiles, Boxplots and Outliers in STAT1008? Sia is AskSia’s AI Statistics tutor — ask any STAT1008 Quartiles, Boxplots and Outliers question and get a clear, step-by-step explanation grounded in how STAT1008 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 46 of your Australian National University subjects - and 1,000+ Bibles across every Australian university.
Sia - your STAT1008 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works