9.6 · Extended onlyPaper 2Paper 4

Cumulative frequency diagrams

In a minute

A is a running total of the frequencies. Its graph is a , and from the curve you estimate the , the , the and any .

You'll be able to

  • Build a cumulative frequency table and use it to count values.
  • Draw a cumulative frequency diagram.
  • Use the curve to estimate how many values are below or above a given value.
  • Estimate the median, quartiles and interquartile range, and say what they show.
  • Estimate a percentile, and the percentage of values below a given value.
Before you start2 quick questions on what this builds on
Check yourself
Find the median of 13,8,22,17,11,26,1913, 8, 22, 17, 11, 26, 19.
Check yourself
The lower quartile of some data is 3737 and the upper quartile is 5858. Write down the interquartile range.

Revise first: 9.3 Averages and measures of spread

Cumulative frequency tables

A counts the values in each class. Often you want something else: how many values are up to a certain size.

Each running total belongs to the top of its class, the upper boundary. For 26<t≤3026 < t \le 30, it counts every value up to 3030.

Worked exampleThe finishing times of 6868 runners in a fun run are grouped below. Time t (min)22<t≤2626<t≤3030<t≤3434<t≤3838<t≤46Frequency51726155\begin{array}{c|ccccc} \text{Time } t\text{ (min)} & 22 < t \le 26 & 26 < t \le 30 & 30 < t \le 34 & 34 < t \le 38 & 38 < t \le 46 \\ \hline \text{Frequency} & 5 & 17 & 26 & 15 & 5 \end{array} Work out the cumulative frequency for each class.

Try it first, then reveal one step at a time.

  1. First class: 55 runners took 2626 minutes or less.

To count the values above a boundary, subtract its running total from the total frequency.

Worked exampleA courier weighs 9393 parcels. Mass m (kg)m≤1m≤2m≤4m≤6m≤9Cumulative frequency1134678593\begin{array}{c|ccccc} \text{Mass } m\text{ (kg)} & m \le 1 & m \le 2 & m \le 4 & m \le 6 & m \le 9 \\ \hline \text{Cumulative frequency} & 11 & 34 & 67 & 85 & 93 \end{array} How many parcels have a mass of more than 44 kg?

Try it first, then reveal one step at a time.

  1. 6767 parcels are 44 kg or less.
Check yourself
Use the courier's table. How many parcels are more than 22 kg but at most 44 kg?

Drawing the diagram

A draws the running totals as a curve.

1. Plot each cumulative frequency at the upper boundary of its class.

2. Plot the start too: the lowest boundary, with cumulative frequency 00. No runner finished in 2222 minutes or less, so the race curve starts at (22,0)(22, 0), not (0,0)(0, 0).

3. Mark each point with a small cross. Join them with one smooth curve that never goes down.

Why the upper boundary? The total 2222 means 2222 runners had finished by 3030 minutes, the end of the class. It is not true at the middle, 2828.

Worked exampleUse the race-time table. Write down the point you plot for the class 34<t≤3834 < t \le 38.

Try it first, then reveal one step at a time.

  1. The upper boundary of 34<t≤3834 < t \le 38 is 3838. The running total there is 5+17+26+15=635 + 17 + 26 + 15 = 63.
Cumulative frequency diagram for the finishing times of 68 runners. Time in minutes across from 22 to 46, each small square 1 minute. Cumulative frequency up from 0 to 70, each small square 2 runners. Crosses at 22 minutes and 0, 26 and 5, 30 and 22, 34 and 48, 38 and 63, and 46 and 68, joined by a smooth S-shaped curve. The curve is steepest between 30 and 34 minutes. At 28 minutes it is at a height of about 12, and at 31 minutes about 28. 22 26 30 34 38 42 46 0 10 20 30 40 50 60 70 Time (minutes) Cumulative frequency
It is steepest where the most runners finished.

To count from the curve, go up from a value to the curve, then across. The reading counts the values at or below it.

Worked exampleUse the race curve to estimate how many runners took more than 3131 minutes.

Try it first, then reveal one step at a time.

  1. Go up from 3131 minutes to the curve, then across. It reads about 2828.
Check yourself
Where do you plot the cumulative frequency for the class 38<t≤4638 < t \le 46?
Check yourself
Use the race curve to estimate how many runners took more than 2828 minutes.

Median, quartiles and interquartile range

For nn values, the is the middle one. On the curve, go across from 12n\frac{1}{2}n, halfway up the total.

The cut the data into quarters. Go across from 14n\frac{1}{4}n for the lower quartile (LQ) and 34n\frac{3}{4}n for the upper quartile (UQ).

