Year 1 Statistics · Chapter 3
Representations of Data
Specification: Edexcel Paper 3 §2.1, 2.4 — Diagrams, outliers, cleaning data · AQA section L1, L4
In this chapter
Key facts — this chapter
- In a histogram, area represents frequency. With unequal classes the height is the frequency density .
- A cumulative frequency curve plots the running total against the upper class boundary. Read the median at , the quartiles at and .
- A box plot shows five numbers: lowest value, , median, , highest value, with outliers marked separately.
- The usual outlier rule: anything below or above . (Some questions use “more than 2 standard deviations from the mean” instead — always use the rule you are given.)
- Cleaning data means dealing with errors, missing values and outliers. Only remove a value if there’s a reason to believe it’s wrong.
- To compare distributions, compare location and spread, in context, and say which diagram supports each claim.
A summary statistic tells you one thing about a data set. A good diagram tells you the shape of the whole thing at a glance: where the values pile up, how far they spread, and whether anything odd is sitting out on its own.
1. Histograms
A histogram looks like a bar chart, but it means something different. Bar charts are for categories and the height carries the information. Histograms are for grouped continuous data, and the area carries it.
Area represents frequency
Plot frequency density on the vertical axis. Then each bar’s area is its frequency, and the bars touch (no gaps), because the classes run into each other.
| Length, (min) | |||||
|---|---|---|---|---|---|
| Frequency | 9 | 15 | 20 | 10 | 6 |
| Class width | 2 | 2 | 4 | 4 | 8 |
| Frequency density | 4.5 | 7.5 | 5 | 2.5 | 0.75 |
Common mistake
Plotting the frequency as the height with unequal classes is the single most common error in this topic. It makes wide classes look far more common than they are. Check the wording too: “20 calls lasted between 4 and 8 minutes” is a frequency, while the bar’s height is the density.
Worked example 3.1 · Reading a histogram
In the histogram above, estimate the number of calls lasting between 5 and 8 minutes.
Those values lie in the class , whose frequency density is 5. Assuming the calls are spread evenly through the class, use the area of that part of the bar:
When only a scale is given
Some questions give no vertical scale, just one bar’s frequency: “the bar for has area 6 cm² and represents 15 calls”. Then every 6 cm² is 15 calls, so 1 cm² represents 2.5 calls, and you scale any other bar’s area the same way.
The same 60 phone calls, grouped in different ways. Click a bar to split it in two, or click a boundary mark (▲) to merge two classes. With frequency density on the vertical axis, every bar's area stays equal to its frequency, however you group the data.
2. Cumulative frequency
A cumulative frequency curve answers “how many are less than…?” Plot the running total against the upper class boundary of each class, and join the points with a smooth curve (or straight lines). Start at the lowest boundary with cumulative frequency 0.
Key result
From a cumulative frequency curve for values:
- the median is read across from ;
- and from and ;
- the th percentile from .
Reading off the curve gives the same estimates as the interpolation in Chapter 2: the curve is the interpolation, drawn.
Worked example 3.2 · Using the curve
Use the curve to estimate the median call length, the interquartile range, and the number of calls lasting more than 10 minutes.
, so read across at 30, 15 and 45:
At the curve is at about 49, so about calls lasted more than 10 minutes.
3. Box plots and outliers
Outliers
A value is an outlier if it is
These two values are the fences. Some questions instead define an outlier as more than 2 (or 3) standard deviations from the mean. Use whichever rule the question gives.
A box plot draws the five-number summary: lowest value, , median, , highest value. Any outliers are plotted as separate crosses, and the whisker then stops at the most extreme value that is not an outlier.
Worked example 3.3 · Finding outliers
Fifteen parcels have masses, in kg: 12, 15, 17, 18, 20, 21, 22, 24, 25, 26, 28, 30, 33, 41, 55. Show that 55 kg is an outlier and 41 kg is not, then describe the box plot.
With : , so is the 4th value, 18. The median is the 8th value, 24. , so is the 12th value, 30.
, so 55 kg is an outlier. , so 41 kg is not.
In context
The box runs from 18 to 30 with the median at 24. The left whisker reaches the lowest value, 12; the right whisker stops at 41, the largest value inside the fence; and 55 is plotted as a cross.
4. Cleaning data
Real data contain mistakes. Cleaning means deciding what to do with values that look wrong before any analysis.
Key result
- An error (a height of 17 m, a negative age) can be removed or corrected.
- A missing value is usually left out, and you say so.
- A genuine outlier is not automatically wrong. Only remove a value if you have a reason: a recording error, or a unit mix-up. Otherwise keep it and mention it.
Common mistake
“Remove the outlier because it is far from the others” is circular, and earns no marks. Give a reason it’s likely to be invalid — “a call of 0 minutes was probably a misdial” — or keep the value and comment on its effect.
5. Comparing distributions
Key result
Compare location and spread, in context, and say which feature of the diagram you’re using:
- box plots: compare medians and IQRs, and mention skew or outliers;
- histograms: compare shape, where the bulk of the data sits, and any tail;
- cumulative frequency curves: compare medians, quartiles and how steeply each curve rises.
In context
“The median mass for the parcels from depot B (30 kg) is higher than for depot A (24 kg), so B’s parcels are typically heavier. B’s IQR (11 kg) is a little smaller than A’s (12 kg), so its masses are slightly more consistent. A also has an outlier at 55 kg, which B does not.”
Practice
Twelve questions in three tiers. Try each one properly before opening the solution. Unless a question says otherwise, treat a value as an outlier if it is more than beyond a quartile.
Warm-up
Find the frequency density of each class.
| Class | ||||
|---|---|---|---|---|
| Frequency | 8 | 25 | 12 | 10 |
Show solution
Divide each frequency by its class width (5, 10, 5, 20):
| Class | ||||
|---|---|---|---|---|
| Frequency density | 1.6 | 2.5 | 2.4 | 0.5 |
In a histogram, the bar for the class has height 3.2.
- Find the frequency of that class.
- The class has frequency 18. Find the height of its bar.
Show solution
(a) Frequency .
(b) Density .
The distances travelled to work by 50 commuters are grouped below.
| Distance, (km) | |||||
|---|---|---|---|---|---|
| Frequency | 7 | 13 | 18 | 8 | 4 |
- Write down the cumulative frequencies.
- State how many commuters travel less than 20 km.
Show solution
(a) 7, 20, 38, 46, 50, plotted against the upper boundaries 5, 10, 20, 30, 50.
(b) 38 commuters.
Eleven values, in order, are 4, 6, 7, 9, 11, 12, 14, 15, 18, 21, 30.
- Find the quartiles and the IQR.
- Determine whether 30 is an outlier.
Show solution
(a) , so is the 3rd value, 7. The median is the 6th value, 12. , so is the 9th value, 18. .
(b) The fences are and . Since , the value 30 is not an outlier, even though it looks far from the rest.
Standard
In a histogram, the bar for has area and represents 24 values.
- Find how many values represents.
- Another bar has area . Find its frequency.
Show solution
(a) values per .
(b) values.
The heights, cm, of 80 plants are grouped below.
| Height, (cm) | |||||
|---|---|---|---|---|---|
| Frequency | 12 | 18 | 24 | 16 | 10 |
- Find the frequency density of each class.
- Estimate the number of plants between 125 cm and 135 cm tall.
Show solution
(a) 0.6, 1.8, 2.4, 0.8 and 0.25.
(b) Half of the class and half of , using areas:
The times, minutes, of 80 runners in a race are grouped below.
| Time, (min) | ||||||
|---|---|---|---|---|---|---|
| Frequency | 6 | 14 | 22 | 20 | 14 | 4 |
- Write down the cumulative frequencies.
- Estimate the median and the interquartile range.
- Estimate how many runners took longer than 45 minutes.
Show solution
(a) 6, 20, 42, 62, 76, 80.
(b) , in : min (3 s.f.).
is exactly the cumulative frequency at 30, so min. , in : min.
min.
(c) Half of the class lies above 45, so the cumulative frequency at 45 is about . That leaves about runners.
For a set of test marks the mean is 52 and the standard deviation is 6. A mark is defined as an outlier if it is more than two standard deviations from the mean.
- Find the range of marks that are not outliers.
- State whether the marks 39, 41 and 65 are outliers.
Show solution
(a) , so marks from 40 to 64 are not outliers.
(b) 39 is an outlier, since it is below 40. 41 is not, since it lies inside the range. 65 is an outlier, since it is above 64.
Exam style
The masses, grams, of 120 apples are shown in a histogram. The frequency densities are given below.
| Mass, (g) | |||||
|---|---|---|---|---|---|
| Frequency density | 0.9 | 2.4 | 3.6 | 1.2 | ? |
- Find the frequency of each of the first four classes.
- Hence find the missing frequency density.
- Estimate the median mass.
- Estimate the percentage of apples with mass over 110 g.
Show solution
(a) Multiply density by width: , , , .
(b) Those account for apples, so the last class has , and its density is .
(c) . The cumulative frequencies are 18, 42, 78, so the median is in :
(d) Above 110 g: half of , which is 12 apples, plus all 18 in the last class, giving 30.
Depot A’s parcels have the five-number summary 12, 18, 24, 30, 41 kg, with one outlier at 55 kg. Depot B’s 15 parcels are, in kg: 20, 22, 23, 25, 26, 27, 29, 30, 31, 33, 35, 36, 38, 40, 44.
- Find the quartiles for depot B and show that it has no outliers.
- Compare the two depots’ parcel masses.
Show solution
(a) , so is the 4th value, 25. The median is the 8th, 30. , so is the 12th, 36. .
Fences: and . The smallest value (20) and the largest (44) both lie inside, so there are no outliers.
(b) B’s median (30 kg) is higher than A’s (24 kg), so B’s parcels are typically heavier. B’s IQR (11 kg) is slightly smaller than A’s (12 kg), so B’s masses are a little more consistent. A also has an outlier at 55 kg, far heavier than anything from B.
A student records the reaction times, in seconds, of 12 people. One person’s time was not recorded. The others are:
0.28, 0.31, 0.33, 0.29, 3.2, 0.35, 0.30, 0.27, 0.32, 0.34, 0.31
- Calculate the mean of the 11 recorded times.
- Explain why the value 3.2 should be investigated, and suggest what went wrong.
- The student decides the 3.2 should have been 0.32. Recalculate the mean and comment.
Show solution
(a) The total is 6.30, so the mean is s (3 s.f.).
(b) Every other time is around 0.3 s, so 3.2 s is roughly ten times larger than the rest. Human reaction times are not that slow, so it is almost certainly a recording error: most likely a misplaced decimal point (0.32 typed as 3.2).
(c) The corrected total is 3.42, so the mean is s (3 s.f.).
In context
One mistyped value pushed the mean from 0.311 s to 0.573 s — nearly double — even though every other reading was fine. That’s why data are cleaned before they are summarised. The missing 12th value is simply left out, and the report should say the mean is based on 11 times.
A cumulative frequency curve for the lengths of 60 phone calls gives , and minutes. The shortest call was 0.4 minutes and the longest was 19 minutes.
- Show that any call longer than 16.8 minutes is an outlier.
- Describe the box plot for these data.
- The curve shows 6 calls in the class . Explain why you cannot tell from the curve exactly how many calls are outliers.
Show solution
(a) , so the upper fence is
Any call longer than this is an outlier. (The lower fence is , so no short call can be an outlier.)
(b) A box from 2.8 to 8.4 with the median at 5.2. The left whisker runs to 0.4. The longest call, 19 minutes, is beyond the fence, so it is plotted as an outlier, and the right whisker stops at the largest call of 16.8 minutes or less.
(c) The curve only gives the number of calls in each class, not the individual values. The 6 calls between 12 and 20 minutes could all be under 16.8, or several could be above it. You would need the raw data to count the outliers exactly.