Two mutual funds both averaged 8% annual returns over 10 years. Yet one investor made steady gains while the other had a rollercoaster ride. What's different?
What do you think?
Fund A returned exactly 8% every year. Fund B returned alternating +28% and -12%. Both average 8%. Which is riskier?
The mean tells you the center. Variance tells you how far outcomes typically stray from that center.
Variance: measuring spread
Variance
The variance of a random variable X is:
Var(X)=E[(X−μ)2]=E[X2]−(E[X])2
where μ=E[X]. It measures the average squared distance from the mean.
Why square the deviations? Because positive and negative deviations would cancel. Squaring ensures all deviations count.
The second formula — E[X2]−(E[X])2 — is almost always easier to compute.
What do you think?
If X is constant (always equals 5), what is Var(X)?
Enter a whole number
Standard deviation
Standard Deviation
The standard deviation is the square root of variance:
SD(X)=σ=Var(X)
It has the same units as X, making it more interpretable than variance.
If X is measured in dollars, Var(X) is in "dollars squared" (meaningless!), but SD(X) is back in dollars.
Drag and explore
Drag points away from the mean to see how variance responds. Notice that outliers have a disproportionate effect because of the squaring:
The Spread Stretch
Drag points left/right to change their values. Watch variance respond.