Diversification & Portfolio Risk

financeportfoliosinvestments-101
Investments 101 · Part 8 of 12

Diversification & Portfolio Risk

In the last post we worked out the return on any portfolio: weight each asset’s return by its share of equity and add them up. We might expect risk to work the same way, taking the weighted average of the individual standard deviations to get the portfolio’s.

That guess is wrong. A portfolio’s standard deviation is almost always less than the weighted average of its parts. Two assets that move in opposite directions can cancel some of each other’s volatility, and what is left is smoother than either one alone. The key ingredient is correlation.

This post works out where that cancellation comes from, how far we can push it, and what it cannot remove.

Covariance and Correlation

To get at portfolio risk we need to measure how two assets move relative to each other, and covariance is that measure. It is the average product of the two assets’ deviations from their own means, taken across all observations in the sample:

where is the return on asset A in period and is its sample mean. Setting B equal to A recovers the variance formula from the last post.

When both assets are above their means in the same periods, the products are positive and the covariance is positive. When one is above its mean in the periods when the other is below, the products are negative and the covariance is negative. When no consistent pattern exists, the positives and negatives cancel and the covariance is near zero.

Covariance is hard to interpret because its units are “percent squared.” A covariance of 48 between two stocks means little on its own. Correlation fixes that by dividing out both standard deviations:

where and are the standard deviations of the two assets.

Correlation ranges from -1 to +1. At +1, the two assets move in perfect lockstep: every time one rises 2%, the other rises by a proportional amount. At -1, they move in perfect opposition. At 0, no linear relationship exists between them.

A few examples make the sign concrete. Two airline stocks have high positive correlation (both get hurt when fuel prices spike, both benefit from strong travel demand). An airline and an oil producer have negative correlation (expensive fuel hurts airlines but helps drillers). An airline and a pharmaceutical company have low correlation (their fortunes are driven by unrelated forces). The sign and magnitude of tell us how much diversification benefit to expect from holding both.

Two-Asset Portfolio Variance

For two risky assets A and B held at weights and , the portfolio variance is:

where is the standard deviation of the portfolio.

The first two terms are the “own-risk” contributions: each asset’s variance, scaled by the square of its weight. Those two are what we would get by adding up the weighted variances independently. The third term is the cross-term, and it is our new ingredient, because it is the only place appears.

How much the cross-term helps depends entirely on the sign and size of , so take three cases.

When , the cross-term is at its maximum and simplifies to the weighted average of the individual standard deviations. No diversification benefit at all, and the portfolio is as risky as the naive weighted average predicts.

When , the cross-term shrinks. The portfolio standard deviation falls below the weighted average. The lower the correlation, the bigger the gap.

When , the cross-term actively subtracts from portfolio variance. The assets are partially offsetting each other’s moves.

Take Asset X with and Asset Y with , held at 60% in X and 40% in Y. We run the formula at three correlations.

With (perfect correlation):

That is the weighted average we would have guessed, . No diversification at all.

With :

That result is below either asset’s individual . Our 60/40 mix of a 20% and a 30% volatility asset has only 18.6% volatility, and correlation alone produced that.

With :

The cross-term now subtracts from variance instead of adding to it, cancelling one of the two own-risk terms outright. A 12.0% portfolio out of a 20% asset and a 30% asset.

Drag the slider below to redraw portfolio across every weighting of the two assets.

ASSET PROPERTIES
0%5%10%15%20%25%30%0%20%40%60%80%100%Weight in Asset APortfolio σ
PORTFOLIO σ 20.8%
WEIGHTED AVG σ 24.0%
RISK REDUCTION 3.2 pp
Portfolio σ Weighted avg (ρ=1)
Drag ρ to see how correlation affects the risk curve.

At , the curve is a straight line connecting on the right to on the left, the weighted average at every mix. As falls, the curve bows downward, opening a region where the portfolio is less volatile than either asset alone. At , the curve touches zero. Two risky assets, perfectly negatively correlated, combine into a riskless portfolio.

Diversification

Adding more stocks to an equally weighted portfolio reduces , and the same variance arithmetic, extended from two stocks to , tells us by how much. The full expression collapses to something readable if we assume every stock has the same individual and the same pairwise correlation with every other stock:

where is now the number of stocks held rather than the number of observations.

With and :

Stocks ()Portfolio
130.0%
1018.2%
3017.1%
5016.8%

The first 10 to 20 stocks do most of the work, and after 40 or 50 the curve is nearly flat.

Where does the curve stop falling? Letting drives to zero and to one, which leaves us with the correlation term alone:

That is the floor. No matter how many stocks we add, portfolio risk converges to .

Drag the correlation slider below to raise and lower that floor.

0%5%10%15%20%25%30%1102030405060708090100Number of StocksPortfolio σ
Idiosyncratic risk Systematic risk Floor (σ√ρ = 16.4%)
1 STOCK 30.0%
10 STOCKS 18.2%
30 STOCKS 17.1%
FLOOR (N→∞) 16.4%
Higher ρ raises the systematic floor. At ρ = 0, all risk is diversifiable.

Higher raises the floor, leaving less risk that can be diversified away. At , all risk is diversifiable and the curve drops toward zero. In practice, stocks are positively correlated because they share exposure to the same economy, so the floor is always above zero in real markets.

Systematic vs. Idiosyncratic Risk

The gap between that curve and its floor has a name, and so does the floor.

The risk that diversifies away is idiosyncratic risk (also called firm-specific or unsystematic risk). A CEO gets fired, a product recall hits the news, a patent lawsuit goes badly. These events affect one company but not the market as a whole, and because they are independent across firms, they average out in a large portfolio. One company’s bad luck is offset by another’s good luck, and the law of large numbers takes care of the rest.

The risk that remains is systematic risk (or market risk). Recessions, interest rate changes, pandemics, and trade wars all belong here. These forces push most stocks in the same direction simultaneously, and that shared exposure is the source of the positive correlation. No amount of diversification removes systematic risk, because every stock in the portfolio feels the same macroeconomic shock.

Look again at the diversification chart above. The shaded region between the curve and the floor is idiosyncratic risk, and it shrinks as we add stocks. The region below the floor is systematic risk, and it stays constant regardless of portfolio size. For one stock, most of the total variance may be idiosyncratic. For a well-diversified portfolio of 50 or more stocks, almost all remaining variance is systematic. Factor models and beta formalize that split later in the series.

The Free Lunch

Diversification is “the only free lunch in finance,” a line attributed to Harry Markowitz. The reason is arithmetic. Recall from the last post that our portfolio return is the weighted average of the individual returns, and the same holds for expectations:

No correlation term appears, so expected return does not depend on how the assets co-move. Portfolio risk does depend on correlations, as we’ve seen. So we can lower risk without lowering expected return by spreading money across assets that are not perfectly correlated.

But only idiosyncratic risk can be eliminated. Systematic risk is what an investor must accept to hold equities at all. That limit implies something the CAPM post develops: the market pays no premium for bearing idiosyncratic risk, because any investor could have diversified it away for free. Only systematic risk earns a premium. Two stocks with the same systematic exposure but different amounts of idiosyncratic risk should earn the same expected return, since the extra risk can be diversified away and goes unpriced.

What’s Next

We can now say how correlation drives portfolio risk and why diversification works. If several combinations deliver the same expected return at different levels of risk, we still need a rule for choosing the best one. The next post prices the cost of volatility itself, then builds the Capital Allocation Line and the efficient frontier on top of that price. Both single out the portfolio with the highest Sharpe ratio.