MD12 - Variance, standard deviation and grouped estimates
Use MEI's sample variance and sample standard deviation to describe spread from raw data, frequency tables and grouped estimates. You will interpret calculator outputs, keep the sample divisor clear and explain what grouping conceals.
Sample variance uses divisor n minus one
Why can two correct calculator outputs give different standard deviations for the same four measurements? For machining times minutes, the mean is , and the squared deviations add to . Dividing by or by gives different measures. The calculator is offering a choice; you need to know which measure the question requests.
You already know
The mean divides the total by the number of observations. Squared deviations measure spread without cancellation; taking a square root restores the original units.
MEI defines sample variance using divisor , and denotes it by . The sample mean still uses divisor . Its formula is not in the formula sheet: learn it.
Sample variance and sample standard deviation
For a sample of observations, sample variance is the sum of squared deviations from the sample mean divided by . Sample standard deviation is its non-negative square root. Variance has squared measurement units; has the original units.
Writing for the squared-deviation total keeps the two different divisors visible.
MEI sample spread
For ,
In the formula sheet.
The shortcut follows by expanding the squares and using : the two cross terms combine to subtract . With one observation, , so this sample variance is undefined. With at least two identical observations it is zero. These are different cases.
Worked example 1: deviations first
Question. Calculate the sample mean, sample variance and sample SD of machining times minutes. Give the SD to significant figures.
Plan. Find the mean, add squared deviations, then divide by one less than the sample size.
Why not divide the mean by ? The adjustment belongs to the definition of sample variance, not the mean.
Answer. Mean minutes, sample variance , sample SD minutes.
Check. The squared-deviation total is non-negative, and both spread measures are zero only when all the observations coincide.
Change only the representation: the next question supplies summaries of the same four times.
Worked example 2: use the summary-statistics shortcut
Question. Four machining times have and . Determine their sample mean and sample SD, giving the SD to significant figures.
Plan. Use the summaries to obtain , then apply the sample divisor.
Why find first? Its shortcut contains divisor ; replacing that by would change the squared-deviation total itself.
Answer. Mean minutes and sample SD minutes.
Check. , so the result agrees with the direct calculation.
For any non-constant sample, the divisor- SD is larger than the divisor- SD by the factor . That difference is large for tiny samples and shrinks as grows. This is an algebraic comparison of two definitions, not a reason to switch between them.
In one-variable calculator statistics, clear old data, enter the measurements and check and . Choose the output defined using , commonly . The other output, commonly , uses . Manufacturer labels vary, so confirm the definition against the known four-time example. Keep full-precision totals until the end.
For a real check, the first five people in the current LDS9 NHANES – sample have pulse entries , #N/A, , , beats per minute. Use the four observed pulses: , , so and beats per minute, to significant figures. The missing code is not a fifth pulse equal to zero. The valid count belongs to the variable being analysed.
Watch out
Wrong: . Right: calculate first, then divide the whole by .
Use the shortcut with a new summary.
Frequency weights retain the sample size
A frequency is a count of repeated observations. Compressing the data into a table does not reduce the sample size to the number of rows.
Sample statistics from frequencies
For value , frequency and ,
The sample-spread identities follow from the raw-data formulas by counting repetitions; the weighted-mean formula is not printed on the sheet.
Not in the formula sheet: learn it.
Use the actual count as , then choose the sample SD output on the calculator. Its frequency column must be enabled.
Worked example 3: compress repeated values
Question. Defect counts have frequencies . Calculate the sample mean and sample SD to significant figures.
Plan. Count repetitions in each total and apply the sample-spread definition.
Why is the denominator ? The sample contains six observations, even though only three different values occur.
Answer. Mean defects and sample SD defects.
Check. The expanded list gives exactly the same calculator result.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account