Statistics · JSS 2, JSS 3, SS 1
Mean from a frequency table
Find the mean when the data comes in a table with frequencies.
- x̄ = ΣfxΣf
What the letters mean
- x
- each value (or class mid-point for grouped data)
- f
- how often that value occurs
- Σf
- the total frequency
Worked example
Scores 1, 2, 3 occur 2, 5 and 3 times. Find the mean.
Step 1: Multiply each value by its frequency
fx: 1 × 2 = 2, 2 × 5 = 10, 3 × 3 = 9
Step 2: Totals
Σfx = 21, Σf = 10
Step 3: Divide
21 ÷ 10 = 2.1
Final answer: 2.1
Divide by the total frequency, not by the number of rows.
When to use it
Use this formula when data is given in a table with a 'frequency' row or column, for example the number of goals scored in matches, or shoe sizes of a class. For grouped data, such as marks 10–19, 20–29, use the class mid-point as x. If the data is just a plain list of numbers, use the simple mean formula instead.
Why it works
A frequency table is a short way of writing a long list. If the value 6 has frequency 4, it means 6 appears four times: 6 + 6 + 6 + 6, which is 6 × 4. So multiplying each value by its frequency (fx) and adding gives the total of the whole list, Σfx. The number of values in the list is the sum of the frequencies, Σf. Then mean = total ÷ count.
Try it yourself
The shoe sizes of 20 students are: size 5 (3 students), size 6 (6 students), size 7 (8 students), size 8 (3 students). Find the mean shoe size.
Try it first, then show the solution
- fx for each row: 5 × 3 = 15, 6 × 6 = 36, 7 × 8 = 56, 8 × 3 = 24
- Σfx = 15 + 36 + 56 + 24 = 131 and Σf = 3 + 6 + 8 + 3 = 20
- Mean = 131 ÷ 20 = 6.55
Answer: 6.55
See it
Play with this picture from the Frequency Tables lesson.
Goals scored in each match
- 2
- 5
- 3
- 1
- 1
Σfx = 0×2 + 1×5 + 2×3 + 3×1 + 4×1 = 18
Mean
1.5
Σfx ÷ Σf = 18 ÷ 12
Median
1
the 6th & 7th
Mode
1
frequency 5
Common mistakes
- Adding the values and dividing, without using the frequencies. That ignores how often each value occurs. Always build an fx column.
- Using the class boundaries or the lower class limit for grouped data. Use the mid-point: for 10–19 it is (10 + 19) ÷ 2 = 14.5.
In BECE and WASSCE
This is a common topic in BECE and WASSCE. You may be asked to complete a frequency table with an fx column, then find the mean. In WASSCE, grouped data versions are common, sometimes with an assumed mean to make the arithmetic easier.
Questions students ask
Why is the mean of a grouped frequency table only an estimate?
In grouped data we don't know the exact values, only the class they fall in. Using the mid-point assumes values are spread evenly around it, so the answer is an estimate of the true mean.
What is an assumed mean?
It is a guessed value A chosen to make numbers smaller. You work out d = x − A for each row, find ΣfdΣf, then add it back to A. The answer is the same as using ΣfxΣf.