Mean of grouped data
The mean (arithmetic average) of a list of numbers is the sum divided by the count. For grouped data, we treat each class as a single value (the class mark ) with the corresponding frequency . There are three methods to compute the mean. All three give the same answer; the choice depends on how convenient the arithmetic is.
Method 1: Direct method
Multiply each class mark by its frequency, sum, and divide by the total frequency:
This is the most straightforward method but can involve large multiplications if the class marks are big.
Example.
| Class | |||
|---|---|---|---|
| Total |
.
Method 2: Assumed-mean method
Pick a convenient class mark (the "assumed mean"). Compute deviations . Then
The advantage: the deviations are smaller than the original class marks, so the arithmetic is easier.
Example (same data, ).
| Class | ||||
|---|---|---|---|---|
| Total |
. (Matches Method 1.)
Method 3: Step-deviation method
When the class size is constant, take , where is the assumed mean. Then
The advantage: the are small integers like , even easier to compute.
Example (same data, ).
| Class | ||||
|---|---|---|---|---|
| Total |
.
When to use which method
- Direct: simplest formula, but heavy arithmetic with large .
- Assumed-mean: good for medium-large ; reduces multiplications.
- Step-deviation: ideal when class size is constant and are large; smallest arithmetic.
For board exam, all three are acceptable. The textbook usually asks for one specific method by name. Use what is asked; if no method is specified, step-deviation is usually the cleanest.
Worked examples
Example 1. Find the mean of the data: classes with frequencies , using the direct method.
Class marks: . Total . Sum . Mean .
Example 2. The mean of observations is . If one of the observations is wrongly written as instead of , find the correct mean.
Original sum (wrong) . Correction: subtract , add , so new sum = . Correct mean = .
Example 3. Find the mean of the data using assumed-mean method, with classes and frequencies . Take .
Class marks: . Deviations: . : . Sum . .
Mean .
Example 4. Use step-deviation method for the same data.
: . : . Sum .
Mean .
Example 5. The mean of observations is . If an observation is replaced by , find the new mean.
Original sum . New sum . New mean .
Try it yourself
- Find the mean of the data: classes with frequencies using direct method.
- Same data, use assumed-mean with .
- Same data, use step-deviation with .
- Find the mean of classes with frequencies .
- The mean of observations is . Find the sum.
- A class of students has mean weight kg. Two new students of weights and kg join. Find the new mean.
- The mean of observations is . Three are . The other two have ratio . Find them.
- Find the mean of classes with frequencies .
- Same data, with assumed mean .
- Same data, step-deviation with .
- The mean of a data set is . If each value is increased by , what is the new mean?
- The mean of a data set is . If each value is multiplied by , what is the new mean?
Pitfalls / Insight
(1) Always compute the class marks first. A common error is using the lower or upper limits instead.
(2) For step-deviation, must be the same for all classes. If not, use assumed-mean instead.
(3) The signs of and matter: deviations below are negative.
(4) The formula gives a grand mean weighted by frequency, not a simple average of class marks.
(5) The mean has the same units as the data. If marks are in percentage points, the mean is in percentage points.