2.7.3 · D4Statistics & Probability — Intermediate

Exercises — Measures of dispersion — variance, standard deviation

2,047 words9 min readBack to topic

Before we start, one shared reminder of the four symbols we use, so nothing is unearned:


Level 1 — Recognition

L1.1 A dataset has variance . State the standard deviation and its units.

Recall Solution L1.1

SD is the square root of variance: . Variance was in , so taking the root brings us back to the data's own units: .

L1.2 For the data , what is the variance? Answer without computing a sum.

Recall Solution L1.2

Every value is identical, so every deviation . The average of zeros is zero: . (This is the only case where variance is exactly 0.)

L1.3 Which expression is the variance shortcut: (a) , or (b) ?

Recall Solution L1.3

(b) . Read the name: mean of the squares minus the square of the mean. It must be ; option (a) would be negative, which a spread can never be.


Level 2 — Application

L2.1 Data (population): . Find , then using the definition, then .

Recall Solution L2.1

Mean: . Deviations: , , , . Squares: . Sum . Variance: . SD: .

L2.2 Same data , now via the shortcut .

Recall Solution L2.2

, so . . ✓ — identical to L2.1, exactly as the algebra promised.

L2.3 Data (population): . Find and .

Recall Solution L2.3

. Deviations: ; squares ; sum . . .


Level 3 — Analysis

L3.1 Reaction times (seconds) from 3 volunteers, treated as a sample of all people: . Find the sample variance and sample SD .

Recall Solution L3.1

. Deviations: ; squares ; sum . Sample → divide by : . s.

L3.2 The same three numbers are now the entire population of a tiny experiment. Find . Compare with L3.1 and explain the direction of the difference.

Recall Solution L3.2

Population → divide by : . This is smaller than the sample . Dividing the same sum of squares () by the larger number ( vs ) gives a smaller value. Bessel's deliberately inflates the sample estimate to correct the downward bias caused by using (chosen to minimise that very sum).

L3.3 A student reports "" for a sample of 3. Is the divisor correct? Give the right value.

Recall Solution L3.3

No. For a sample, divide by , not . The correct sample variance is . Dividing by would give the population variance , which underestimates the spread of the wider population.


Level 4 — Synthesis

L4.1 (Shift invariance). Dataset has population variance . A new set adds to each: . Find and and confirm the property .

Recall Solution L4.1

A: ; deviations ; squares ; sum ; . B: ; deviations (the same, because both values and mean shifted by ); squares identical; . Equal ✓. Adding a constant slides every point and the mean by the same amount, so the deviations — and hence the spread — are untouched.

L4.2 (Scaling). Take with . Multiply each value by : . Predict and using the scaling rule, then verify.

Recall Solution L4.2

Predict: , so . And . Verify directly: ; deviations ; squares ; sum ; ✓. Stretching by tripled every distance; squared distances grew by .

L4.3 (Combining both). From , build . Without recomputing deviations from scratch, find using both properties.

Recall Solution L4.3

The shift does nothing to variance (shift invariance). The multiplies variance by . . (Same as , because the constant is irrelevant to spread.) SD: .

Figure — Measures of dispersion — variance, standard deviation

Look at the red band above: it's the same width for and (pure slide) but stretches by factor for — the picture behind L4.1–L4.3.


Level 5 — Mastery

L5.1 (Prove ). Show the mean of squares is never below the square of the mean, using only the shortcut and the definition of variance.

Recall Solution L5.1

By definition, . This is an average of squares, and each square , so their average is ; hence . By the shortcut, . Combining: . Equality holds iff every , i.e. all values identical.

L5.2 (Reverse-engineer the data). A two-point population with has mean and SD . Find and .

Recall Solution L5.2

For two points, both deviations have equal magnitude (each is exactly half the gap from the midpoint mean). . So . With midpoint : , . Check: , mean , deviations , squares , , ✓.

L5.3 (Which is more spread?). Two classes: Class P scores ; Class Q scores . Both share the same mean. Without full computation, argue which has larger variance, then confirm numerically.

Recall Solution L5.3

Both have . Q's values sit farther from () than P's (), so Q must have larger variance. P: deviations ; squares ; sum ; . Q: deviations ; squares ; sum ; . ✓. In fact Q's spread is P's, so its variance is larger — the scaling rule in disguise.

Figure — Measures of dispersion — variance, standard deviation

Connections

Solution Roadmap

shortcut path

Read the problem

Population or sample

Find the mean

Deviations then squares

Divide by n or n minus 1

Square root for SD

Shift keeps var - scale times c squared