2.02g - Variance, standard deviation and grouped estimates
Calculate mean and standard deviation from individual values, summary statistics and frequency tables. You will also estimate them from grouped data, while keeping the calculator's divisor, the units and the lost information clear.
Raw data and summaries give the same spread
Can three numbers tell you how variable a thousand measurements are? If you know the count, their total and their sum of squares, you can recover their mean and standard deviation without seeing the individual measurements. You cannot recover the shape of their distribution: summaries are powerful, but they are not a photograph.
Start with four repair times: minutes. Their mean is minutes; their deviations are . Adding those deviations gives zero, so ordinary averaging would make the variation disappear. Squaring prevents that cancellation.
You already know
The mean is the total divided by the number of observations. Variance averages squared deviations from the mean; standard deviation takes its square root, restoring the measurement units.
Write for the variance of the data here. H240 uses the root mean square deviation, with divisor . The mean formula is not in the formula sheet: learn it.
Raw-data standard deviation
For observations,
In the formula sheet.
Variance is the square of SD, so . This variance identity is derived by squaring the supplied SD expressions, rather than printed separately. Why do the two variance expressions agree? Expand and add the squares:
The last equality uses . Dividing by gives the shortcut. Variance is non-negative, and is zero exactly when every observation is the same.
Worked example 1: use the deviations
Question. Find the mean, variance and standard deviation of repair times minutes.
Plan. Find the mean, square each deviation, then average and take a square root.
Why this divisor? We are describing the spread of these four observations using H240's root mean square definition.
Answer. Mean minutes, variance , SD minutes, to significant figures.
Check. The deviations have size at most minutes, so an SD between and minutes is sensible.
Now change only the way the same data are supplied: replace the list by its summaries. The answer must stay the same.
Worked example 2: reconstruct from summaries
Question. Four repair times have and . Calculate their mean and standard deviation.
Plan. Use the total for the mean and the sum of squares for the shortcut.
Why not square first? adds the squared measurements; squares their total. They are different quantities.
Answer. Mean minutes and SD minutes, to significant figures.
Check. , agreeing with the supplied summary and the first calculation.
A calculator can perform either route. Clear earlier entries, choose one-variable statistics, enter the values and check the count and mean. Select the SD output defined with divisor . Many calculators call this , while uses ; check your model's definitions. For these four times, the other output is , which is a different statistic. Formal estimation of population variance from a sample is outside this topic.
Watch out
Wrong: . Right: . Keep full-precision totals and mean until the final answer: a small negative result indicates rounding or input trouble, not negative spread.
Try the summary route with another set of measurements.
Frequencies count repeated observations
A frequency table compresses repeated values. It must give exactly the same summaries as writing out every observation separately.
Frequency
The frequency of a value is the number of observations equal to that value. Values with frequencies represent six observations: , not three observations.
Each repeated value contributes to the total and to the sum of squares. The weighted mean is ; this mean formula is not in the formula sheet: learn it.
Statistics from frequencies
For positive total frequency ,
In the formula sheet.
Treat the frequency column as repeated observations when using calculator statistics, and verify the reported count.
Worked example 3: repeated daily counts
Question. Daily counts have frequencies . Find the mean and SD.
Plan. Build the frequency-weighted totals before using the divisor- formula.
Why square before multiplying by ? Three observations equal to contribute , not .
Answer. Mean counts per day and SD counts, to significant figures.
Check. Expanding the six-value list gives total and sum of squared values as well.
Change just the frequency of , from to . Both the total and the count must respond.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account