Skip to content
Exit presentation

Statistics

Counting to the median

A grouped table has no single middle reading. You count up to it.

The running total climbs in steps.
Step 1 of 3
  1. The running total climbs in steps.
  2. n/2 = 20 marked on the count axis.
  3. It lands inside the class 30-40.

The running total finds the class

Here are 40 made-up readings. A running total goes down the rows. It is the cumulative frequency.

Forty made-up readings, with the running total down the rows
Minutes playedFrequencyCumulative frequency
10-2099
20-30716
30-401026
40-50834
50-60640

The median is the middle reading. Half the readings lie below it. Half of 40 is 20. The totals 9 and 16 are too small. 26 is the first total to reach 20. So 30-40 is the median class.

The formula

Here n = 40 is the number of readings. The median sits at position n ÷ 2 = 20. 16 readings lie before the median class. We need 4 more, from the 10 inside it. Assume the 10 are spread evenly across the class. Then 4 of the 10 cover 4/10 of its width.

The formula has four letters for the median class. l = 30 is its lower bound. cf = 16 is the total before that class. f = 10 is its frequency. h = 10 is its width. The classes must touch, with no gaps.

Median = l + ((n ÷ 2 − cf) ÷ f) × h.

Median = 30 + ((20 − 16) ÷ 10) × 10 = 34.

Step by step: 20 − 16 = 4. Then 4 ÷ 10 = 0.4. Then 0.4 × 10 = 4. So 30 + 4 = 34.

Add frequencies down the table until the total reaches half of n. That class is the median class. Then use the formula inside that class.

Watch out!

Do not use the class mark 35 as the median. The class only tells you where the median is. The formula gives 34.

Add rows until the total reaches half.

Loading lab…

Jump to lesson

This track

  1. 0 Start here
  2. 1 From a list to classes
  3. 2 The class mark
  4. 3 The direct mean
  5. 4 The assumed mean
  6. 5 Step by step
  7. 6 Checkpoint: tables, marks and three means
  8. 7 Counting to the median
  9. 8 The modal class
  10. 9 Which average, when
  11. 10 Checkpoint: counting and choosing
  12. 11 One table, three averages
  13. 12 Find the missing frequency
  14. 13 Two missing frequencies
  15. 14 Close the gaps between classes
  16. 15 From a "below" table to classes
  17. 16 Checkpoint: missing numbers, gaps and running totals
  18. 17 The big picture
  19. 18 Track quiz

Other tracks