• Practice
  • About 18 min
  • 5 practice questions

Variance shortcuts and corrected values

Find variance quickly from Σx and Σx², use the step-deviation method on larger grouped tables, and recompute mean and variance after a wrongly recorded observation.

If something looks wrong, please tell us.

Variance questions in exams rarely ask you to square deviations one by one. They give totals, or a large grouped table, or a data set with an error to repair. All three are handled by the same formula, σ² = Σx²/n − x̄², used with the convention of the course: divide by n.

Working from totals

If you know n, Σx and Σx², you know everything: x̄ = Σx/n and σ² = Σx²/n − (Σx/n)². In reverse, if you know n, x̄ and σ², then Σx = n x̄ and Σx² = n(σ² + x̄²). This reverse step is the key to correction problems.

Σx = n x̄ and Σx² = n(σ² + x̄²). Fix both totals, then x̄ = Σx/n and σ² = Σx²/n − x̄² again.

Worked example 1: first ten natural numbers

For 1, 2, …, 10: Σx = 55 and Σx² = 385. Then x̄ = 5.5 and σ² = 38.5 − 30.25 = 8.25. This agrees with the general result (n² − 1)/12 = 99/12 for the first n natural numbers, which the advanced course proves.

For a frequency table the same shortcut reads σ² = Σfx²/N − x̄². Add a column of fx² next to the column of fx and you need only two sums.

Worked example 2: a larger grouped table

Class30-4040-5050-6060-7070-8080-9090-100
f371215832
u = (x − 65)/10−3−2−10123

N = 50. Σfu = −9 − 14 − 12 + 0 + 8 + 6 + 6 = −15 and Σfu² = 27 + 28 + 12 + 0 + 8 + 12 + 18 = 105. Mean = 65 + 10 × (−15/50) = 62. Variance = 100 × [105/50 − (−15/50)²] = 100 × (2.1 − 0.09) = 201, and σ ≈ 14.18. Choosing A at the class with the largest frequency near the middle keeps the u values small.

Worked example 3: a wrongly recorded value

Twenty observations have mean 10 and standard deviation 2. One observation was recorded as 12 instead of 8. Wrong totals: Σx = 200 and Σx² = 20(4 + 100) = 2080. Correct them: Σx = 200 − 12 + 8 = 196 and Σx² = 2080 − 144 + 64 = 2000. New mean = 196/20 = 9.8. New variance = 2000/20 − 9.8² = 100 − 96.04 = 3.96, so σ ≈ 1.99.

Traps

  • Correcting Σx but forgetting to correct Σx²; both totals contain the wrong value.
  • Subtracting the old mean squared after correcting Σx²; always use the new mean.
  • Using σ instead of σ² in Σx² = n(σ² + x̄²).
  • In the step-deviation formula, dropping the square on (Σfu/N) or the factor h².

A word on accuracy. Keep fractions or full decimals until the last step: rounding the mean 9.8 to 10 in worked example 3 would give 100 − 100 = 0 for the variance, which is plainly wrong. Questions often ask for the standard deviation; find the variance first and take the square root only at the end. If the answer options are in surd form, such as 2√2, leave the square root unevaluated.

The same method handles an observation that should be omitted: remove it from both totals and divide by n − 1 observations, because there really are fewer observations. That is not the n − 1 sample convention; it is simply the new count.

Key takeaways. Move between (n, x̄, σ²) and (n, Σx, Σx²) freely. Correct both totals, then recompute with the new mean. Use step deviation with an assumed mean near the centre of large tables.

Check your understanding

  1. 1. For 8 observations Σx = 40 and Σx² = 340. What is the variance?

    1. 17.5
    2. 42.5
    3. 12.5
    4. 20
    Show answer

    Answer: A. Mean = 5, Σx²/n = 42.5. Variance = 42.5 − 25 = 17.5.

  2. 2. What is the variance of 3, 6, 9, 12, 15?

    1. 18
    2. 9
    3. 90
    4. 3√2
    Show answer

    Answer: A. Mean = 9. Squared deviations 36, 9, 0, 9, 36 add to 90. Variance = 90/5 = 18.

  3. 3. A grouped table gives h = 10, N = 50, Σfu = 10 and Σfu² = 110. What is the variance?

    1. 220
    2. 2.16
    3. 216
    4. 200
    Show answer

    Answer: C. σ² = 100 × [110/50 − (10/50)²] = 100 × (2.2 − 0.04) = 216.

  4. 4. Ten observations have mean 15 and variance 9, but one value 20 was recorded as 10. What is the correct variance?

    1. 9
    2. 8
    3. 10
    4. 12
    Show answer

    Answer: B. Wrong Σx = 150 and Σx² = 10(9 + 225) = 2340. Correct: Σx = 160 and Σx² = 2340 − 100 + 400 = 2640. Mean 16, variance 264 − 256 = 8.

  5. 5. Values 1, 2, 3, 4 have frequencies 1, 2, 2, 1. What is the variance?

    1. 5/4
    2. 1
    3. 5/6
    4. 11/12
    Show answer

    Answer: D. Mean = 15/6 = 2.5. Σf(x − 2.5)² = 2.25 + 0.5 + 0.5 + 2.25 = 5.5. Variance = 5.5/6 = 11/12.

Privacy · Terms · Refunds · Delivery