Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Standard (2026) Data Analysis

Comparing Distributions

20 practice questions 3 video lessons Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 3 video(s)
  • Comparing Distributions - Video - Comparing Distributions Part 1 Watch
  • Comparing Distributions - Video - Comparing Distributions Part 2 Watch
  • Comparing Distributions - Video - Comparing Distributions Part 3 Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

To compare two distributions, compare their centre (mean or median) and their spread (range, IQR or standard deviation). This Year 11 Mathematics Standard page covers comparing data sets in lists, back-to-back stem-and-leaf plots and parallel displays, deciding which group is more consistent, the effect of an outlier on each measure, and finding a missing score from a mean.

To compare two distributions, compare their centre and their spread, using the same measures for both groups. The centre (the mean or median) tells you which group generally scored higher. The spread (the range, interquartile range or standard deviation) tells you how far apart the scores are. Always finish with a sentence in the context of the question.

A group is more consistent when its scores stay close together, which means a smaller spread. A batter with a smaller standard deviation is a more consistent scorer, even if another batter has a higher mean.

An outlier affects some measures much more than others. The mean, range and standard deviation all use the extreme scores, so one outlier can change them a lot. The median and the IQR only use the middle of the ordered data, so an outlier hardly changes them. When a data set has an outlier, the median and IQR are the fairer measures to compare.

Two data sets are easiest to compare when they are drawn side by side on the same scale: a back-to-back stem-and-leaf plot (one stem in the middle, with the leaves for one group on the left and the other group on the right), parallel dot plots, or parallel box plots.

For the standard deviation use the calculator in statistics mode and take the population standard deviation, \(\sigma\) (shown as \(\sigma_n\) or \(\sigma x\)). For data in a frequency table, enter each score with its frequency.

Same centre, different spreadTwo parallel dot plots on the same scale. Set A: 5, 6, 6, 7, 7, 7, 8, 8, 9, bunched around 7. Set B: 2, 3, 4, 6, 7, 8, 10, 11, 12, spread out. Both have a mean of 7. 0 2 4 6 8 10 12 14 Score A B
Both sets have mean \(7\), but set A (range \(4\)) is bunched together and set B (range \(10\)) is spread out. Set A is more consistent.
Different centre, same spreadParallel box plots on the same scale. Group A: 20, 30, 35, 40, 50. Group B: 35, 45, 50, 55, 65. Group B is shifted 15 higher, but both have an IQR of 10 and a range of 30. 15 25 35 45 55 65 Score A B
Group B has the higher median (\(50\) compared with \(35\)). Both have \(IQR=10\) and range \(30\), so the spread is the same.

Measures of centre:

\[\overline{x}=\dfrac{\text{sum of the scores}}{\text{number of scores}}\qquad\qquad \text{median}=\text{middle score of the ordered data}\]
mean equals the sum of the scores divided by the number of scores; the median is the middle score

Measures of spread:

\[\text{Range}=\text{highest}-\text{lowest}\qquad\qquad IQR=Q_3-Q_1\]
range equals highest minus lowest; IQR equals Q3 minus Q1

Standard deviation: calculator, statistics mode, population SD \(\sigma\) (\(\sigma_n\)).

MeasureTells you aboutEffect of an outlier
Meancentrechanges a lot
Mediancentrehardly changes
Rangespreadchanges a lot
IQRspreadhardly changes
Standard deviationspreadchanges a lot
Working backwards from a mean. Sum of the scores \(=\) mean \(\times\) number of scores. If \(5\) scores must have a mean of \(12\), they must add to \(5\times 12=60\). Subtract the known scores to find the missing one.
Reading a back-to-back stem-and-leaf plot. The leaves on the left are read from right to left (outwards from the stem). With key \(4\,|\,3\,|\,6\): the left leaf gives \(34\) and the right leaf gives \(36\).

How to compare two data sets

  1. Calculate the same measures for both groups: mean and median for the centre; range, IQR or standard deviation for the spread.
  2. Compare the centre. The group with the higher mean or median generally scored higher.
  3. Compare the spread. The group with the smaller spread is more consistent.
  4. Check for outliers. If there is one, compare medians and IQRs rather than means and ranges.
  5. Conclude in context, quoting the numbers: for example, “Class A did better (median \(32\) compared with \(25.5\)) and was more consistent (IQR \(11\) compared with \(15\)).”
