KS Maths
Topic 4.2 · AA and AI, SL and HL

Presenting data: histograms, cumulative frequency and box plots

The picture is a choice

Histograms, cumulative frequency and box plots. Three ways to draw the same data, and three different impressions.

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.

data
Facts and numbers that we collect.The data are the test scores.
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.
box plot
A diagram showing the smallest value, quartiles, median and largest value.A box plot shows the middle half of the data.
plot
Mark points on a graph.Plot the point (2, 5).
histogram
A chart of grouped data where the area of each bar shows frequency.A histogram has no gaps between bars.
estimate
Find an answer that is close, but not exact.Estimate 19 times 21 as 20 times 20.
width
How wide something is, side to side.The width of the page is 21 cm.
quartile
One of three values that cut ordered data into four equal parts.The upper quartile has 75% of the data below it.
midpoint
The point exactly halfway along a line.The midpoint of 2 and 8 is 5.

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

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for later in the lesson.

  1. What is the midpoint of the class 40 ≤ t < 60?
    Answer

    (40 + 60) ÷ 2 = 50. Add the two ends and halve. The midpoint stands in for every value in the class when you estimate.

  2. Work out 4 × 12 + 6 × 24 + 5 × 36.
    Answer

    48 + 144 + 180 = 372. Multiply each pair first, then add: the same rhythm as Σfx.

  3. There are 40 values in a data set. At which position on a cumulative frequency graph do you read the median, the lower quartile and the upper quartile?
    Answer

    20 for the median (half of 40), 10 for the lower quartile (a quarter) and 30 for the upper quartile (three quarters). You read across from the vertical axis, so the positions are cumulative frequencies, not data values.

  4. The lower quartile is 22 and the upper quartile is 31. What is the interquartile range?
    Answer

    31 − 22 = 9. The IQR is the upper quartile minus the lower quartile, and it is the width of the box.

Words used in this lesson
class (class interval)
a group of values written as a range. For example: 0 ≤ x < 20 is one class.
frequency
how many values fall in a class. For example: a frequency of 7 means 7 values.
midpoint
the number halfway between the two ends of a class. For example: the midpoint of 30 to 50 is 40.
modal class
the class with the highest frequency. For example: the busiest group in a table.
estimate
a good approximate answer, not an exact one. For example: the mean from grouped data is an estimate.
cumulative frequency
a running total: how many values are less than this value. For example: after three classes, the total so far.
quartile
one of three values that cut ordered data into four equal parts. For example: Q₁ has a quarter of the values below it.
interquartile range (IQR)
Q₃ minus Q₁: the spread of the middle half. For example: if Q₁ = 12 and Q₃ = 20, the IQR is 8.
spread
how far apart the values are. For example: a wide box means a large spread.
sketch / draw
“sketch” is a rough diagram with key features labelled; “draw” needs accurate scales. For example: sketch a box plot with the five numbers marked.

Predict first. The 60 journey times never change. If the class width is doubled, from 10 minutes to 20 minutes, will the picture show more detail, less detail, or the same? Could something in the data become invisible? Decide before you look.

Then check

Switch between the three widths and describe the shape each time before you read the note under the figure. Does the story you would tell about these travellers change with the width?

Here are 60 journey times to school, in minutes. The data never changes on this page. Only the width of the groups changes. Watch what that does.

0510152001020304050journey time (minutes)

60 values, 6 non-empty groups of width 10. The tallest group holds 16 of them.

At width 20 the data looks like one group that tails off steadily, with no gap anywhere. At width 5 you can see there are really two groups of travellers, and a gap between them. Same 60 numbers. If you choose the groups before you look, you can hide the most interesting thing in your own data.

The same sixty values, binned three ways, telling three different stories. The data did not change.

Grouped frequency, and the two ways to be wrong

When data is grouped you lose the individual values. You can still estimate, but you must be honest that it is an estimate.

The modal class is the group with the highest frequency. It is a group, not a number, so "the mode is 23" is wrong when the data is grouped.

An estimated mean uses the midpoint of each class as if every value in that class sat exactly there. That is why it is an estimate and not the mean.

Worked example: estimating the mean

Time, t minutes0 ≤ t < 1010 ≤ t < 2020 ≤ t < 3030 ≤ t < 40
Frequency614164
Midpoint5152535
Σf= 6 + 14 + 16 + 4 = 40 how many people altogether Σfx= 6×5 + 14×15 + 16×25 + 4×35 frequency times midpoint, every class = 30 + 210 + 400 + 140 = 780 x̅≈ 78040 = 19.5 minutes an estimate, because the midpoints were assumed

The rest of this lesson is in the full course

Still to come in this lesson:

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.

IB Diploma plan: AI SL$99Every Diploma lesson in both courses and both levels, so a change of course never locks you out, and every lesson from Year 7 for the refreshers. This lesson is in AA and in AI: choose your own course below. $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.

AI SL Mock Exam Pack, $19BuyPlan $99