Maths · Statistics
Viewing as
Teacher view: every answer and mark scheme set out in full.
Cumulative Frequency and Box Plots
Drawing and reading cumulative frequency graphs, finding quartiles, and comparing distributions with box plots.
Learning Objectives
- 1Complete a cumulative frequency table and draw a cumulative frequency graph.
- 2Use the graph to estimate the median, the lower and upper quartiles, and the interquartile range.
- 3Read the number of values above or below a given value from a cumulative frequency graph.
- 4Draw and interpret box plots, and use them to compare two distributions.
Running totals and spread
A cumulative frequency graph plots a running total, so that you can read off how many values are below any given value. From it you can find the median and the quartiles, and from those the interquartile range, which is a measure of spread that ignores extreme values. A box plot then shows five numbers at once. Both are Higher tier content, and comparing two distributions in words, using a median and a measure of spread, is a skill the mark scheme rewards every time.
Cumulative frequency tables and graphs
Cumulative frequency means adding up the frequencies as you go.
-
The table
Add each frequency to the total of all those before it. Frequencies 10, 15, 25, 20, 30 give cumulative frequencies 10, 25, 50, 70, 100.
-
Plot at the upper boundary
For the class \(20 < x \leq 40\), plot the cumulative frequency at \(x = 40\), the end of the class.
-
Join with a smooth curve
Start at the lowest value with a cumulative frequency of 0.
-
Check the last point
The last cumulative frequency is the total number of values.
Reading a cumulative frequency graph
There are 100 values. The median is the middle value, at cumulative frequency 50. The lower quartile is at \(\dfrac{1}{4}\) of the way, 25, and the upper quartile is at \(\dfrac{3}{4}\) of the way, 75.
Reading the graph
- Median Go across from \(\dfrac{n}{2} = 50\) to the curve, then down: 60.
- Lower quartile (LQ) Across from \(\dfrac{n}{4} = 25\), then down: 40.
- Upper quartile (UQ) Across from \(\dfrac{3n}{4} = 75\), then down: 70.
- Interquartile range \(\text{UQ} - \text{LQ} = 70 - 40 = 30\).
Estimating from the graph
Use the graph above to estimate the number of students who scored more than 80 marks.
Show the solutionHide the solution
- 1 Find the cumulative frequency at 80 Go up from a mark of 80 to the curve, and across: 90.
- 2 Think about what it means 90 students scored 80 or less.
- 3 Subtract from the total \(100 - 90 = 10\).
- 4 Write the answer About 10 students scored more than 80.
Answer10
Quartiles and the interquartile range
The interquartile range measures the spread of the middle half of the data.
-
Why use it
It is not affected by extreme values, unlike the range.
-
A smaller IQR
The middle half of the data is more tightly bunched, so the data is more consistent.
-
Percentiles
The 90th percentile is at cumulative frequency \(0.9n\), and so on.
-
Always show the lines
Draw construction lines on the graph to show where you read the values.
Comparing with box plots
A box plot shows five numbers: the minimum, lower quartile, median, upper quartile and maximum. The box covers the middle half of the data, and the line in the box is the median.
Comparing the classes
- Medians Class B has the higher median, 55 against 50, so its typical mark is higher.
- Interquartile ranges Class A has \(65 - 35 = 30\), and Class B has \(60 - 45 = 15\).
- Ranges Class A has \(90 - 20 = 70\), and Class B has \(80 - 30 = 50\).
- Conclusion Class B has a higher median and is more consistent, with a smaller IQR.
Writing a comparison
Marks are for two statements, one about an average and one about spread, both with numbers and the context.
-
Compare the averages
"The median mark for Class B is higher, 55 compared with 50."
-
Compare the spread
"Class B has a smaller interquartile range, 15 compared with 30, so its marks are more consistent."
-
Use the words of the question
Write "marks", "class" or "time", not just "it".
-
Do not describe separately
Make comparisons with a word such as "higher", "lower" or "than".
Drawing a box plot from a cumulative frequency graph
From a cumulative frequency graph of 80 values, the minimum is 3, the lower quartile is 20, the median is 30, the upper quartile is 40 and the maximum is 58. State the five numbers and the interquartile range.
Show the solutionHide the solution
- 1 The five numbers Minimum 3, LQ 20, median 30, UQ 40, maximum 58.
- 2 Draw A box from 20 to 40, with a line at 30, and whiskers to 3 and 58.
- 3 Interquartile range \(40 - 20 = 20\).
- 4 Range \(58 - 3 = 55\).
Answer3, 20, 30, 40, 58; IQR 20
Test yourself
-
1
What does cumulative frequency mean?
Show answerHide answer
A running total of the frequencies.
-
2
Where do you plot a cumulative frequency point for a class?
Show answerHide answer
At the upper class boundary.
-
3
Where is the median on a cumulative frequency graph of \(n\) values?
Show answerHide answer
At cumulative frequency \(\dfrac{n}{2}\).
-
4
How do you find the interquartile range?
Show answerHide answer
Upper quartile minus lower quartile.
-
5
Which is not affected by extreme values, the range or the interquartile range?
Show answerHide answer
The interquartile range.
Exam technique: cumulative frequency and box plots
Show the construction lines and the comparison.
-
Mark the lines on the graph
Examiners credit the reading only if the lines show the method.
-
Read to the nearest half square
Accept answers within a range.
-
Compare using an average and a spread
A median and an IQR, both with numbers.
-
Say "more consistent" correctly
A smaller IQR or range means more consistent, not "lower".
Summary and exam focus
- Cumulative frequency is a running total, plotted at the upper class boundaries and joined with a smooth curve.
- The median, lower quartile and upper quartile are read at \(\dfrac{n}{2}\), \(\dfrac{n}{4}\) and \(\dfrac{3n}{4}\).
- The interquartile range is UQ minus LQ.
- A box plot shows the five numbers, and a comparison needs an average and a spread, with numbers.
Exam focus
A cumulative frequency graph shows the heights of 80 plants. The lower quartile is 20 cm and the upper quartile is 40 cm. Work out the interquartile range. (1 mark) (1 marks)
The interquartile range is \(40 - 20 = 20\) cm. Do not give the range (maximum minus minimum), and do not forget the units.
Key terms
The words this lesson expects you to use. Each one is linked from the first place it appears above.
- Cumulative frequency
- The running total of the frequencies.
- Quartile
- A value that divides the ordered data into four equal parts.
- Lower quartile
- The value a quarter of the way through the ordered data.
- Upper quartile
- The value three quarters of the way through the ordered data.
- Interquartile range
- The upper quartile minus the lower quartile.
- Box plot
- A diagram that shows the minimum, quartiles, median and maximum.
- Percentile
- A value that divides the data into 100 equal parts.
- Distribution
- The way data is spread out.
- Consistent
- Closely grouped, with little variation.
Questions and answers
15 questions set on this lesson, with the mark schemes and model answers open.
The table shows the frequencies of the masses of 60 people. The classes \(40 < m \leq 50\), \(50 < m \leq 60\), \(60 < m \leq 70\), \(70 < m \leq 80\), \(80 < m \leq 90\) and \(90 < m \leq 100\) have the frequencies 6, 9, 15, 15, 11 and 4. Write down the cumulative frequencies. [2 marks]
Mark scheme — 2 marks available
- At least four cumulative frequencies correct — M1
- 6, 15, 30, 45, 56, 60 — A1
Model answer
The running totals are 6, 15, 30, 45, 56 and 60.
The cumulative frequency graph shows the masses of 60 people. (a) Use the graph to find an estimate for the median mass. [1 mark] (b) Use the graph to find an estimate for the interquartile range. [2 marks] (c) Use the graph to find an estimate for the number of people heavier than 90 kg. [2 marks]
Mark scheme — 5 marks available
- (a) 70 (accept 69 to 71) — B1
- (b) Reads the quartiles at cumulative frequencies 15 and 45 — M1
- (b) 20 (accept 18 to 22) — A1
- (c) \(60 - 56\) — M1
- (c) 4 — A1
Model answer
(a) The median is at cumulative frequency 30, which is 70 kg. (b) The lower quartile is at 15, which is 60 kg, and the upper quartile is at 45, which is 80 kg. The interquartile range is \(80 - 60 = 20\) kg. (c) At 90 kg the cumulative frequency is 56, so \(60 - 56 = 4\) people are heavier.
Box plot A shows the masses of Year 10 students: minimum 28, lower quartile 40, median 50, upper quartile 60 and maximum 76. Box plot B shows the masses of Year 11 students: minimum 40, lower quartile 52, median 56, upper quartile 64 and maximum 72. (a) Calculate the interquartile range for each. [2 marks] (b) Compare the masses of the Year 10 and Year 11 students. [2 marks]
Mark scheme — 4 marks available
- (a) 20 — B1
- (a) 12 — B1
- (b) A comparison of the medians, in context — B1
- (b) A comparison of the interquartile ranges, in context — B1
Model answer
(a) Year 10: \(60 - 40 = 20\). Year 11: \(64 - 52 = 12\). (b) The Year 11 students have a higher median, 56 kg compared with 50 kg, so they are typically heavier. Their interquartile range is smaller, 12 kg compared with 20 kg, so their masses are more consistent.
A cumulative frequency graph is drawn for 200 values. (a) At what cumulative frequency should the lower quartile be read? [1 mark] (b) At what cumulative frequency should the upper quartile be read? [1 mark] (c) At what cumulative frequency should the 90th percentile be read? [1 mark]
Mark scheme — 3 marks available
- (a) 50 — B1
- (b) 150 — B1
- (c) 180 — B1
Model answer
(a) \(\dfrac{200}{4} = 50\). (b) \(\dfrac{3 \times 200}{4} = 150\). (c) \(0.9 \times 200 = 180\).
The five-number summary for some data is minimum 15, lower quartile 22, median 30, upper quartile 41 and maximum 60. (a) Calculate the range and the interquartile range. [2 marks] (b) What percentage of the values lie between 22 and 41? [1 mark]
Mark scheme — 3 marks available
- (a) 45 — B1
- (a) 19 — B1
- (b) 50% — B1
Model answer
(a) Range \(60 - 15 = 45\) and interquartile range \(41 - 22 = 19\). (b) The box covers the middle half of the data, so 50%.
A cumulative frequency graph of 120 values has a lower quartile of 35, a median of 48 and an upper quartile of 62. (a) How many values are less than 35? [1 mark] (b) How many values are between 35 and 62? [1 mark] (c) Calculate the interquartile range. [1 mark]
Mark scheme — 3 marks available
- (a) 30 — B1
- (b) 60 — B1
- (c) 27 — B1
Model answer
(a) \(\dfrac{120}{4} = 30\). (b) The middle half, \(\dfrac{120}{2} = 60\). (c) \(62 - 35 = 27\).
For \(n\) values, where is the median on a cumulative frequency graph?
Why: The median is the middle value.
For 100 values, at what cumulative frequency is the lower quartile?
Why: \(\dfrac{100}{4} = 25\).
The upper quartile is 70 and the lower quartile is 40. What is the interquartile range?
Why: \(70 - 40 = 30\).
Frequencies 10, 15, 25, 20, 30 are added up as you go. What are the cumulative frequencies?
Why: Each is the running total.
Where should the points on a cumulative frequency graph be plotted?
Why: The cumulative frequency is up to the end of the class.
A cumulative frequency graph of 100 students has a cumulative frequency of 90 at a mark of 80. How many scored more than 80?
Why: \(100 - 90 = 10\).
Class A has an interquartile range of 30 and Class B has 15. Which is more consistent?
Why: A smaller interquartile range means more consistent.
For 80 values, at what cumulative frequency is the upper quartile?
Why: \(\dfrac{3}{4} \times 80 = 60\).
A box plot for Class B has a median of 55, and Class A has a median of 50. What can you say?
Why: A higher median means a higher typical value.