Statistics · Cumulative frequency & box plots
1 / 16
Box plots
What each of the five marks on a box plot means, why the box holds the middle 50% of the data, and why a longer section means the data there is more spread out — never that there is more of it.
Statistics · Cumulative frequency & box plots
Box plots
What each of the five marks on a box plot means, why the box holds the middle 50% of the data, and why a longer section means the data there is more spread out — never that there is more of it.
Why it works
A box plot is not a picture of how many. It is a picture of *where the values sit*. Almost every mark lost on box plots comes from forgetting that one sentence, so it is worth seeing exactly where the five marks on the plot come from.Start with data, in order. Here are the marks of students in a test out of , with a bar dropped after every fifth value:
Five values is exactly a quarter of , so those three bars cut the data into four equal-sized groups. The bars are the quartiles: lower quartile , median , upper quartile . Add the smallest value and the largest and you have the five-number summary: .
That definition is the whole reason a box plot can be read at all: the quartiles are the cut points chosen so that the four groups are equal in size. The plot just draws those five numbers on a number line — a box from to with a line at the median, and whiskers reaching out to the smallest and largest values.So the plot has four sections — lower whisker , left half of the box , right half of the box , upper whisker — and each one holds a quarter of the data, here students. The box, being the two middle sections, holds the middle ; each whisker holds an outer .
The trap, with the numbers in front of you. Look at the lengths. The upper whisker runs from to : that is marks wide. The whole box runs from to : only marks wide. The upper whisker is more than twice as long as the entire box — so there must be more students up there?
Count them. The upper whisker holds — five students. The box holds — ten students. The longer section contains half as many students as the shorter one.
Once you have counted it the reason is obvious. Every section holds the same number of values by construction — that is what "quartile" means. The only thing that can differ from section to section is how far along the number line that equally-sized group is stretched. So
- a short section that quarter of the data is bunched together;
- a long section that quarter of the data is spread out.
That is also the only way to count anything from a box plot. If a question tells you there were students, then are above , are above the median and are above — and that is all. A box plot cannot give you the mean, the mode or any individual value, and it cannot tell you the total unless the question states it.
What the shape tells you. Because the median line splits the box, where it sits reveals symmetry. Median close to : the lower-middle quarter is squashed and the upper-middle quarter stretched, so the data trails away to the right — positive skew. Median close to : the tail is to the left — negative skew. Median central with whiskers of similar length: roughly symmetrical. Never assume the median sits in the middle of the box; read where it actually is.
Comparing two box plots. Marks come in pairs, and both must be in context:
- one comparison of centre — the medians: "the median mark at School A
- one comparison of spread — the IQRs (or the ranges): "the IQR at A ()
"A's box is further to the right and thinner" scores nothing: no measure named, no figures, no context. Name the measure, quote the numbers, then say what it means about the thing being measured.
Outliers. When outliers are shown they are crosses drawn beyond the whiskers, and the whisker ends are then no longer the smallest and largest values — they are the most extreme values that are not outliers. The range still uses the true extremes, crosses included. The IQR ignores them completely, which is exactly why the IQR is the better measure of spread once a data set has stray values in it.