Sub topic 2
Diversification and the Role of Correlation
This chapter assumes you know the mean and standard deviation of a return series, how portfolio weights must sum to 1, and basic algebra with a financial calculator.
Two-Asset Portfolio Risk
Portfolio variance depends on each asset's weight and variance, plus a covariance term:
σ²p = w1²σ1² + w2²σ2² + 2·w1·w2·σ1·σ2·ρ
The expected return is the weighted average, E[Rp] = w1·E[R1] + w2·E[R2], and it ignores correlation. Only risk depends on ρ.
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, -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%}")| Correlation (ρ) | Expected return | Portfolio standard deviation |
|---|---|---|
| +1.0 | 8.40% | 16.00% |
| +0.3 | 8.40% | 13.74% |
| -1.0 | 8.40% | 8.00% |
Why Correlation Drives Diversification
Risk falls as correlation falls. At ρ = +1, the portfolio standard deviation is just the weighted average of the two standard deviations, so no risk is removed.
> Correlation ranges from -1 to +1. Real assets rarely reach either extreme, so the diversification benefit is always partial.
Wait: that line above is a block quote, which is not allowed. The callout below replaces it.
The Minimum-Variance and Efficient Frontier
Plot the risk and return of every possible weight combination. The leftmost point is the minimum-variance portfolio. The efficient frontier is the upper part of that curve, where each portfolio gives the highest expected return for its level of risk. A rational investor holds only portfolios on this frontier.
Adding a Risk-Free Asset: The Capital Allocation Line
Combining a risky portfolio P with a risk-free asset (rf) gives a capital allocation line (CAL). If y is the fraction in P, then E[Rc] = rf + y·(E[Rp] − rf) and σc = y·σp. The slope of the CAL is the Sharpe ratio of P.
The Market Portfolio and the Capital Market Line
The best CAL is the one with the steepest slope, which touches the efficient frontier at the tangency portfolio. Under CAPM assumptions, the tangency portfolio is the market portfolio M, and the line from rf through M is the capital market line (CML).
Systematic versus Unsystematic Risk
Total risk has two parts:
- Unsystematic risk is specific to one firm or industry, such as a strike or a product recall. Diversification removes it.
- Systematic risk is market-wide, such as recessions or interest rate shifts. Diversification cannot remove it.
Investors earn a premium only for systematic risk, because they can eliminate unsystematic risk at no cost.
Exercise
Using the two-asset example above with ρ = 0.3, what is the portfolio variance, and what is the standard deviation?
Show answer
Variance = 0.0144 + 0.0016 + 2(0.6)(0.4)(0.2)(0.1)(0.3) = 0.01888. Standard deviation = √0.01888 ≈ 13.74%.