Compare data distributions for continuous numerical variables using appropriate data displays including boxplots; discuss the shapes of these distributions in terms of centre, spread, shape and outliers.
A boxplot throws away almost all the data and keeps five numbers. That is the point — it makes two groups comparable at a glance, in a way a list of results never can.
Method
The five-number summary
minQ1medianQ3max
Every boxplot is built from these five and nothing else.
The box holds the middle half
IQR=Q3−Q1
Half the data sits inside the box. The interquartile range is the spread of that middle half.
Each section is a quarter
Each whisker and each half of the box holds 25% of the data — however long or short it looks.
Long section means spread out
A long whisker does not mean more data. It means the same quarter of the data is stretched over a wider range.
The outlier rule
outlier<Q1−1,5×IQRor>Q3+1,5×IQR
Anything past those fences is plotted as a separate point.
Worked example
e.g.Test marks: 12,18,19,22,24,26,29,31,34,40
Put the data in order. Nothing works until you do.12,18,19,22,24,26,29,31,34,40
Find the median. With 10 values it sits between the 5th and 6th.med=224+26=25
Split the data in half. Q1 is the median of the lower half.Q1=19
Q3 is the median of the upper half.Q3=31
Write the five-number summary and work out the IQR.12,19,25,31,40IQR=31−19=12
Check for outliers using the fences before you draw.19−18=1and31+18=49∴none
Draw the box from Q1 to Q3, the line at the median, whiskers to min and max.
To compare two groups, draw them on the same scale and talk about centre, spread and shape.
Practice
Find the five-number summary first, then answer.
1
Find the five-number summary of 4,7,8,11,13,15,21
Answer4,7,11,15,21IQR=8
2
A boxplot has Q1=30,Q3=54. Find the fences.
AnswerIQR=24∴30−36=−6 and 54+36=90
3
Two classes have the same median but Class B has a much smaller IQR. What does that mean?
AnswerSame typical mark, but Class B is far more consistent.
4
The right whisker is three times the length of the left. What does that tell you?
AnswerThe distribution is skewed right — the top 25% is stretched over a much wider range.
5
What percentage of the data lies between Q1 and the median?
Answer25%
6
Marks: 3,21,23,24,25,26,28. Is 3 an outlier?
AnswerQ1=21,Q3=26,IQR=5∴21−7,5=13,5∴yes
Next step
Practise Boxplots and Comparing Distributions with instant marking
A free 10-minute placement check finds which Year 10 topics to work on first, then Summit builds a weekly plan around them.