Sub topic 15
Expected Value, Variance, and Standard Deviation
Prerequisites and the working model
Assume you know basic percentages, decimal arithmetic, and exponents. You should also be comfortable with probability rules and arithmetic mean returns.
A discrete probability distribution lists possible outcomes, their returns, and the probability of each outcome. The probabilities must be between 0 and 1 and must sum to 1. Expected value measures the probability-weighted average outcome. Variance and standard deviation measure how widely outcomes spread around that average.
For possible returns \(Ri\) with probabilities \(pi\):
- Expected return: \(E(R) = \sum piRi\)
- Variance: \(\sigma^2 = \sum pi[Ri - E(R)]^2\)
- Standard deviation: \(\sigma = \sqrt{\sigma^2}\)
A worked calculation
Suppose an investment has three possible annual returns:
| Scenario | Probability | Return |
|---|---|---|
| Poor | 0.20 | 0% |
| Normal | 0.50 | 8% |
| Strong | 0.30 | 15% |
The expected return is:
\(E(R) = (0.20)(0.00) + (0.50)(0.08) + (0.30)(0.15) = 0.085\)
The expected return is 8.5%. This is a weighted average, not a promise that the investment will actually earn 8.5%.
To calculate variance, find each scenario's deviation from 8.5%, square it, and weight it by the scenario probability:
- Poor: \(0.20(0.00 - 0.085)^2\)
- Normal: \(0.50(0.08 - 0.085)^2\)
- Strong: \(0.30(0.15 - 0.085)^2\)
The variance is 0.002725. The standard deviation is:
\(\sigma = \sqrt{0.002725} = 0.0522\)
Therefore, the standard deviation is 5.22%. Standard deviation is usually easier to interpret than variance because it uses the same percentage units as the returns.
probs = [0.2, 0.5, 0.3]
returns = [0.00, 0.08, 0.15]
expected = sum(p * r for p, r in zip(probs, returns))
variance = sum(p * (r - expected) ** 2 for p, r in zip(probs, returns))
std_dev = variance ** 0.5
print(round(expected, 4)) # 0.085
print(round(variance, 6)) # 0.002725
print(round(std_dev, 4)) # 0.0522Interpreting risk
A higher standard deviation means greater dispersion of possible returns. It does not tell you whether returns are mostly above or below the expected return. Two investments can have the same expected return but different standard deviations.
Variance squares deviations, so positive and negative deviations cannot cancel. Squaring also gives more weight to extreme outcomes.
Common exam errors
- Forgetting to multiply each return by its probability.
- Using the simple arithmetic average when scenario probabilities differ.
- Taking the square root before completing the weighted variance calculation.
- Reporting variance as a percentage when the question asks for standard deviation.
- Failing to check that all probabilities sum to 1.
Exercise
An investment can return -10% with probability 0.25 or 20% with probability 0.75. What are its expected return and standard deviation?
Show answer
Expected return = (0.25)(-0.10) + (0.75)(0.20) = 0.125, or 12.5%. Variance = (0.25)(-0.10 - 0.125)^2 + (0.75)(0.20 - 0.125)^2 = 0.016875. Standard deviation = √0.016875 ≈ 12.99%.