Skip to content

Range, variance, standard deviation and coefficient of variation

Compute the range, sample variance and sample standard deviation of a set of returns by hand, and use the coefficient of variation to compare risk per unit of return.

It opens on

Fund A and Fund B both averaged 10 percent a year over five years. Which fund's yearly returns were more spread out: A, B or neither?

Why it matters

Two investments can have the same average return and very different risk, so a manager needs a number for how widely the results scatter around the mean.

Good to know first

  • mean

Step by step

  1. The range

    Compute the range of a data set and say why one number from two values is not enough.

    Fund B has 18 − 2 = 16 points, so its range is twice as big, and B is the more spread out, which answers the opening question.

    range B = 18 − 2 = 16

    A common mix-up

    A larger range always means a riskier fund.

    In fact: The range uses only two values, so a single odd year can inflate it while the other years sit close together.

  2. Variance and standard deviation

    Compute a sample variance and standard deviation from a deviations table and read the result in percent.

    The squared deviations are 16, 4, 0, 4 and 16, and they add to Σ(x − x̄)² = 40.

    Σ(x − x̄)² = 40

    A common mix-up

    Divide by n because we are averaging the squared deviations.

    In fact: For a sample we divide by n − 1; only a whole population is divided by N.

  3. The coefficient of variation

    Compute the coefficient of variation and use it to compare risk per unit of return between funds with different means.

    The squares are 36, 9, 0, 9 and 36, which add to 90, so s² = 90 / 4 = 22.5 and s = √22.5 = 4.74 percent.

    s = √22.5 = 4.74%

    A common mix-up

    The fund with the smallest s is always the safest.

    In fact: s ignores the size of the mean, and the CV shows the risk per unit of return.

Try it

Monthly sales were $42,000, $55,000, $48,000 and $61,000. Find the range.Answer

$19,000

Hint: Largest minus smallest

Five orders took 3, 5, 6, 8 and 13 days. Find s.Answer

Mean 7, squares 16 + 4 + 1 + 1 + 36 = 58, s² = 14.5, s = 3.81 days

Hint: Mean first, then deviations

Fund E has mean 12% and s = 3%; Fund F has mean 5% and s = 2%. Which has more risk per unit of return?Answer

E has CV 25% and F has CV 40%, so F

Hint: Compute both CVs

A fund returned 4, 9, 5, 12 and 7 percent. What is its range?Answer

12 − 4 = 8 percentage points

For Fund B the first year's return is 2 and its mean is 10. What is that year's squared deviation?Answer

(2 − 10)² = 64

Range, variance, standard deviation and coefficient of variation

30 minutes every month. No card.