IB Psychology HL Topic 5 — Data Analysis Paper 3 & IA HL only ~10 min read

Box Plots and What They Show

A box plot squeezes five numbers into one small picture, and once you can read it you can size up a data set in about two seconds. It shows you the middle, the spread, the skew and the odd values all at once — which is exactly what a single average can never do.

📚 What you need to know

The five numbers

Sort the data first — nothing works until you do. The median is the middle value. The lower quartile is the middle of the bottom half, and the upper quartile is the middle of the top half. Add the lowest and highest values and you have all five.

Interquartile range IQR = upper quartile − lower quartile

The IQR matters because it describes the spread of the middle of the data. The full range can be wrecked by a single freak value; the IQR cannot, because it ignores the top and bottom quarters entirely. That makes it the spread measure of choice whenever outliers are around.

Reading one box plot

Below is a box plot of twelve test scores: 12, 14, 15, 16, 18, 18, 19, 20, 21, 22, 23 and 38. The quartiles work out at 15.5 and 21.5, giving a median of 18.5 and an IQR of 6. Because 1.5 × 6 = 9, anything above 21.5 + 9 = 30.5 counts as an outlier, so the 38 is plotted separately and the whisker stops at 23.

Every part of a box plot is a number Twelve test scores, with one value far enough out to count as an outlier. median 18.5 max 23 min 12 Q1 15.5 Q3 21.5 outlier 38 IQR = 6 10 15 20 25 30 35 40 The median sits left of centre, so the top half is more spread out. A box plot shows skew without you having to calculate anything.
Notice the median line is nearer the left edge of the box. That asymmetry is information: scores bunch up at the lower end and trail away upwards.
The median being off-centre confuses students constantly. It is not an error. If the median sat exactly in the middle every time, the box plot would have nothing to tell you about shape.

Comparing two groups

This is where box plots earn their place in the exam. Draw two on the same scale and you can compare the middle, the spread and the skew of two groups in one glance — something two separate means could never do.

Two groups, one scale Compare three things: the median, the box width, and the whisker reach. GROUP A GROUP B 10 15 20 25 30 35 40 test score Group B scores higher, and is also more varied. Say both. Comparing only the medians throws away half the picture.
Group B’s box is wider, so its middle 50% is more spread out. A higher average with more variation is a genuinely different result from a higher average with tight consistency.
The comparison sentence examiners want has three parts: which group has the higher median, which has the greater spread, and whether either is skewed. Write all three and the marks are usually there.

🧩 Building a box plot from raw data

  1. Sort the data from lowest to highest. Everything after this depends on it.
  2. Find the median: the middle value, or the mean of the two middle values.
  3. Split the data in half at the median and find the median of each half. Those are Q1 and Q3.
  4. Calculate the IQR as Q3 minus Q1.
  5. Check for outliers: anything more than 1.5 times the IQR beyond Q1 or Q3.
  6. Draw the box from Q1 to Q3 with the median inside, then whiskers to the most extreme non-outlier values, and plot any outliers as separate points.

Worked examples

WORKED EXAMPLE

Find the five values

Twelve four-year-olds are tested on how many items they can recall. The scores are 0, 1, 1, 2, 3, 3, 3, 4, 4, 4, 5, 5. Find the five values needed for a box plot and the interquartile range.

Step 1: Check the data are sorted They already are, and there are 12 values. Step 2: Median With 12 values, average the 6th and 7th: (3 + 3) / 2 = 3. Step 3: Lower quartile Bottom half is 0, 1, 1, 2, 3, 3. Middle two are 1 and 2, so Q1 = 1.5. Step 4: Upper quartile Top half is 3, 4, 4, 4, 5, 5. Middle two are 4 and 4, so Q3 = 4. Step 5: IQR 4 − 1.5 = 2.5 Min 0, Q1 1.5, median 3, Q3 4, max 5; IQR = 2.5 with an even count, quartiles are averages of two values — decimals are normal
WORKED EXAMPLE

Compare two box plots

Group A has a median of 18.5, a box running from 15.5 to 21.5 and whiskers from 12 to 23. Group B has a median of 25, a box from 21 to 28 and whiskers from 18 to 32. Write a full comparison.

Step 1: Compare the medians Group B’s median of 25 is 6.5 points higher, so B typically scores better. Step 2: Compare the spreads A’s IQR is 21.5 − 15.5 = 6; B’s is 28 − 21 = 7. B’s middle 50% is slightly more spread out. Step 3: Compare the ranges A ranges over 11 points, B over 14, so B is more variable overall. Step 4: Comment on shape In A the median sits left of centre, suggesting a slight positive skew; in B it sits near the middle, so B is more symmetrical. B higher and more varied; A slightly positively skewed medians, spread, then shape — three sentences, three marks

💡 Exam tip

⚠ Common mix-up

Up next: Frequency Tables and Grouped Data — and one calculation that a lot of textbooks get wrong.

Want this explained one-to-one?

Book a free session with an experienced IB Psychology tutor and get your trickiest topics made simple.

Book a Free Session →

Subscribe to our newsletter

Get free IB notes, exam tips and new resources in your inbox.

We will ask you to confirm by email. Unsubscribe any time.