Mathematics · Ch 13 — Statistics
Variance and Standard Deviation for Grouped Data
Variance and Standard Deviation for Grouped Data
The variance and standard deviation formulas extend to grouped data exactly as the mean deviation formulas did in the previous section — every squared deviation is weighted by the frequency with which it occurs.
Discrete frequency distribution. For distinct values with frequencies and ,
Continuous frequency distribution. Exactly as for grouped mean deviation, each class is represented by its midpoint , and the same discrete-style formulas are applied using these midpoints:
The computational shortcut, extended to grouped data. The identity derived in the previous section extends directly (the derivation is identical, with every replaced by frequency-weighted sums):
— again, "the (frequency-weighted) mean of the squares minus the square of the (frequency-weighted) mean." This is frequently the fastest route to the variance of grouped data, since it needs only two running column totals, and , computed once each.
Steps to compute (either discrete or continuous, direct method).
- Find and the mean (using class midpoints for continuous data).
- Find (or, for the shortcut identity, simply ) for every distinct value/midpoint.
- Form the column (or for the shortcut).
- Sum this column, divide by — and, for the shortcut identity, subtract at the very end.
- Take the square root of the result to get the standard deviation. …