Sub topic 5
Mean-variance optimization and why its output needs judgment
This chapter assumes you know expected return, variance, covariance and correlation, and the basic mean-variance framework and CAPM. It also assumes you have read the chapters on the investment policy statement and on capital market expectations. Here you will see how an optimizer turns expectations into weights, why those weights are fragile, and what Level III expects you to do about it.
What mean-variance optimization does
Mean-variance optimization (MVO) is a procedure that searches for the asset weights with the highest expected return at each level of portfolio variance. It needs three inputs for every asset class:
- Expected returns.
- Standard deviations.
- Pairwise correlations, which together with the standard deviations give the covariance matrix.
It also needs constraints. The simplest are that weights sum to 100% and, usually, that no weight is negative.
The output is the efficient frontier, the set of portfolios that offer the highest expected return for each level of risk. The optimizer does not choose a portfolio from the frontier. You do that by matching the frontier to the client's risk objective and constraints from the IPS. The frontier is also only as good as the capital market expectations (CME) behind it.
A worked example: the two-asset minimum-variance portfolio
The simplest optimization has a closed form. For two assets with standard deviations s1 and s2 and correlation rho, the weight on asset 1 that minimizes portfolio variance is:
w1 = (s2² − rho·s1·s2) / (s1² + s2² − 2·rho·s1·s2)
def min_variance_weight(s1, s2, rho):
"""Weight on asset 1 that minimizes the variance of a two-asset portfolio."""
cov = rho * s1 * s2
return (s2 ** 2 - cov) / (s1 ** 2 + s2 ** 2 - 2 * cov)
w_equity = min_variance_weight(0.18, 0.06, 0.2)
w_bond = 1 - w_equity
print(round(w_equity, 4), round(w_bond, 4))The output is 0.0455 0.9545. Equity has a standard deviation of 18% and bonds have 6%, with a correlation of 0.2. The minimum-variance mix holds only about 4.5% equity. This portfolio ignores expected return entirely, so it is a risk-only answer. It still shows how volatility and correlation drive an optimizer's output.
Now vary the correlation:
def min_variance_weight(s1, s2, rho):
cov = rho * s1 * s2
return (s2 ** 2 - cov) / (s1 ** 2 + s2 ** 2 - 2 * cov)
for rho in (0.0, 0.2, 0.5):
print(rho, round(min_variance_weight(0.18, 0.06, rho), 4))This prints 0.0 0.1, 0.2 0.0455 and 0.5 -0.0714. A modest change in one input moves the equity weight from 10% to a short position. The numerator turns negative whenever rho exceeds s2/s1, which is 0.333 here. The optimizer then wants to short the volatile asset to hedge the low-volatility one. A long-only constraint would force the weight to zero instead.
Why the output needs judgment
An optimizer is a precise calculation applied to imprecise inputs. The main problems are below.
Error maximization
The optimizer treats the inputs as known. It therefore overweights assets whose expected returns are overestimated, whose risks are underestimated, or whose correlations are underestimated. Estimation errors are not random noise to the optimizer. It acts on them. For this reason, MVO is often described as an error maximizer.
Sensitivity and corner solutions
Small changes in expected returns can swing the weights sharply. This is worst when assets are close substitutes. If two highly correlated asset classes differ by 0.5% in expected return, the optimizer may put nearly everything in one of them. Unconstrained solutions often include large shorts. Constrained solutions often sit at corners, with many assets at 0% and a few holding most of the portfolio.
Concentration and instability
Concentrated portfolios conflict with the goal of diversification. Weights that change substantially each time the CME are updated also generate turnover and transaction costs. They are hard to explain to a client or an investment committee.
Single-period and distribution assumptions
Standard MVO is a single-period model, so it ignores multi-period effects such as rebalancing, taxes and changing liabilities. It also uses variance as the only risk measure. Variance treats upside and downside deviations alike and ignores skewness and fat tails. This matters most for alternatives, whose smoothed and illiquid returns understate risk, which the alternatives chapter covers.
Inputs that shift in stress
Correlations estimated from calm periods tend to rise in crises, exactly when diversification is needed. An allocation optimized on calm-period correlations can look better than it is.
Responses to the limitations
Level III expects you to know the standard remedies and what each one costs.
| Limitation | Common response | What it does | Trade-off |
|---|---|---|---|
| Extreme or concentrated weights | Add constraints, such as bounds per asset class | Forces diversification | Constraints drive the result, so the optimizer is less informative |
| Sensitivity to expected returns | Resampled efficient frontier | Runs the optimizer many times on simulated inputs and averages the weights | More diversified and stable, but harder to explain and not tied to a specific view |
| Noisy return forecasts | Black-Litterman model | Starts from market-implied (equilibrium) returns and adjusts them toward the manager's views in proportion to confidence | Needs a view-confidence assumption, but gives intuitive, stable weights |
| Unreliable return inputs | Reverse optimization | Backs out the returns that would make the market portfolio optimal | Reflects consensus, not your own views |
| Noisy covariance estimates | Shrinkage, or factor-based covariance models | Pulls the estimate toward a structured target | Introduces bias in exchange for lower variance |
| Single-period, variance-only view | Monte Carlo simulation, downside risk measures | Tests the allocation over multiple periods and non-normal outcomes | More complex, with more assumptions to defend |
| Ignored liabilities or goals | Liability-relative or goals-based approaches | Changes the objective itself | Covered in the next chapter |
Black-Litterman in brief
Black-Litterman works in three steps:
- Take the equilibrium returns implied by market-cap weights. This is reverse optimization.
- Express your views, such as "equities will outperform bonds by 2%", with a confidence level for each.
- Blend the two. Assets without a view stay near equilibrium, and assets with a view tilt in proportion to your confidence.
The result is an anchored set of expected returns, so the final weights are close to the market portfolio unless you have a view that justifies a departure.
Resampling in brief
Resampling draws many sets of inputs from distributions centered on your estimates. It computes an efficient frontier for each draw and averages the portfolio weights at each risk rank. The averaged frontier is smoother and more diversified. The main criticisms are that it is a black box and that it cannot add information that was not in the original estimates.
Connecting MVO to the rest of the process
MVO is one input to the strategic asset allocation, not the decision itself. The IPS supplies the risk objective and the constraints, such as liquidity needs or legal limits, that bound the frontier. The CME supply the numbers. The investor's ability and willingness to take risk then select a point on the frontier, and the investment committee reviews the weights for plausibility. If the client has liabilities or specific goals, a pure asset-only frontier is the wrong tool, as the next chapter explains.
Common errors
- Treating the optimizer's weights as the allocation rather than as a starting point for review.
- Optimizing without constraints and then being surprised by large shorts or 0% weights.
- Using historical returns as expected returns, which bakes past luck into the forecast.
- Mixing time horizons or currencies across the inputs.
- Relying on correlations from a calm sample for a portfolio meant to survive a crisis.
Exercise
A two-asset optimization has stock standard deviation 20%, bond standard deviation 5%, and correlation 0.30. A colleague updates the correlation estimate to 0.40 and the minimum-variance stock weight changes sign. (a) At what correlation does the minimum-variance weight on stocks become negative? (b) Name two methods that reduce the sensitivity of the optimizer's output to its inputs.
Show answer
(a) The numerator s2² − rho·s1·s2 turns negative when rho > s2/s1 = 5%/20% = 0.25, so the stock weight is already negative at 0.30 and stays negative at 0.40. (b) Any two of: weight constraints, resampled efficient frontier, Black-Litterman, shrinkage of the covariance matrix.
Exercise
Why is MVO described as an "error maximizer", and how does Black-Litterman address this?
Show answer
The optimizer treats inputs as certain, so it puts the largest weights on assets whose expected returns are overestimated or whose risks are underestimated, and so it amplifies estimation error. Black-Litterman starts from equilibrium (market-implied) returns and tilts away from them only in proportion to the investor's confidence in each view, which produces more stable, diversified weights.