• Nakafa

    Nakafa

    Learn free and with quality.
Subject
    • Grade 10
    • Grade 11
    • Grade 12
Exercises
Holy
  • Quran
Articles
  • Politics
  • Community
  • About

Command Palette

Search for a command to run...

Statistics

Mean for Grouped Data

Mean for Grouped Data

You already know how to calculate the mean for individual data, right? Just sum up all the values and divide by the number of data points.

xˉ=∑xin\bar{x} = \frac{\sum x_i}{n}xˉ=n∑xi​​

But what if the data is presented in groups or intervals, like in a frequency distribution table? For example, test scores grouped into 70-79, 80-89, 90-100.

When data is grouped, we don't know the exact value of each data point within that group. For instance, if there are 5 students in the 70-79 group, we don't know if their scores are exactly 70, 72, 75, or some other value within that range.

Using the Class Midpoint

Since we don't know the exact values, we use an assumption or approximation. We assume that all data points within a group are represented by the midpoint of that group (class interval).

The class midpoint (often symbolized as xix_ixi​) is calculated as:

xi=Lower Class Limit+Upper Class Limit2x_i = \frac{\text{Lower Class Limit} + \text{Upper Class Limit}}{2}xi​=2Lower Class Limit+Upper Class Limit​

Formula for Mean of Grouped Data

Once we have the midpoint for each class, we can calculate the mean of the grouped data using the formula:

xˉ=∑(fi×xi)∑fi\bar{x} = \frac{\sum (f_i \times x_i)}{\sum f_i}xˉ=∑fi​∑(fi​×xi​)​

Where:

  • xˉ\bar{x}xˉ = Mean of the grouped data
  • fif_ifi​ = Frequency of the iii -th class (how many data points are in that group)
  • xix_ixi​ = Midpoint of the iii -th class
  • ∑(fi×xi)\sum (f_i \times x_i)∑(fi​×xi​) = Sum of the products of the frequency and midpoint for each class
  • ∑fi\sum f_i∑fi​ = Sum of all frequencies (equal to the total number of data points, nnn)

Example: Average Shoe Size

Consider the grouped data for shoe sales at Store A:

Shoe Size (Class Interval)Frequency (fif_ifi​)
37-392
40-4211
43-4516
46-481
Totaln=30n=30n=30

Steps to calculate the Mean:

  1. Find the Midpoint (xix_ixi​) for each class:

    • Class 37-39: x1=(37+39)/2=38x_1 = (37+39)/2 = 38x1​=(37+39)/2=38
    • Class 40-42: x2=(40+42)/2=41x_2 = (40+42)/2 = 41x2​=(40+42)/2=41
    • Class 43-45: x3=(43+45)/2=44x_3 = (43+45)/2 = 44x3​=(43+45)/2=44
    • Class 46-48: x4=(46+48)/2=47x_4 = (46+48)/2 = 47x4​=(46+48)/2=47
  2. Multiply Frequency by Midpoint (fi×xif_i \times x_ifi​×xi​) for each class:

    • Class 37-39: 2×38=762 \times 38 = 762×38=76
    • Class 40-42: 11×41=45111 \times 41 = 45111×41=451
    • Class 43-45: 16×44=70416 \times 44 = 70416×44=704
    • Class 46-48: 1×47=471 \times 47 = 471×47=47
  3. Sum all the products (∑(fi×xi)\sum (f_i \times x_i)∑(fi​×xi​)):

    ∑(fi×xi)=76+451+704+47=1278\sum (f_i \times x_i) = 76 + 451 + 704 + 47 = 1278∑(fi​×xi​)=76+451+704+47=1278
  4. Sum all frequencies (∑fi\sum f_i∑fi​):

    ∑fi=2+11+16+1=30\sum f_i = 2 + 11 + 16 + 1 = 30∑fi​=2+11+16+1=30
  5. Calculate the Mean (xˉ\bar{x}xˉ):

    xˉ=∑(fi×xi)∑fi=127830=42.6\bar{x} = \frac{\sum (f_i \times x_i)}{\sum f_i} = \frac{1278}{30} = 42.6xˉ=∑fi​∑(fi​×xi​)​=301278​=42.6

Therefore, the average shoe size sold at Store A is 42.6.

Remember, this result is an estimate of the mean because we use midpoints to represent the data within each group. However, this is the standard and most common way to calculate the mean for grouped data.

Previous

Applications of Measures of Central Tendency

Next

Median and Modal Class for Grouped Data

  • Mean for Grouped DataCalculate mean for grouped data using class intervals and midpoints. Master the formula with step-by-step examples and frequency distribution tables.
On this page
  • Mean for Grouped Data
  • Using the Class Midpoint
  • Formula for Mean of Grouped Data
  • Example: Average Shoe Size
  • Comments
  • Report
  • Source code