Example 1 — Same mean, different spread
The number of customers at two cafes on six days was:
Cafe A: \(42,\ 45,\ 47,\ 50,\ 52,\ 46\)
Cafe B: \(30,\ 38,\ 49,\ 55,\ 61,\ 49\)
(i) Show that the cafes have the same mean.
(ii) Find the range for each cafe.
(iii) Which cafe has more consistent customer numbers?
Solution

(i) Find each mean:

\(\overline{x}_A\)\(=\)\(\dfrac{282}{6}=47\)
\(\overline{x}_B\)\(=\)\(\dfrac{282}{6}=47\)
mean of A equals 282 over 6, which is 47; mean of B equals 282 over 6, which is 47

(ii) Range \(=\) highest \(-\) lowest:

\(\text{Range}_A\)\(=\)\(52-42=10\)
\(\text{Range}_B\)\(=\)\(61-30=31\)
range of A equals 52 minus 42, which is 10; range of B equals 61 minus 30, which is 31
Daily customers at two cafesParallel dot plots. Cafe A: 42, 45, 46, 47, 50, 52, bunched between 42 and 52. Cafe B: 30, 38, 49, 49, 55, 61, spread from 30 to 61. 28 32 36 40 44 48 52 56 60 64 Customers per day Cafe A Cafe B

(iii) Same mean, but Cafe A's numbers are much closer together (range \(10\) compared with \(31\)).

\(\therefore\) Cafe A has the more consistent customer numbers.

Example 2 — Back-to-back stem-and-leaf
The back-to-back stem-and-leaf plot shows the marks (out of \(50\)) of two classes of \(10\) students.
Class AStemClass B
\(8\)\(1\)\(2\ \ 5\ \ 9\)
\(9\ \ 7\ \ 4\)\(2\)\(2\ \ 5\ \ 6\ \ 8\)
\(8\ \ 5\ \ 3\ \ 1\)\(3\)\(4\ \ 9\)
\(6\ \ 2\)\(4\)\(1\)
Key: \(1\,|\,3\,|\,4\) means \(31\) for Class A and \(34\) for Class B
(i) Find the median and the IQR of each class.
(ii) Which class performed better? Give two reasons.
Solution

Read each class (Class A leaves read from right to left):
A: \(18,\ 24,\ 27,\ 29,\ 31,\ 33,\ 35,\ 38,\ 42,\ 46\)
B: \(12,\ 15,\ 19,\ 22,\ 25,\ 26,\ 28,\ 34,\ 39,\ 41\)

(i) \(n=10\): the median is the average of the 5th and 6th marks, and each half has \(5\) marks.

A: lower half \(18,\ 24,\ \mathbf{27},\ 29,\ 31\) \(\Rightarrow Q_1=27\)
upper half \(33,\ 35,\ \mathbf{38},\ 42,\ 46\) \(\Rightarrow Q_3=38\)

\(\text{Median}_A\)\(=\)\(\dfrac{31+33}{2}=32\)
\(IQR_A\)\(=\)\(38-27=11\)
Class A: median 32, IQR 38 minus 27 equals 11

B: lower half \(12,\ 15,\ \mathbf{19},\ 22,\ 25\) \(\Rightarrow Q_1=19\)
upper half \(26,\ 28,\ \mathbf{34},\ 39,\ 41\) \(\Rightarrow Q_3=34\)

\(\text{Median}_B\)\(=\)\(\dfrac{25+26}{2}=25.5\)
\(IQR_B\)\(=\)\(34-19=15\)
Class B: median 25.5, IQR 34 minus 19 equals 15

(ii) Class A performed better: its median is \(6.5\) marks higher (\(32\) compared with \(25.5\)), and its smaller IQR (\(11\) compared with \(15\)) shows its marks were more consistent.

Example 3 — The effect of an outlier
The number of minutes that six buses were late was recorded on two days.
Monday: \(6,\ 8,\ 9,\ 10,\ 12,\ 15\)
Tuesday: \(6,\ 8,\ 9,\ 10,\ 12,\ 45\) (one bus broke down)
Find the mean, median, range, IQR and population standard deviation for each day, then say which measures were affected by the outlier \(45\).
Solution

