Cumulative frequency and box plots
Studying this course? Keep your progress in one place.
Key facts
- Cumulative frequency is a running total, plotted against the upper class boundary.
- Read the graph at (lower quartile), (median) and (upper quartile).
- Interquartile range ; it ignores extreme values.
- A box plot uses the five-number summary: the box runs from to , the whiskers reach the minimum and maximum.
- Compare data using the median (average) and the IQR or range (spread), in context.
Cumulative frequency
Add up the frequencies as a running total and plot each total against the upper class boundary.
Cumulative frequency is a running total of the frequencies. For the masses : 4, : 11, : 17 the cumulative frequencies are , and .
Plot each total against the upper class boundary, giving points , , . Start at the lowest value with cumulative frequency and join with a smooth curve. The last point equals the total frequency.
A cumulative frequency graph is plotted against which part of each class?
Median and quartiles
Read across at , and , then down to the horizontal axis.
The quartiles split the data into four equal parts.
Go across from the height to the curve, then down to the horizontal axis and read the value. The answer is a value from the horizontal axis, not the height you started at.
- Lower quartile Q₁read at
- Medianread at
- Upper quartile Q₃read at
Worked example
A cumulative frequency graph shows values. At what heights do you read the median and quartiles?
- 1
Median: .
- 2
Lower quartile: .
- 3
Upper quartile: .
For 60 values, at what cumulative frequency do you read the upper quartile?
Range and interquartile range
The IQR is : the spread of the middle half of the data.
The range is the largest value minus the smallest value. The interquartile range (IQR) measures the spread of the middle half of the data.
The IQR is not affected by extreme values, so it is often a better measure of spread than the range. A smaller IQR means the data are more consistent.
- Rangelargest − smallest
- IQR
Worked example
The lower quartile is minutes and the upper quartile is minutes. Find the IQR.
- 1
IQR .
- 2
IQR minutes.
Why is the IQR often better than the range?
Drawing a box plot
Draw a scale, then the box from to , a line at the median and whiskers to the extremes.
A box-and-whisker plot uses a number line and the five-number summary: minimum, lower quartile, median, upper quartile, maximum.
The box contains the middle 50% of the data. Each whisker and each half of the box holds about 25% of the data.
- 1
Draw a scale
cover all the values
- 2
Draw the box
from Q1 to Q3
- 3
Mark the median
a vertical line inside the box
- 4
Draw whiskers
from the box out to the minimum and maximum
Where does the box of a box plot start and end?
Comparing box plots
Compare one measure of average (the median) and one of spread (the IQR), in context.
Compare two data sets using one measure of average and one of spread, always in context.
A higher median means higher typical values. A smaller spread (IQR or range) means more consistent values. About 75% of values lie below , and about 25% lie above it.
- Restaurant X
- Restaurant Y
Y is slightly slower on average, but its deliveries are much more consistent.
Restaurant X has median 25 and IQR 16. Restaurant Y has median 26 and IQR 8. Which has the more consistent times?
Try an exam question
The lower quartile of a set of times is minutes and the upper quartile is minutes. Find the interquartile range, and give one reason why it can be better than the range.
[3 marks]
- [1]IQR .
- [1] minutes.
- [1]It is not affected by extreme values, because it uses only the middle half of the data.
That's the notes covered.
Carry on to the next subtopic.
Try a question
How many students spent more than 50 minutes on homework?
1 mark, marked against the mark scheme
How many students spent more than 50 minutes on homework?
1 mark, marked against the mark scheme