Median from a Histogram (WJEC GCSE Maths & Numeracy (Double Award): Higher): Revision Note

Exam code: 3320

Median from a Histogram

How do I find the median for data on a histogram?

  • A histogram is a way of representing grouped data as a diagram

  • The connection between the frequency density shown on the histogram and the frequency that would be shown in a grouped data table is given by the formula

    • frequency density=frequencyclass width

  • If you are asked to estimate a median for data in a histogram there are two options:

    • You can recreate the grouped data table using the frequency density formula, and then use linear interpolation

      • Linear interpolation is explained in Median from Grouped Data

    • Or you can work out the estimated median directly from the histogram

      • See the following Worked Example for how to do this

Worked Example

The histogram shows the weight, in kg, of 60 new-born bottlenose dolphins.

A histogram for the weights of newborn bottlenose dolphins

Find an estimate for the median weight of the dolphins in the sample, giving your answer correct to two decimal places.

Answer:

602=30, so to estimate the median we need to find the weight of the 30th dolphin

To find the frequencies represented by the different bars, rearrange  frequency density=frequencyclass width  as  frequency=frequency density×class width

 
48 kg:  frequency=1×4=4810 kg:  frequency=8×2=161012 kg:  frequency=9.5×2=19
 

The first two classes have a cumulative frequency of 4+16=20
So the median is going to be '10 dolphins into' the 10-12 kg class

The height (frequency density) of the 10-12 kg bar is 9.5
We need to find what width would give a frequency of 10
Use  frequency density=frequencyclass width   and solve for width
 

9.5=10width9.5×width=10width=109.5=2019=1.0526...=1.05 (2 d.p.)

 
That means that the median lies 1.05 kg into the 10-12 kg class interval

10+1.05=11.05

A histogram showing the part of the 10-12 kg class interval calculated in the answer

 
Estimated median = 11.05 kg (2 d.p.)

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Jamie Wood

Reviewer: Jamie Wood

Expertise: Curriculum Expert

Jamie graduated in 2014 from the University of Bristol with a degree in Electronic and Communications Engineering. He has worked as a teacher for 8 years, in secondary schools and in further education; teaching GCSE and A Level. He is passionate about helping students fulfil their potential through easy-to-use resources and high-quality questions and solutions.