Notes by Sara
Lesson 4

Same average, different ride

Example, with made-up numbers. Over five years, fund A returned 5%, 6%, 7%, 6% and 6%. Fund B returned −10%, 20%, 2%, 18% and 0%. Both average 6% a year. Which would you rather have held?

The idea

Measure how far each year lands from the average. Fund A's years hug the 6% line. Fund B's swing far above and below it:

Each line is one year's distance from the 6% average. Standard deviation boils those distances down into one number.

You can't just average the distances: the ones above and below cancel out to zero. So square each one first, average the squares, then take the square root to get back to the original units:

Variance = sum of (value − mean)2 ÷ (n − 1)
Standard deviation = √variance

Divide by n − 1 when your data is a sample of years, which it almost always is in finance. In a spreadsheet, =STDEV.S() does it all.

Worked example: fund B

ReturnMinus the 6% meanSquared
−10%−16256
20%14196
2%−416
18%12144
0%−636
Sum0648

The distances add up to 0, which is why they're squared. Variance: 648 ÷ (5 − 1) = 162.

Standard deviation: √16212.7%

Fund A works out at just 0.7%. Same average, but fund B is about eighteen times as volatile. In finance, the standard deviation of returns is called volatility.

Quick check

Fund B's variance is 162 and its standard deviation is 12.7. Which is in the same units as the returns, percent?

What the number tells you

When returns are roughly bell-shaped, a handy rule of thumb applies:

About 2 years in 3 land withinmean ± 1 standard deviation
About 19 years in 20 land withinmean ± 2 standard deviations

For fund B: 6% ± 12.7%, so a typical year runs from about −6.7% to +18.7%. A later lesson, on the normal distribution, shows where these figures come from and when they fail.

Comparing spread across different averages

A bigger average often comes with a bigger standard deviation. To compare risk per unit of return, divide one by the other: the coefficient of variation. Fund B: 12.7 ÷ 6 = 2.1. Example, with made-up numbers. A fund C averaging 12% with a standard deviation of 18% scores 18 ÷ 12 = 1.5: more ups and downs, but less risk for each point of return. Later, in Investments, the Sharpe ratio refines this same idea.

Try it yourself
Enter yearly returns and get the standard deviation.
Mean
Variance
Standard deviation
Typical year (± 1 SD)

Now try fund A: 5, 6, 7, 6, 6.

Common mistakes
Three slips beginners make.
  • Averaging the distances without squaring. They always add up to zero, whatever the data.
  • Forgetting the square root. Variance is in squared units. Standard deviation is the one you report.
  • Dividing by n for a sample. For a handful of past years, divide by n − 1. It gives a slightly larger, fairer figure.

Remember

  • Variance: square each distance from the mean, add them up, divide by n − 1.
  • Standard deviation is the square root, back in the data's own units. For returns it's called volatility.
  • Rough guide: about 2 values in 3 lie within one standard deviation of the mean.
  • To compare risk per unit of return, divide the standard deviation by the mean.

Check yourself

Three questions. Try them without scrolling up.

1. What is the standard deviation of 2, 4, 6, treated as a sample?

2. A fund averages 8% a year with a standard deviation of 15%. What is a typical year's range?

3. Why are the distances from the mean squared?

Score: 0 of 3