Skip to main content
ScotlandMathsSyllabus dot point

How do you summarise and compare data sets using the five-figure summary, quartiles, the interquartile range and a boxplot?

Calculating the five-figure summary (minimum, lower quartile, median, upper quartile, maximum), the range and interquartile range, drawing boxplots, and comparing two data sets.

A focused answer to the SQA National 5 Mathematics statistics content, covering the five-figure summary, the median and quartiles, the range and interquartile range, drawing and reading boxplots, and comparing two data sets by their average and spread.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The median and quartiles
  3. The range and interquartile range
  4. Boxplots
  5. Comparing two data sets
  6. Examples in context
  7. Try this

What this dot point is asking

The SQA wants you to summarise a data set with the five-figure summary, calculate the median, quartiles, range and interquartile range, draw and read a boxplot, and compare two data sets by referring to both an average and a measure of spread.

The median and quartiles

Put the data in order from smallest to largest. The median is the middle value; if there are two middle values, take their mean. The quartiles split the data into four equal parts: the lower quartile Q1Q_1 is the median of the lower half, and the upper quartile Q3Q_3 is the median of the upper half.

The range and interquartile range

The range (maximum minus minimum) measures the full spread but is sensitive to extreme values. The interquartile range measures the spread of the middle half and so resists outliers.

Boxplots

A boxplot is a picture of the five-figure summary. A box stretches from Q1Q_1 to Q3Q_3 with the median drawn as a line inside it; whiskers extend from the box to the minimum and maximum. The width of the box is the IQR, and the position of the median line shows whether the data leans high or low.

Comparing two data sets

A good comparison always mentions both an average and a spread, and puts the conclusion in context. Compare the medians to say which set is typically higher, then compare the IQRs to say which set is more consistent.

The phrasing matters in the exam: name the measure, give the values, and finish with a conclusion in the context of the question, such as "more consistent" or "typically higher", rather than just quoting numbers.

Examples in context

These tools compare groups fairly. A teacher comparing two classes' marks looks at the median to see which class did better typically and the IQR to see which was more consistent. Sports analysts compare players' performances over a season using boxplots, where a narrow box shows a reliable performer. Quality control uses the IQR to monitor whether a process stays consistent.

Try this

Q1. Find the median of 2,5,7,9,112, 5, 7, 9, 11. [1 mark]

  • Cue. The middle value is 77.

Q2. Find the IQR of the summary min 44, Q1=6Q_1 = 6, median 99, Q3=13Q_3 = 13, max 1818. [1 mark]

  • Cue. 13βˆ’6=713 - 6 = 7.

Q3. Set X has median 4040, IQR 55; Set Y has median 4040, IQR 1212. Compare them. [2 marks]

  • Cue. Same average, but X is more consistent (smaller IQR).

Exam-style practice questions

Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SQA National 5 20194 marksFor the data 3,5,6,8,9,11,143, 5, 6, 8, 9, 11, 14, find the five-figure summary.
Show worked answer β†’

The data is already in order with 77 values. The minimum is 33 and the maximum is 1414 (1 mark). The median is the middle (4th) value, 88 (1 mark). The lower quartile is the median of the lower half (3,5,63, 5, 6), so Q1=5Q_1 = 5; the upper quartile is the median of the upper half (9,11,149, 11, 14), so Q3=11Q_3 = 11 (1 mark). The five-figure summary is 3,5,8,11,143, 5, 8, 11, 14 (1 mark). Markers reward the median, both quartiles, and the full ordered summary.

SQA National 5 20223 marksTwo classes sit a test. Class A has interquartile range 66 and median 5252; Class B has interquartile range 1414 and median 5050. Compare the two classes.
Show worked answer β†’

Compare the medians: Class A's median (5252) is slightly higher than Class B's (5050), so on average Class A scored marginally better (1 mark). Compare the interquartile ranges: Class A's IQR (66) is much smaller than Class B's (1414), so Class A's marks are more consistent (less spread out) (1 mark). A full comparison states both an average and a spread in context (1 mark). Markers reward comparing the medians and the IQRs with a clear conclusion.

Related dot points

Sources & how we know this