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.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
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 is the median of the lower half, and the upper quartile 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 to 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 . [1 mark]
- Cue. The middle value is .
Q2. Find the IQR of the summary min , , median , , max . [1 mark]
- Cue. .
Q3. Set X has median , IQR ; Set Y has median , IQR . 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 , find the five-figure summary.Show worked answer β
The data is already in order with values. The minimum is and the maximum is (1 mark). The median is the middle (4th) value, (1 mark). The lower quartile is the median of the lower half (), so ; the upper quartile is the median of the upper half (), so (1 mark). The five-figure summary is (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 and median ; Class B has interquartile range and median . Compare the two classes.Show worked answer β
Compare the medians: Class A's median () is slightly higher than Class B's (), so on average Class A scored marginally better (1 mark). Compare the interquartile ranges: Class A's IQR () is much smaller than Class B's (), 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
- Calculating the standard deviation of a data set using the standard formula, and using the mean and standard deviation to compare two data sets.
A focused answer to the SQA National 5 Mathematics standard deviation content, covering how to calculate the standard deviation with the National 5 formula, what it measures, and how to compare two data sets using the mean and standard deviation together.
- Drawing and interpreting scattergraphs, describing correlation, drawing a line of best fit, finding its equation and using it to estimate values.
A focused answer to the SQA National 5 Mathematics scattergraph content, covering plotting and interpreting scattergraphs, describing positive, negative and no correlation, drawing a line of best fit, finding its equation, and using it to estimate values.
- Calculating percentage increase and decrease, finding the original amount in reverse percentage problems, and using a multiplier for repeated percentage change including appreciation, depreciation and compound interest.
A focused answer to the SQA National 5 Mathematics percentages content, covering percentage increase and decrease using a multiplier, reverse percentage problems to find an original amount, and repeated percentage change such as compound interest, appreciation and depreciation.
- Calculating with fractions: adding, subtracting, multiplying and dividing fractions and mixed numbers, and finding a fraction of a quantity.
A focused answer to the SQA National 5 Mathematics fractions content, covering adding and subtracting fractions with a common denominator, multiplying and dividing fractions, working with mixed numbers, and finding a fraction of a quantity, all for non-calculator work.
- Applying trigonometry, the sine and cosine rules and the area formula to practical problems involving bearings, angles of elevation and depression, and three-dimensional shapes.
A focused answer to the SQA National 5 Mathematics applications of trigonometry content, covering bearings, angles of elevation and depression, and using the sine rule, cosine rule and area formula in practical and three-dimensional problems.
Sources & how we know this
- SQA National 5 Mathematics Course Specification β SQA (2018)