Learn this
LQ at 14n,median at 12n,UQ at 34n\text{LQ at } \tfrac{1}{4}n, \qquad \text{median at } \tfrac{1}{2}n, \qquad \text{UQ at } \tfrac{3}{4}n

For a list you used n+12\frac{n+1}{2}. A curve gives only an estimate, so 12n\frac{1}{2}n is fine.

The is UQ −- LQ, read on the horizontal axis. It is the spread of the middle half of the data.

Cumulative frequency diagram for the masses of 160 apples. Mass in grams across from 100 to 220, each small square 4 grams. Cumulative frequency up from 0 to 160, each small square 4 apples. Crosses are plotted at 100 grams and 0, 120 and 8, 140 and 38, 160 and 90, 180 and 136, 200 and 154, and 220 and 160, joined by a smooth S-shaped curve. Three dashed reading lines go across to the curve and down to the mass axis: from 40 down to about 141 grams, labelled LQ; from 80 down to about 156 grams, labelled median; from 120 down to about 172 grams, labelled UQ. The curve also passes about 20 at 130 grams, and reaches 144 at about 187 grams. 100 120 140 160 180 200 220 0 20 40 60 80 100 120 140 160 Mass (grams) Cumulative frequency LQ Median UQ
Each dashed line starts at a running total and ends at an estimate.
Worked exampleA farm weighs 160160 apples. The diagram shows the results. Use it to estimate the median mass.

Try it first, then reveal one step at a time.

  1. Half of the total: 12×160=80\frac{1}{2} \times 160 = 80.
Worked exampleUse the same diagram to estimate the interquartile range of the masses.

Try it first, then reveal one step at a time.

  1. Lower quartile: 14×160=40\frac{1}{4} \times 160 = 40. Across from 4040 and down gives about 141141 g.

To compare two data sets, use an average and a spread. A higher median means larger values on average. A smaller IQR means more consistent values.

Check yourself
A curve shows 240240 values. Which cumulative frequency gives the upper quartile?
Check yourself
Farm B's apples have median 163163 g and IQR 2222 g. Farm A's have median 156156 g and IQR 3131 g. Which is correct?

Percentiles

Percentiles cut the data into hundredths, so you can ask about any percentage.

The median is the 5050th percentile. The lower and upper quartiles are the 2525th and 7575th percentiles.

Worked exampleUse the apple diagram to estimate the 9090th percentile of the masses.

Try it first, then reveal one step at a time.

  1. 90%90\% of 160160 is 0.9×160=1440.9 \times 160 = 144.

You can also go the other way: read the count at a value, then write it as a percentage of the total.

Worked exampleApples of 130130 g or less are sold for juice. Use the diagram to estimate the percentage of the 160160 apples sold for juice.

Try it first, then reveal one step at a time.

  1. Go up from 130130 g to the curve, then across: about 2020 apples.
Check yourself
A curve shows 350350 scores. Which cumulative frequency gives the 6060th percentile?
Check yourself
Maya's reaction time is the 2020th percentile for her year. What does this mean?

Common mistakes

  • Plotting at the midpoint or lower boundary of a class. Plot at the upper boundary.
  • Starting at (0,0)(0, 0) when the first class starts higher. Start at the lowest boundary, with cumulative frequency 00.
  • Going across from 2525, 5050 and 7575 whatever the total. Use 14\frac{1}{4}, 12\frac{1}{2} and 34\frac{3}{4} of the total frequency.
  • Answering "how many are more than" with the reading. Subtract the reading from the total.
  • Giving the IQR as two values. It is one value: UQ minus LQ, read on the horizontal axis.

Exam tips

  • For **draw a cumulative frequency diagram**, the marks are for accurate points, including the start, and one smooth curve through them.
  • For **use your graph to find an estimate**, draw your reading lines on the graph. A reading close to the true one earns the mark, so read carefully against the small squares.
  • For **how many are more than** a value, show the reading and the subtraction from the total.

Key takeaways

Learn thisCumulative frequency is a running total. The last one is the total frequency.
Learn thisPlot at (upper boundary, cumulative frequency). Start at (lowest boundary, 00) and join with a smooth curve.
Learn thisLQ at 14n,median at 12n,UQ at 34n\text{LQ at } \tfrac{1}{4}n, \qquad \text{median at } \tfrac{1}{2}n, \qquad \text{UQ at } \tfrac{3}{4}n
Learn thisIQR == UQ −- LQ, both read on the horizontal axis. The ppth percentile: go across from p100×n\frac{p}{100} \times n.
Learn thisThe curve counts values at or below a value. Number above it == total −- reading.

Practise this

43 past-paper questions on 9.6 in the 0580 Extended bank, each with a mark scheme and a worked explanation.

Practise 9.6 →