- Practice
- About 17 min
- 5 practice questions
The arithmetic mean for ungrouped and grouped data
Explain why an average is a measure of central tendency, calculate the arithmetic mean of ungrouped data, and calculate the mean of grouped data by the direct method and the assumed-mean (step-deviation) method.
If something looks wrong, please tell us.
By the end of this lesson you can
- Explain why an average is called a measure of central tendency and name its three types.
- Calculate the mean of ungrouped data such as monthly temperatures.
- Calculate the mean of grouped data by the direct and step-deviation methods.
If you measured the heights of 5,000 students, nobody could keep 5,000 figures in mind. One important aim of statistics is to find a single value that represents the whole data. That value is an average. Since it always lies somewhere between the smallest and the largest observation, near the centre of the data, an average is called a measure of central tendency. The three common averages are the mean, median and mode.
The arithmetic mean
The mean (arithmetic mean) is the sum of the values of all the items divided by the number of items.
Mean X̄ = ΣX ÷ N, where ΣX is the sum of the values and N the number of items.
Worked example 1: mean monthly rainfall (made-up data)
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 8 | 12 | 15 | 30 | 62 | 48 | 70 | 95 | 140 | 210 | 180 | 96 |
ΣX = 8 + 12 + 15 + 30 + 62 + 48 + 70 + 95 + 140 + 210 + 180 + 96 = 966 mm. N = 12. Mean = 966 ÷ 12 = 80.5 mm. Answer: the mean monthly rainfall is 80.5 mm. Check by adding in pairs: (8 + 12) + (15 + 30) + (62 + 48) + (70 + 95) + (140 + 210) + (180 + 96) = 20 + 45 + 110 + 165 + 350 + 276 = 966. Note that the annual total is 966 mm; the monthly mean is a twelfth of it.
Mean of grouped data: direct method
When data are given as a frequency distribution, each class is represented by its midpoint x. Multiply each midpoint by its frequency f, add the products and divide by N: X̄ = Σfx ÷ N.
Worked example 2: heights of saplings (made-up data)
| Height (cm) | f | Midpoint x | fx |
|---|---|---|---|
| 0-10 | 4 | 5 | 20 |
| 10-20 | 8 | 15 | 120 |
| 20-30 | 14 | 25 | 350 |
| 30-40 | 10 | 35 | 350 |
| 40-50 | 4 | 45 | 180 |
| Total | N = 40 | Σfx = 1,020 |
Mean = 1,020 ÷ 40 = 25.5 cm. Answer: 25.5 cm.
Mean of grouped data: assumed-mean (step-deviation) method
The chapter uses a shortcut that keeps the numbers small. Choose an assumed mean A, usually the midpoint of a middle class. For each class find the step deviation d = (x - A) ÷ i, where i is the class size. Then:
X̄ = A + (Σfd ÷ N) × i, where A = assumed mean, d = (x - A) ÷ i, i = class size, N = total frequency.
Worked example 3: the same saplings by step deviation
| Class | f | x | d = (x - 25) ÷ 10 | fd |
|---|---|---|---|---|
| 0-10 | 4 | 5 | -2 | -8 |
| 10-20 | 8 | 15 | -1 | -8 |
| 20-30 | 14 | 25 | 0 | 0 |
| 30-40 | 10 | 35 | 1 | 10 |
| 40-50 | 4 | 45 | 2 | 8 |
| Total | 40 | Σfd = 2 |
Σfd = -8 - 8 + 0 + 10 + 8 = 2. Mean = 25 + (2 ÷ 40) × 10 = 25 + 0.5 = 25.5 cm. Check: the same as the direct method, as it must be.
Two methods for grouped data
-
Direct method
- Multiply each midpoint by its frequency
- X̄ = Σfx ÷ N
- Simple but large products
-
Step-deviation method
- Choose A and find d = (x - A) ÷ i
- X̄ = A + (Σfd ÷ N) × i
- Small numbers, fewer slips
Key takeaways: an average is a single value representing the data and lies between the extremes, so it is a measure of central tendency; the types are mean, median and mode. Mean = ΣX ÷ N. For grouped data, use midpoints: X̄ = Σfx ÷ N, or the step-deviation shortcut X̄ = A + (Σfd ÷ N) × i, which gives the same answer.
Check your understanding
-
1. Made-up data: 22, 25, 27, 30 and 31 °C. The mean temperature is:
- 27 °C
- 135 °C
- 26 °C
- 27.5 °C
Show answer
Answer: A. ΣX = 22 + 25 + 27 + 30 + 31 = 135. Mean = 135 ÷ 5 = 27 °C.
-
2. Why is an average called a measure of central tendency?
- Because it is always the largest value
- Because it always equals zero
- Because its value lies between the extremes, near the centre of the data
- Because it is found only for central districts
Show answer
Answer: C. An average represents the whole data and lies somewhere between the smallest and the largest observation, near the centre.
-
3. Made-up grouped data: Σfx = 1,350 and N = 30. The mean is:
- 40
- 45
- 1,380
- 4.5
Show answer
Answer: B. Mean = Σfx ÷ N = 1,350 ÷ 30 = 45.
-
4. Using the step-deviation method with A = 35, i = 10, Σfd = -6 and N = 30, the mean is:
- 35
- 29
- 37
- 33
Show answer
Answer: D. Mean = A + (Σfd ÷ N) × i = 35 + (-6 ÷ 30) × 10 = 35 - 2 = 33.
-
5. In the step-deviation method, for a class with midpoint 55, A = 35 and i = 10, the value of d is:
- 2
- 20
- -2
- 5.5
Show answer
Answer: A. d = (x - A) ÷ i = (55 - 35) ÷ 10 = 20 ÷ 10 = 2.
Sign in to keep track of the lessons you finish.