Topic summary
Ungrouped data
Extracted from the Wikipedia article Grouped data.
Mean of grouped data
In this formula, x refers to the midpoint of the class intervals, and f is the class frequency. Note that the result of this will be different from the sample mean of the ungrouped data. The mean for the grouped data in the above example, can be calculated as follows: