Euler Hall — free maths guides

Find the median class of a grouped table

Find the half-way position of the total frequency. The idea in plain words, a worked example, and a check with the answers shown — part of the free Statistics guides.

Where the running count passes half

To find the median class of a grouped table:

  1. 1. Add the frequencies to get the totalnn;
  2. 2. the median sits at positionn/2n/2;
  3. 3. walk down the cumulative column until it reachesn/2n/2;
  4. 4. the class where that happens is the median class.

The answer is a class, and that is the honest answer: the table has already discarded the individual values, so the median can be bounded inside an interval but not located within it. Locating it would need an interpolation that assumes the values are evenly spread inside the class.

The commonest error is to look for the largest frequency, which finds the modal class instead — a different question with a different answer.

Why the cumulative column is the tool

Because the median is a position, and a cumulative column reports positions. Each entry says how many observations lie at or below that class's upper boundary, so it answers has the half-way point been passed? directly.

The same column answers every percentile, so a table with a cumulative column can produce the median class, the quartile classes and any other positional measure — which is why frequency tables for grouped data always print it.

Worked example: four classes

Frequencies 4, 7, 5, 4 over classes 0-10, 10-20, 20-30, 30-40.

Total. 20, so the median position is 10.

Cumulative. 4, 11, 16, 20.

Locate 10. It is above 4 and at or below 11, so the median class is 10-20.

Check. Four observations are below 10-20 and nine are above it, so the middle genuinely lies in that class. Interpolating inside it would give the median itself, which is the next step this skill stops short of.

By the end you can
  • Find the half-way position of the total frequency
  • Locate the class where the cumulative count passes it
  • Say why a grouped table gives a class rather than a value
Check yourself
  1. 1. Frequencies 6, 10, 4 over three classes.
  2. 2. Where is the median position?
  3. 3. Which class is the median class?
Answers
  1. 1. Total 20, so position 10.
  2. 2. The cumulative counts are 6, 16, 20.
  3. 3. The second class, where 10 first falls at or below the running total.
Work out where to start — free, no accountAnswer six real questions — free, no account