Lesson 4: Variance and standard deviation

Calculate the variance and standard deviation

SkillsVariance and standard deviationExpected value

Worked example

  • Simple familiar

For the number of goals in a quarter from the earlier example,

xx01234
P(X=x)P(X = x)0.10.30.350.150.1

with E⁡(X)=1.85\E(X) = 1.85, calculate Var⁡(X)\Var(X) and the standard deviation of XX, correct to 2 decimal places.

1 of 4 steps
  1. Step 1: Calculate E⁡(X2)\E(X^2)

    E⁡(X2)=02(0.1)+12(0.3)+22(0.35)+32(0.15)+42(0.1)=0+0.3+1.4+1.35+1.6=4.65\E(X^2) = 0^2(0.1) + 1^2(0.3) + 2^2(0.35) + 3^2(0.15) + 4^2(0.1) = 0 + 0.3 + 1.4 + 1.35 + 1.6 = 4.65

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Find μ=E⁡(X)\mu = \E(X).

  2. Find E⁡(X2)=∑pixi2\E(X^2) = \sum p_i x_i^2.

  3. Var⁡(X)=E⁡(X2)−μ2\Var(X) = \E(X^2) - \mu^2; then σ=Var⁡(X)\sigma = \sqrt{\Var(X)}.

Watch out for

  • Using (E⁡(X))2(\E(X))^2 in place of E⁡(X2)\E(X^2), giving 0.

  • Rounding μ\mu before squaring it.

  • Stopping at the variance when the standard deviation is asked for.

Save your progress with a free account