Mathematics · Ch 13 — Statistics
Shortcut (Step-Deviation) Method for Grouped Data
Shortcut (Step-Deviation) Method for Grouped Data
When a continuous frequency distribution has midpoints that are inconveniently large or do not share a common factor, computing and directly by the methods of the previous two sections can involve unwieldy arithmetic. The step-deviation method avoids this by first shifting and scaling every midpoint into a small, simple integer before doing any further arithmetic — the underlying variance and standard deviation come out identical, but the numbers being multiplied and summed along the way are far smaller.
Change of origin and scale. Choose any convenient midpoint (the assumed mean, usually the midpoint of a middle class) and let be the common class width. Define the step-deviation
for every class. Since every is obtained from by a change of origin (shifting by ) followed by a change of scale (stretching by ), the mean and variance of the 's can be recovered from the mean and variance of the much simpler 's.
Effect on the mean. , where — that is,
(A shift by a constant shifts the mean by exactly ; a scaling by scales the mean by exactly .)
Effect on the variance. A shift of origin (subtracting the constant ) does not change the variance at all, since variance measures spread around the mean, and shifting every value (including the mean itself) by the same constant leaves every deviation completely unchanged. A scaling by , however, scales every deviation by , and therefore scales the variance (built from squared deviations) by :
using the shortcut identity of the previous section applied to the values. The standard deviation is then — note that, unlike the variance, the standard deviation scales by itself, not , since it is a square root.
Steps to compute, using the step-deviation method.
- Choose an assumed mean (a midpoint near the centre of the data) and note the common class width .
- Compute for every class — these will be small integers such as
- Form the columns and , and sum each.
- Recover and . …