KS Maths
Year 11 Standard · Unit 1 Describing data · Lesson 2 of 6

Cumulative frequency and quartiles

How do you find the middle of the data when it is grouped?

When data are grouped, the exact values are gone. This lesson asks whether the median and the quartiles can still be found, and which measure of spread stays steady when the extreme values change.

Statistics and ProbabilityNo calculator

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

quartile
One of three values that cut ordered data into four equal parts.The upper quartile has 75% of the data below it.
frequency
How many times something happens or appears.Score 5 has a frequency of 3.
cumulative frequency
A running total of the frequencies.Cumulative frequency adds up as you go along.
range
The difference between the biggest and smallest value. Also, all the output values of a function.Data from 2 to 9 has range 7.
interquartile range
The distance between the upper quartile and lower quartile. It shows the spread of the middle half.IQR = upper quartile minus lower quartile.
plot
Mark points on a graph.Plot the point (2, 5).
median
The middle value when data is in order.The median of 2, 5, 9 is 5.
half
One of two equal parts. Divide by 2.Half of 10 is 5.
axis
A number line that a graph is drawn on. The x-axis goes across and the y-axis goes up.The y-axis is vertical.
at most
This number or less.At most 5 means 5 or less.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Three quick ones from earlier work. Try each in your head or on paper before you open the answer.

  1. From Year 8: the median of 2, 5, 6, 9, 11, 14 is ?
    Answer7.5. The middle pair is 6 and 9, and halfway between them is 7.5.
  2. From Lesson 1: in a table the running total of frequencies is 7, 19, 34, 40. Which value is the 20th?
    AnswerIn the third class. The running total passes 20 there, since 19 is below 20 and 34 is above it.
  3. From Year 7: halfway between 30 and 40 on a number line is ?
    Answer35.
Words used in this lesson
cumulative frequency
a running total of the frequencies up to the end of a class. For example: how many values are at or below a boundary.
upper boundary
the top end of a class, where its running total is plotted. For example: the right-hand end of the interval.
lower quartile
the value with a quarter of the data below it. For example: read at a count of n divided by 4.
upper quartile
the value with three quarters of the data below it. For example: read at a count of 3n divided by 4.
interquartile range
the upper quartile minus the lower quartile; the spread of the middle half. For example: the width of the box in a box plot.
interpolate
find a value between two plotted points in proportion. For example: a count a third of the way up gives a value a third of the way along.

The ferry queue

At a ferry terminal in Istanbul, 40 passengers had their waiting times recorded. The times are grouped in classes 10 minutes wide. Someone asks: “How long did the quarter of passengers who waited least have to wait at most?” The table gives counts for each class, not individual times.

Predict first: do you need the raw times to answer, or can a running total of the counts give it? Where on a graph of running totals would the answer be? Use the first figure to test your ideas, then the second to see what happens to the spread when one class is stretched.

01020304050010203040waiting time (minutes)cumulative frequencyread: 0
0value read off (minutes)
0count of values below it

0 values lie below 0 minutes.

Show me the steps
  1. Slide to 10: a quarter of the 40 values lie below 17.5 minutes. That is the lower quartile, found between the points (10, 4) and (20, 12).
  2. Slide to 20: half the values lie below 25 minutes, the median, found between (20, 12) and (30, 28).
  3. Slide to 30: three quarters of the values lie below 32.5 minutes, the upper quartile. The interquartile range is 32.5 − 17.5 = 15.

Plot running totals at the upper boundary, then read across and down.

  • Cumulative frequency is the running total: how many values are at or below the end of a class.
  • Each total is plotted at the upper boundary of its class, and the points are joined with straight lines.
  • For n values, read the lower quartile at n ÷ 4, the median at n ÷ 2 and the upper quartile at 3n ÷ 4.
  • The interquartile range is upper quartile − lower quartile: the width of the middle half of the data.

Between two plotted points, the position is found in proportion: a count a quarter of the way up gives a value a quarter of the way along.

Read what Keith says

A table of waiting times gives counts, not single times. Here is the trick. Keep a running total of the counts, and plot each total at the upper boundary of its class. Join the points. Now the graph does the work. Read across at a quarter of the values for the lower quartile, at half for the median, and at three quarters for the upper quartile. The gap between the first and last of those is the interquartile range. Try reading a median off a graph of your own.

0102030405060708090range up to 50middle half: 17.5 to 32.5interquartile range = 15
50greatest possible range
15interquartile range

The last class ends at 50 minutes: the range can be as large as 50, and the interquartile range is 32.5 − 17.5 = 15.

Show me the steps
  1. The last class ends at 50: the greatest possible range is 50 − 0 = 50, and the interquartile range is 32.5 − 17.5 = 15.
  2. Slide to 90: the greatest possible range is now 90, but the lower and upper quartiles are the same, so the interquartile range is still 15.
  3. The last class holds only 4 of the 40 values, so the extreme values change the range a great deal and the quartiles not at all.

Read the count, not the class. The vertical axis holds counts, the horizontal axis holds values. A common slip is to read a quartile off the vertical axis and call that number the answer. A count of 35 on the vertical axis is never a value; go across to the curve and then down.

The rest of this lesson is in the full course

Still to come in this lesson:

  • Worked example: ages of museum visitors
  • Check before you go on
  • Your turn

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

Years 7 to 11 plan$59Every lesson from Year 7 to Year 11, so the refresher links always open, and every Year 7 to 11 revision pack, for the whole family. $59 for 12 months or $99 for 2 years.
IB Diploma plan$99Every lesson from Year 7 to the IB Diploma, AA and AI, SL and HL, for the whole family. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

Year 11 revision pack, $19BuyPlan $59