Sub topic 5
Mean-Variance Optimization and Why Its Output Needs Judgment
Working model
Assume you already understand expected return, variance, covariance, correlation, basic portfolio theory, and the CAPM. Mean-variance optimization (MVO) is a method for choosing portfolio weights by balancing expected return against expected risk.
For a portfolio with weights \(w\), expected returns \(\mu\), and covariance matrix \(\Sigma\):
- Expected portfolio return is \(w^\mathsf{T}\mu\).
- Portfolio variance is \(w^\mathsf{T}\Sigma w\).
- Portfolio volatility is the square root of portfolio variance.
- The weights normally sum to 1.
An optimizer can minimize risk for a required return, maximize return for a risk limit, or maximize a utility function such as:
\[ U = E(Rp) - \frac{\lambda}{2}\sigmap^2 \]
Here, \(\lambda\) represents the investor's aversion to risk.
def min_variance_weight(s1, s2, rho):
"""Weight on asset 1 that minimizes variance in 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 function shows why covariance matters. Even if equities are more volatile than bonds, combining them can reduce total portfolio risk when their returns are imperfectly correlated. The optimizer does not assess whether the inputs are credible. It simply applies the mathematical objective to the estimates supplied.
From inputs to a strategic allocation
Capital market expectations provide estimates of returns, volatility, and correlations for asset classes. The optimizer then produces an efficient frontier, which shows the highest expected return available at each level of risk.
A typical workflow is:
- Define the investor's return requirement, risk tolerance, and constraints.
- Estimate expected returns, volatilities, and correlations.
- Choose an objective, such as minimum variance or maximum utility.
- Add constraints, such as minimum and maximum weights, no short selling, or required liquidity.
- Inspect the proposed allocation.
- Test how the allocation changes under different assumptions.
- Apply judgment before approving the strategic asset allocation.
Why the output needs judgment
MVO is highly sensitive to small changes in expected returns, especially when asset classes have similar forecasts. A small increase in one expected return can create a very large allocation change. This is called estimation error.
Other common limitations include:
- Historical correlations may not hold during a crisis.
- Volatility and correlation estimates may be unstable.
- The model often treats risk as variance, although investors may care more about losses, inflation, or funding shortfalls.
- Illiquid assets can appear attractive because their reported returns are smoothed.
- Constraints can hide the model's economic assumptions.
- The optimizer may produce extreme or concentrated weights.
A robust process uses ranges rather than one forecast. It compares the unconstrained result with practical limits and checks whether the allocation remains reasonable under adverse scenarios. Resampling, shrinkage, or reverse optimization can reduce dependence on noisy inputs, but none removes model risk.
Practical interpretation
If the optimizer recommends a large position in an asset class, ask which assumption drives the result. It may reflect a high expected return, low estimated volatility, or a low correlation with other assets. If that assumption is uncertain, cap the position, use a range, or reject the result.
Exercise
Why might an optimizer recommend an extreme allocation even when the asset classes are familiar and diversified?
Show answer
Small errors in expected returns, volatility, or correlation can produce large changes in the calculated optimum. Constraints, sensitivity tests, and professional judgment are needed before using the result.