Variance
Variance is the expected squared deviation from the mean.
On this page 7 sections
01Variance measures spread around the mean μ=E[X]#
Variance measures spread around the mean . Take each deviation , square it, and average those squares using the probabilities.
If and are equally likely, the mean is . Both squared deviations are , so the variance is .
PMF: , . Mean . Find .
Show answer and explanation
Squared deviations: . Weighted sum: .
02Unequal probabilities still matter after squaring#
Unequal probabilities still matter after squaring. A rare large deviation contributes its squared size multiplied by its probability.
These exercises describe a probability model. Use its supplied masses; no sample correction is involved.
A two-state model gives with probability 0.75 and otherwise. Mean . Find .
Show answer and explanation
Squared deviations: . Weighted sum: .
03Signed deviations average to zero because positive and negative terms cancel#
Signed deviations average to zero because positive and negative terms cancel. Squaring before averaging prevents that cancellation.
Variance is nonnegative. It is zero when the model puts all probability at its mean. Its units are the original units squared.
PMF: , . Mean . A learner averages signed deviations and gets zero. Find the variance.
Show answer and explanation
Squared deviations: . Weighted sum: .
Center, square, then weight by probability; signed cancellation is not a measure of spread.
- Compute variance as expected squared deviation from the mean.
Sources & further reading
- [1]Pishro-Nik, Introduction to Probability: Variance ↗Pishro-Nik: Introduction to Probability · Article