Know these first
- M-A08: Summation notation
By the end you will be able to
- 1Find the mean of a combination: E[aX + bY] = aE[X] + bE[Y].
- 2Find the variance of a combination, including the covariance term, and its standard deviation.
- 3Work out the standard deviation of a two-variable mix, and explain the cases ρ = 1 and ρ = −1.
- 4Explain the floor for many equal, equally correlated variables.
Why you need it
Averages add up simply. Risks do not: two things that each swing by 10 can together swing by 20, by 14, or not at all. The covariance decides which.
These Core Path lessons use it:
L2.5.03: Correlation and diversification
The volatility of a two-asset portfolio comes from the two volatilities, the weights and the correlation.
L2.6.05: Diversification and its limits
Why adding more holdings helps less and less: the floor for many alike variables.
The idea
Risks don’t simply add up
Two bets each win or lose 10 with equal chances, so each has a standard deviation of 10. What about the total? It depends on how the bets are linked. Try each setting.
Two bets, added together
Each bet: win 10 or lose 10, 50:50How are the bets linked? (correlation ρ)
Chance of each combination
| Y wins | Y loses | |
|---|---|---|
| X wins | 50.0% | 0.0% |
| X loses | 0.0% | 50.0% |
Together, the bets act like one double bet: the risk is 10 + 10 = 20.
The total's average is 0 in every case. Only its spread changes: 20 when the bets move together, 14.14 when they are unlinked, and 0 when they move opposite. The link between them is measured by the covariance or the correlation from M-C10: Covariance and correlation.
The rules
The mean of a combination. From M-C02: Expectation, expectations pass straight through scaling and adding, so for any combination with weights a and b:
The variance of a combination. Variances do not pass straight through. Here is why, and what you get instead.
Three special cases. The correlation can be anything from −1 to 1. At the two ends and in the middle the formula simplifies.
| ρ (a = 0.6, sd of X 20%, sd of Y 10%) | sd of the mix | What happens |
|---|---|---|
| 1 | 16.00% | the weighted average: no diversification |
| 0.3 | 13.74% | less than the weighted average |
| 0 | 12.65% | less again |
| −1 | 8.00% | the swings partly cancel |
Many alike variables. What if you combine not two but n variables? The covariance terms decide how far the total's spread can fall.
Adding more alike variables
equal weights 1/nThe rules, for reference
Try it
Set the weights, the two standard deviations and the correlation. Watch the solid curve bend below the dashed straight line as ρ falls, and touch zero at ρ = −1. Which weight gives the smallest spread?
Try itMix two variables
Covariance matrix tool →The three pieces of the variance
The mean is always the weighted average. The standard deviation is the weighted average only when ρ = 1; the green line is what mixing saves.
Worked examples
1. A 60/40 mix
Step 1 of 5- 1
The set-up
60% of a sum goes into X (mean 8%, standard deviation 20%) and 40% into Y (mean 4%, standard deviation 10%). Their correlation is 0.3. Find the mean and standard deviation of the mix (illustrative figures).
2. Perfectly opposite: a zero-variance mix
Step 1 of 4- 1
The set-up
Same standard deviations (20% and 10%), but now ρ = −1. Which weight in X makes the mix not vary at all?
3. Twenty-five alike variables
Step 1 of 5- 1
The set-up
25 variables, each with standard deviation 30%, every pair with correlation 0.2, equal weights of 1/25.
Common mistakes
Each line below is a tempting slip. Spot what is wrong, then check.
Reaction
Check what stuck
Question 1 · objective 1
E[X] = 6 and E[Y] = 2. What is E[0.5X + 0.5Y]?
Question 2 · objective 2
Var(X) = 4, Var(Y) = 9 and Cov(X, Y) = 1. What is Var(X + Y)?
Question 3 · objective 3
Half in X and half in Y. Both have a standard deviation of 20% and their correlation is 0. What is the standard deviation of the mix, in %?
Question 4 · objective 3
When is the standard deviation of aX + bY (a, b positive) equal to the weighted average of the two standard deviations, a × sd(X) + b × sd(Y)?
Question 5 · objective 4
Many alike variables, each with standard deviation 25%, every pair with correlation 0.36, equal weights. What standard deviation can the mix never go below, in %?
Glossary
- Combination (aX + bY)
- A total made of several random variables, each multiplied by a number (its weight), such as aX + bY.
- Weight
- The share given to each variable in a combination. In a 60/40 mix, a = 0.6 and b = 0.4.
- Variance of a combination
- a²Var(X) + b²Var(Y) + 2ab Cov(X, Y): the two variances, weighted by the squared weights, plus the covariance term.
- Diversification
- The fall in the standard deviation of a total compared with the weighted average of the parts.
- Floor (σ√ρ)
- The level σ√ρ that the standard deviation of many alike, equally correlated variables cannot go below.