top of page

37.4 Histograms and cumulative frequency

GCSE Maths Higher · OCR J560 · Chapter 37: Collecting and displaying data

What is in the full lesson (23 activities)

Every item below opens free in the course.

A free OCR GCSE Maths Higher lesson (J560) from OBA School: cumulative frequency, median and quartiles, box plots, and histograms with unequal class widths (OCR J560: 12.02b). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with interactive activities, practice quizzes and printable worksheets, in our free online course.

What you will learn

  • Draw a cumulative frequency graph and use it to estimate the median, quartiles and interquartile range
  • Draw a box plot and use it to compare distributions
  • Draw a histogram with unequal class widths using frequency density
  • Find frequencies from a histogram and estimate how many values lie in part of a class

Key words

  • Cumulative frequency: A running total of the frequencies. Plot it at the upper class boundary.
  • Quartiles: The lower quartile (LQ) is ¼ of the way through the data and the upper quartile (UQ) is ¾ of the way through.
  • Interquartile range: IQR = UQ − LQ, the spread of the middle half of the data. Extreme values do not affect it.
  • Box plot: A diagram showing the minimum, LQ, median, UQ and maximum on a scale.
  • Frequency density: Frequency ÷ class width. In a histogram the area of each bar shows the frequency.

Cumulative frequency graphs

Add up the frequencies as you go. Plot each running total at the upper class boundary, start at the lower boundary of the first class with 0, and join the points with a smooth curve or straight lines.

  • Frequency; 0 < t ≤ 10 8; 10 < t ≤ 20 22; 20 < t ≤ 30 40; 30 < t ≤ 40 30; 40 < t ≤ 50 14; 50 < t ≤ 60 6
  • Cumulative frequency; 0 < t ≤ 10 8; 10 < t ≤ 20 30; 20 < t ≤ 30 70; 30 < t ≤ 40 100; 40 < t ≤ 50 114; 50 < t ≤ 60 120

Worked example: median, quartiles and IQR

n = 120. Read across from 60 for the median, 30 for the LQ and 90 for the UQ.
Median ≈ 27.5 min, LQ = 20 min, UQ ≈ 36.7 min. IQR ≈ 36.7 − 20 = 16.7 min.

Answer: median ≈ 27.5 min, IQR ≈ 16.7 min

Worked example: how many waited more than 45 minutes?

Read up from 45: cumulative frequency ≈ 107. So 120 − 107 = 13 patients waited more than 45 minutes.

Answer: about 13 patients

Box plots

A box plot needs five values: the minimum, LQ, median, UQ and maximum. Draw it above a scale. To compare two box plots, compare an average (the medians) and a measure of spread (the IQRs or ranges), and say what this means in context.

Worked example: comparing (AO2)

A second clinic has median 22 min and IQR 9 min.
The second clinic has a lower median, so on average patients wait less there. Its IQR is smaller, so its waiting times are more consistent.

Answer: compare the average and the spread, in context

Histograms with unequal class widths

When classes have different widths, plot frequency density on the vertical axis. Then the area of each bar equals the frequency, so wide classes are not made to look too big.

  • 0 < h ≤ 5; Frequency 10; Class width 5; Frequency density 10 ÷ 5 = 2
  • 5 < h ≤ 10; Frequency 18; Class width 5; Frequency density 3.6
  • 10 < h ≤ 20; Frequency 30; Class width 10; Frequency density 3
  • 20 < h ≤ 30; Frequency 16; Class width 10; Frequency density 1.6
  • 30 < h ≤ 50; Frequency 12; Class width 20; Frequency density 0.6

Worked example: working out the bar heights

5 < h ≤ 10: width 5, so frequency density = 18 ÷ 5 = 3.6.
30 < h ≤ 50: width 20, so frequency density = 12 ÷ 20 = 0.6. The bar is wide and low, and its area 20 × 0.6 = 12 still shows the frequency.

Answer: 3.6 and 0.6

Key fact: Frequency density = frequency ÷ class width. Frequency = frequency density × class width (the area of the bar).

Getting information from a histogram

Worked example: estimating part of a class

Estimate how many seedlings are between 15 mm and 25 mm tall.
15 < h ≤ 20 is half of the class 10 < h ≤ 20: 5 × 3 = 15 seedlings.
20 < h ≤ 25 is half of the class 20 < h ≤ 30: 5 × 1.6 = 8 seedlings. Total 15 + 8 = 23.

Answer: about 23 seedlings

Worked example: estimating the median from a histogram (grade 8/9)

There are 86 seedlings, so the median is the 43rd value. Running totals: 10, 28, 58, so the median is in 10 < h ≤ 20.
We need 43 − 28 = 15 more out of the 30 in that class: 15/30 of the way across a width of 10 mm.
Median ≈ 10 + 15/30 × 10 = 15 mm.

Answer: median ≈ 15 mm

Worked example: a missing frequency

The bar for 30 < h ≤ 50 has height 0.6. Its frequency is 0.6 × 20 = 12.

Answer: 12 seedlings

Common mistakes

  • Plotting cumulative frequencies at the midpoints of the classes instead of the upper class boundaries.
  • Giving the cumulative frequency (the vertical reading) as the median instead of reading down to the horizontal axis.
  • Drawing a histogram with frequency, not frequency density, when the class widths are different.
  • Reading the height of a histogram bar as the frequency. Frequency is the area: height × width.
  • Comparing box plots without context, or comparing only the averages and not the spread.

Revision questions

Try these, then check your answers below each one.

Question 1. A cumulative frequency graph for 50 values joins the points (0, 0), (10, 5), (20, 17), (30, 37), (40, 46) and (50, 50) with straight lines. Estimate the median.

Answer: 24

Working: 25 lies between 17 (at 20) and 37 (at 30). 20 + (25 - 17)/(20) × 10 = 24.

Question 2. A box plot shows: minimum 12, lower quartile 18, median 25, upper quartile 31, maximum 40. What is the interquartile range?

Answer: 13

Working: 31 - 18 = 13.

Question 3. In a histogram, the class 20 < x ≤ 35 has frequency 24. What is its frequency density?

Answer: 1.6

Working: Width 15. 24 ÷ 15 = 1.6.

Exam board focus: OCR GCSE Maths (J560)

Specification: in the OCR J560 specification this lesson covers 12.02b (grouped data). In the national GCSE subject content these are S3 and S4 (statistics).

Your exams: OCR Higher tier students sit three papers: J560/04 (calculator allowed), J560/05 (non-calculator) and J560/06 (calculator allowed). Each paper lasts 1 hour 30 minutes and is worth 100 marks. Questions on this topic can appear on any of the three papers, so practise it both with and without a calculator.

Studying with a different exam board? AQA: 2.4 Cumulative Frequency Graphs and Histograms; Edexcel: 14.2 Cumulative Frequency.

Related lessons

Continue in the full course

This lesson is section 37.4 (OGCMH3704) of our free OCR GCSE Maths Higher course (OCR J560: 12.02b). In the full course you get every video for this section, an animated interactive lesson, a practice interactivity, a self-marking practice quiz, a printable worksheet with a mark scheme, and your progress saved. Go to the full OCR GCSE Maths Higher course.

This lesson is part of the free GCSE Maths Higher course. You can also browse all our free GCSE courses.

 

 

 

 

 

 

 

Previous
Next
bottom of page