Sub topic 6
Diversification and the Role of Correlation
This chapter assumes you can compute portfolio expected return and the two-asset portfolio standard deviation from the previous chapters. It also assumes you know covariance and correlation. Here you will see how correlation controls the risk of a combination, where diversification stops helping, and which cases the CFA exam tests.
What diversification does
Diversification means spreading money across assets whose returns do not move in lockstep. Two facts about a portfolio drive the whole topic:
- Expected return is a weighted average of the asset expected returns. Correlation does not affect it.
- Standard deviation is not a weighted average. It depends on the correlation between the assets.
Correlation changes risk without changing expected return. That is why diversification is often called the only "free lunch" in investing.
The two-asset variance is:
σp² = w₁²σ₁² + w₂²σ₂² + 2·w₁·w₂·σ₁·σ₂·ρ₁₂
The first two terms are fixed once you choose weights and assets. The last term is the only one that moves with correlation. A lower ρ shrinks it.
The effect of correlation
Take a 60/40 portfolio. Asset 1 has E[R] = 10% and σ = 20%. Asset 2 has E[R] = 6% and σ = 10%. The expected return is 0.6(10%) + 0.4(6%) = 8.40% in every case. The standard deviation varies:
| Correlation (ρ) | Portfolio σ | Comment |
|---|---|---|
| +1.0 | 16.00% | Equals the weighted average of the two σ's (0.6×20% + 0.4×10%). No benefit. |
| +0.3 | 13.74% | Below the weighted average. Some benefit. |
| 0.0 | 12.65% | Covariance term vanishes. |
| −0.5 | 10.58% | Strong benefit. |
| −1.0 | 8.00% | The terms partly cancel. |
from math import sqrt
def portfolio_stats(w1, r1, r2, s1, s2, rho):
w2 = 1 - w1
exp_return = w1 * r1 + w2 * r2
variance = (w1 * s1) ** 2 + (w2 * s2) ** 2 + 2 * w1 * w2 * s1 * s2 * rho
return exp_return, sqrt(variance)
# 60% in asset 1 (E[R]=10%, sd=20%), 40% in asset 2 (E[R]=6%, sd=10%)
for rho in (1.0, 0.3, 0.0, -0.5, -1.0):
ret, sd = portfolio_stats(0.6, 0.10, 0.06, 0.20, 0.10, rho)
print(f"rho={rho:+.1f} E[R]={ret:.2%} sd={sd:.2%}")The expected return column is constant while the risk column falls as ρ falls.
Key cases
Three cases come up repeatedly on the exam.
- Perfect positive correlation (ρ = +1). The variance formula collapses to a perfect square. σp = w₁σ₁ + w₂σ₂, so portfolio risk is the weighted average of the asset risks. There is no diversification benefit.
- Any ρ < +1. Portfolio σ is strictly less than the weighted average of the asset σ's. The benefit grows as ρ falls.
- Perfect negative correlation (ρ = −1). The formula collapses to σp = |w₁σ₁ − w₂σ₂|. A weight mix exists that makes portfolio risk exactly zero.
Finding the zero-risk mix
When ρ = −1, set w₁σ₁ = w₂σ₂ to make the portfolio risk-free. With w₂ = 1 − w₁, solving gives:
w₁ = σ₂ / (σ₁ + σ₂)
For our assets, w₁ = 10 / (20 + 10) = 1/3. Check it: (1/3)(20%) = 6.67% and (2/3)(10%) = 6.67%. The two terms cancel and σp = 0.
The general minimum-variance weight, for any ρ, is:
w₁* = (σ₂² − σ₁σ₂ρ) / (σ₁² + σ₂² − 2σ₁σ₂ρ)
def min_variance_weight(s1, s2, rho):
cov = s1 * s2 * rho
return (s2 ** 2 - cov) / (s1 ** 2 + s2 ** 2 - 2 * cov)
for rho in (-1.0, 0.0, 0.3):
w = min_variance_weight(0.20, 0.10, rho)
print(f"rho={rho:+.1f} min-variance weight in asset 1 = {w:.1%}")This prints 33.3%, 20.0%, and 6.0%-ish values. The last depends on the rounding of 0.0 − 0.006 against the denominator. Compute it by hand: (0.01 − 0.006)/(0.04 + 0.01 − 0.012) = 0.004/0.038 ≈ 10.5%.
The result is worth noticing. When ρ is low enough, the minimum-variance portfolio has less risk than either asset alone. You can take less risk than the safest asset by holding some of the riskier one. This is the origin of the bullet-shaped curve in the next chapter.
Diversifying across many assets
With n assets the benefit does not grow forever. Take n equally weighted assets that each have standard deviation σ and a common pairwise correlation ρ. The portfolio variance is:
σp² = σ²/n + (1 − 1/n)·ρ·σ²
The first term, σ²/n, is each asset's own risk, which vanishes as n grows. The second term approaches ρσ² and does not vanish. It is the average covariance, which is the part of risk that the assets share.
from math import sqrt
def equal_weight_sd(n, sigma, rho):
var = sigma ** 2 / n + (1 - 1 / n) * rho * sigma ** 2
return sqrt(var)
for n in (1, 2, 5, 10, 30, 100, 1000):
print(f"n={n:>4} sd={equal_weight_sd(n, 0.20, 0.30):.2%}")
print(f"limit sd={sqrt(0.30) * 0.20:.2%}")For σ = 20% and ρ = 0.3, the results are:
| Number of assets | Portfolio σ |
|---|---|
| 1 | 20.00% |
| 10 | 12.17% |
| 30 | 11.37% |
| 100 | 11.08% |
| Limit | 10.95% |
Most of the gain arrives in the first ten or so assets. After that each extra asset buys very little. The floor of 10.95% is set by the average covariance, so no number of additional holdings removes it. That residual is what later chapters call systematic risk, and the part that diversification removes is unsystematic risk.
Common errors
- Averaging standard deviations. Weighted-average σ is correct only when ρ = +1. For any other value it overstates risk.
- Letting correlation change expected return. It does not. Only the weights and the asset expected returns matter.
- Mixing up covariance and correlation. The formula above uses ρσ₁σ₂. If a problem gives covariance directly, use 2·w₁·w₂·Cov₁₂ and skip σ₁σ₂ρ.
- Forgetting the square root. The formula yields variance. Take the square root before you report a standard deviation.
- Treating ρ = 0 as "no risk reduction". Zero correlation still reduces risk below the weighted average. The covariance term is just zero.
- Assuming correlation is stable. In market crises correlations among risky assets tend to rise toward +1, so the benefit measured in calm periods can shrink when it matters most.
Worked check
Asset A has σ = 15% and asset B has σ = 25%. You hold 50% in each and ρ = 0.2.
Variance = (0.5×0.15)² + (0.5×0.25)² + 2(0.5)(0.5)(0.15)(0.25)(0.2) = 0.005625 + 0.015625 + 0.00375 = 0.025.
σp = √0.025 = 15.81%. The weighted average of the σ's is 20%, so diversification removed 4.19 percentage points of risk.
Exercise
Two assets each have a standard deviation of 12%. You hold them 50/50. What is the portfolio standard deviation when the correlation is +1, 0, and -1?
Show answer
With ρ = +1, σp = 0.5(12%) + 0.5(12%) = 12%. With ρ = 0, variance = 0.5²(0.12²) + 0.5²(0.12²) = 0.0072, so σp = 8.49%. With ρ = -1, the terms cancel and σp = |0.5(12%) - 0.5(12%)| = 0%.
Exercise
A 70/30 portfolio holds asset X (E[R] = 9%, σ = 18%) and asset Y (E[R] = 5%, σ = 8%). Their covariance is 0.0036. Find the expected return, the correlation, and the portfolio standard deviation.
Show answer
E[R] = 0.7(9%) + 0.3(5%) = 7.8%. Correlation = 0.0036 / (0.18 × 0.08) = 0.25. Variance = (0.7×0.18)² + (0.3×0.08)² + 2(0.7)(0.3)(0.0036) = 0.015876 + 0.000576 + 0.001512 = 0.017964, so σp = 13.40%.
Exercise
Why does adding more and more assets to an equally weighted portfolio stop reducing risk, even though each added asset has its own risk?
Show answer
Each asset's own risk contributes σ²/n to the variance, which goes to zero as n grows. The covariance term (1 - 1/n)ρσ² approaches ρσ² instead, because assets that share a positive correlation share some risk. That floor is the average covariance among the assets, which diversification cannot remove.