Each day has \(6\) scores, so each half has \(3\): lower half \(6,\ \mathbf{8},\ 9\) and upper half \(10,\ \mathbf{12},\ 15\) (or \(45\)), so \(Q_1=8\) and \(Q_3=12\) on both days.

\(\overline{x}_{\text{Mon}}\)\(=\)\(\dfrac{60}{6}=10\)
\(\overline{x}_{\text{Tue}}\)\(=\)\(\dfrac{90}{6}=15\)
Monday mean 60 over 6 equals 10; Tuesday mean 90 over 6 equals 15

Calculator, statistics mode, population SD (\(\sigma_n\)): Monday \(\sigma=2.886\ldots\approx 2.89\), Tuesday \(\sigma=13.540\ldots\approx 13.54\).

MeasureMonTue
Mean\(10\)\(15\)
Median\(9.5\)\(9.5\)
Range\(9\)\(39\)
IQR\(4\)\(4\)
\(\sigma\)\(2.89\)\(13.54\)

The median \(\left(\dfrac{9+10}{2}=9.5\right)\) and the IQR \((12-8=4)\) did not change. The mean, range and standard deviation all increased, so these were affected by the outlier.

Example 4 — A missing score
In four basketball games Mia scored \(12,\ 15,\ 17\) and \(20\) points. Zoe scored \(14,\ 18,\ 21\) and \(25\) points in her first four games.
(i) How many points must Zoe score in her fifth game so that her mean is exactly \(3\) points more than Mia's mean?
(ii) With that score, by how much is Zoe's median greater than Mia's median?
Solution

(i) Find the target mean, then solve for the missing score \(x\):

\(\overline{x}_{\text{Mia}}\)\(=\)\(\dfrac{12+15+17+20}{4}=\dfrac{64}{4}=16\)
Mia's mean equals 64 over 4, which is 16

So Zoe needs a mean of \(16+3=19\) from \(5\) games.

\(\dfrac{14+18+21+25+x}{5}\)\(=\)\(19\)
\(78+x\)\(=\)\(95\)
\(x\)\(=\)\(17\)
14 plus 18 plus 21 plus 25 plus x over 5 equals 19, so 78 plus x equals 95, so x equals 17

\(\therefore\) Zoe must score \(17\) points.

(ii) Zoe in order: \(14,\ 17,\ \mathbf{18},\ 21,\ 25\) \(\Rightarrow\) median \(=18\)
Mia: median \(=\dfrac{15+17}{2}=16\)
Difference \(=18-16=\mathbf{2}\) points

Common pitfalls

A higher mean is not the same as more consistent. Consistency is about spread. Compare standard deviations, IQRs or ranges, and choose the group with the smaller value.
Compare like with like. Compare a median with a median and an IQR with an IQR. Do not compare one group's mean with the other group's median.
Read the left leaves backwards. In a back-to-back stem-and-leaf plot, the left-hand leaves go outwards from the stem: leaves \(9\ \ 7\ \ 4\) on stem \(2\) are \(24,\ 27,\ 29\).
Use the median and IQR when there is an outlier. One extreme score can drag the mean and blow out the range and standard deviation, which makes a comparison unfair.
Use the population standard deviation. On the calculator choose \(\sigma_n\) (or \(\sigma x\)), not \(s\) (\(s_{n-1}\)), unless the question asks for the sample standard deviation.

Frequently asked questions

How do you compare two sets of data?

Compare the centre (mean or median) to see which group scored higher, and the spread (range, IQR or standard deviation) to see which group is more consistent. Quote the numbers and finish with a sentence in context.

What does more consistent mean in statistics?

The scores are closer together, so the spread is smaller. The group with the smaller standard deviation, IQR or range is the more consistent one.

Which measures are affected by outliers?

The mean, the range and the standard deviation change a lot. The median and the interquartile range hardly change, because they only use the middle of the ordered data.

How do you read a back-to-back stem-and-leaf plot?

The stems are in the middle. Read the right-hand leaves as usual, and read the left-hand leaves outwards from the stem. With key \(4\,|\,3\,|\,6\), the left leaf gives \(34\) and the right leaf gives \(36\).

Should I use the mean or the median to compare groups?

Use the mean when the data is roughly symmetric with no outliers. Use the median (with the IQR) when the data is skewed or has an outlier.