• 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)

Made-up monthly rainfall of a coastal station (mm)
JanFebMarAprMayJunJulAugSepOctNovDec
81215306248709514021018096

Σ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)

Made-up data: heights of 40 saplings in a nursery
Height (cm)fMidpoint xfx
0-104520
10-20815120
20-301425350
30-401035350
40-50445180
TotalN = 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

Step-deviation working, A = 25, i = 10
Classfxd = (x - 25) ÷ 10fd
0-1045-2-8
10-20815-1-8
20-30142500
30-401035110
40-5044528
Total40Σ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. 1. Made-up data: 22, 25, 27, 30 and 31 °C. The mean temperature is:

    1. 27 °C
    2. 135 °C
    3. 26 °C
    4. 27.5 °C
    Show answer

    Answer: A. ΣX = 22 + 25 + 27 + 30 + 31 = 135. Mean = 135 ÷ 5 = 27 °C.

  2. 2. Why is an average called a measure of central tendency?

    1. Because it is always the largest value
    2. Because it always equals zero
    3. Because its value lies between the extremes, near the centre of the data
    4. 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. 3. Made-up grouped data: Σfx = 1,350 and N = 30. The mean is:

    1. 40
    2. 45
    3. 1,380
    4. 4.5
    Show answer

    Answer: B. Mean = Σfx ÷ N = 1,350 ÷ 30 = 45.

  4. 4. Using the step-deviation method with A = 35, i = 10, Σfd = -6 and N = 30, the mean is:

    1. 35
    2. 29
    3. 37
    4. 33
    Show answer

    Answer: D. Mean = A + (Σfd ÷ N) × i = 35 + (-6 ÷ 30) × 10 = 35 - 2 = 33.

  5. 5. In the step-deviation method, for a class with midpoint 55, A = 35 and i = 10, the value of d is:

    1. 2
    2. 20
    3. -2
    4. 5.5
    Show answer

    Answer: A. d = (x - A) ÷ i = (55 - 35) ÷ 10 = 20 ÷ 10 = 2.

Privacy · Terms · Refunds · Delivery