Math Lab

Class-Mark Method: Mean of Grouped Data

Statistics · Class X

Three class-intervals share a common width. Slide their frequencies to see the assumed-mean shift.

4
type a value
030
8
type a value
030
6
type a value
030
Live values
  • Total frequency N18
  • Sum f_i x_i (x_i = class marks 5, 15, 25)290
  • Mean (direct method)16.1111
xy
  • Mean as f3 grows

Formulas in this lab

  • Total frequency N
    fi\sum f_i
  • Sum f_i x_i (x_i = class marks 5, 15, 25)
    fixi\sum f_i x_i
  • Mean (direct method)
    fixifi\frac{\sum f_i x_i}{\sum f_i}
Tip: Loading more weight in the top class pulls the mean up toward 25; the curve saturates as f3 dominates.

Frequently asked questions

What is the class-mark method?

For grouped data, the class mark $x_i$ is the average of the lower and upper class limits. The mean is then $\bar{x} = \frac{\sum f_i x_i}{\sum f_i}$. For class 0-10 the class mark is 5, for 10-20 it is 15, and so on.

How do I use this lab?

Slide the frequencies $f_1, f_2, f_3$ of three classes. The lab computes class marks, the products $f_i x_i$, the totals, and the mean instantly. Try equal frequencies to see the mean sit at the middle class mark.

Common mistake on this topic

Students take the lower limit as the class mark, not the midpoint. Also, dividing by 3 (number of classes) instead of $\sum f_i$ (total frequency) is a common slip. Always sum frequencies first.

Where is grouped data useful?

Census reports show population in age groups like 0-10, 10-20, 20-30 years. Computing the mean age of a village this way is faster than listing every person. The lab mirrors this workflow with three classes.