Two numbers summarise a discrete distribution: where its “centre” lies and how much the values spread around it.

Property — Mean, variance, standard deviation

  • Mean (expected value): μ=E[X]=ixipi\mu = E[X] = \sum_i x_i\,p_i.
  • Variance: σ2=E[(Xμ)2]=E[X2]μ2=i(xiμ)2pi\sigma^2 = E[(X-\mu)^2] = E[X^2]-\mu^2 = \sum_i (x_i-\mu)^2 p_i.
  • Standard deviation: σ=σ2\sigma = \sqrt{\sigma^2}.

μ\mu measures the “centre” of the distribution; σ\sigma measures the “width” (how much the values spread around the mean).

The alternative formula σ2=E[X2]μ2\sigma^2 = E[X^2]-\mu^2 is almost always the most convenient for calculations: you compute the mean of the squares and subtract the square of the mean.

Topics: Probability distributions
Concepts: Standard deviation · Probability distribution · Expected value · Variance
Skills: Using formulae