Sub topic 3
Correlation: why holdings that move differently help
Prerequisites and the working idea
This chapter assumes you understand stocks, funds, ETFs, percentage returns, and the idea that higher expected return usually comes with higher risk. You should also be comfortable with percentages and simple averages.
Correlation measures how two investments move relative to each other. Its value ranges from -1 to +1:
- +1 correlation: The investments move together in the same direction and by similar proportions.
- 0 correlation: Their movements have no consistent linear relationship.
- -1 correlation: They move in opposite directions.
Diversification works best when holdings do not move together perfectly. A loss in one holding can be partly offset by a gain, or a smaller loss, in another.
Correlation is about movement, not quality
Correlation does not tell you whether an investment is good, profitable, or safe by itself. It only describes how its returns have moved compared with another investment over a chosen period.
For example, two companies in different industries may have low historical correlation. Their business results depend on different customers, costs, and economic conditions. However, their prices can still fall together during a broad market panic.
Correlation also changes over time. A relationship measured during calm markets may not hold during a recession, war, or financial crisis. Treat historical correlation as evidence, not a permanent rule.
| Correlation | Typical diversification effect | Important qualification |
|---|---|---|
| +1.0 | No reduction from combining the holdings | They move together |
| 0.0 | Some reduction | Movements are not consistently linked |
| -1.0 | Maximum offset in a simple two-asset model | Rare and usually temporary |
Calculating two-asset portfolio volatility
Volatility is a statistical measure of how widely returns vary. In this context, it is a common measure of investment risk.
For two holdings, portfolio volatility is:
\sigma_p = \sqrt{(w_1\sigma_1)^2 + (w_2\sigma_2)^2 + 2w_1w_2\sigma_1\sigma_2\rho}Here:
- \(w1\) and \(w2\) are the portfolio weights.
- \(\sigma1\) and \(\sigma2\) are the holdings' volatilities.
- \(\rho\) is their correlation.
- The weights must add to 1.
Suppose each asset has 20% volatility, and each receives 50% of the portfolio. If their correlation is +1, portfolio volatility remains 20%. If correlation is 0.5, it falls to about 17.32%. If correlation is 0, it falls to about 14.14%.
import math
def portfolio_vol(w1, s1, s2, rho):
w2 = 1 - w1
variance = (w1 * s1) ** 2 + (w2 * s2) ** 2
variance += 2 * w1 * w2 * s1 * s2 * rho
return math.sqrt(variance)
for rho in (1.0, 0.5, 0.0):
result = portfolio_vol(0.5, 0.20, 0.20, rho)
print(rho, round(result, 4))The lower correlation reduces the final term in the variance calculation. That is the mathematical source of the diversification benefit.
Common errors
A frequent error is to average the two volatilities and assume that the result is portfolio volatility. That works only in the special case where the holdings move perfectly together. Correlation must be included.
Another error is assuming that holding two different companies automatically creates meaningful diversification. If both companies depend on the same sector, country, commodity, or economic factor, their correlation may remain high.
Finally, low correlation does not remove risk. It reduces the variation of the combined portfolio compared with holding highly related assets. Both holdings can still lose value at the same time.
Exercise
Two assets each have 20% volatility, receive equal weights, and have a correlation of 0.5. Is the portfolio volatility closer to 20% or 10%?
Show answer
It is about 17.32%, so it is closer to 20%. Diversification reduces volatility, but the assets still move together to some extent.