Browse exams / KCSE

Mean and median from frequency tables

Multiply each value by its frequency for the mean. Use cumulative counts to find the middle position for the median.

Study and track progressDownload lesson PDF

How to approach it

A frequency tells you how many times a value occurs. Add frequencies to find the sample size.

Worked example

Values 2, 4, 7 occur 3, 2, 1 times. The mean is (6 + 8 + 7) รท 6 = 3.5. The middle values are 2 and 4, so the median is 3.

Common mistake

Do not average the entries in the value column unless their frequencies are equal.

Practice questions

  1. Values 1 and 5 occur four times and once. Find the mean.

    Show answer and explanation

    1.8. Add 4 + 5, then divide by 5.

  2. The sorted values are 2, 2, 4, 7, 7. Find the median.

    Show answer and explanation

    4, the third observation.

  3. Values 3, 5 and 8 occur twice, twice and four times. Find the median.

    Show answer and explanation

    6.5. The fourth value is 5 and the fifth is 8.

  4. Values 2 and 9 occur twice and three times. Find the mean.

    Show answer and explanation

    6.2. Add 4 + 27 and divide by 5.

  5. Values 1, 3, and 6 have frequencies 1, 3, and 1. Find the median.

    Show answer and explanation

    3. The middle position is the third observation.

Official reference

KNEC KCSE information

What to study next