Probability

Variance and Standard Deviation for Dummies

PMFs, CDFs, expected value, variance, and linearity of expectation.

What to remember

  • A random variable maps outcomes to numbers; PMF/CDF describe its distribution.
  • E[X]E[X] is the probability-weighted average; Var(X)=E[X2]−(E[X])2\text{Var}(X) = E[X^2] - (E[X])^2.
  • Standard deviation is the typical miss: two dice have variance 35/635/6 and standard deviation about 2.422.42. For independent variables the variances add, so the standard deviation grows like n\sqrt n; Var(2X)=4 Var(X)\text{Var}(2X) = 4\,\text{Var}(X).
  • Linearity of expectation holds without independence. Decompose into indicators.
Read the lessonRandom Variables and Expectation, with a checkpoint at the end.