LearnFinance
← Quantitative Finance Lesson 6 of 6 · 15 min · +50 XP
Quantitative Finance · Lesson 06

Portfolio optimisation in practice: estimation error, shrinkage, and risk parity

Markowitz's optimiser is elegant and, fed with real-world estimates, often terrible. Why 'optimal' portfolios are so fragile, worked step by step with a calculator; constraints, shrinkage and Black-Litterman; forecast-free methods such as risk parity; what it means for individuals; and how DeMiguel, Garlappi and Uppal found in 2009 that none of 14 optimised models reliably beat simple equal weights.

Facts reviewed Oct 2026

In 1952, Harry Markowitz showed how to build the best portfolio. Given each asset’s expected return, volatility and correlations, choose the weights that give the most return for each level of risk. It won him a Nobel prize in 1990. It’s in every finance textbook, including Portfolio Management in this course.

Then practitioners plugged in real numbers, and got portfolios no sensible investor would hold. There was 80% in one asset, large short positions in another, and weights that swung wildly every time the inputs were nudged.

The maths wasn’t wrong. The inputs were, and the optimiser was brilliant at exploiting their mistakes.

The optimiser’s appetite for errors

Mean-variance optimisation needs three kinds of input, and they’re not equally reliable:

  • Volatilities and correlations: these can be estimated fairly accurately from data, especially daily returns.
  • Expected returns: almost impossible to estimate precisely. The standard error of an average return is the volatility, divided by the square root of the number of years.

Worked example. An asset has 18% volatility, and you have 20 years of data.

  1. Standard error: 18% ÷ √20 ≈ 4 percentage points a year.
  2. A rough 95% range: about ±2 standard errors, so ±8 points.
  3. So a measured average of 12% is consistent with a true return anywhere from about 4% to 20%. That swamps most differences between assets.

An optimiser treats every input as gospel. Any asset whose expected return happens to be overestimated, or whose risk is underestimated, gets a huge weight. Richard Michaud famously called mean-variance optimisers “estimation-error maximisers”.

See the fragility yourself

The calculator finds the maximum-Sharpe, or “tangency”, mix of equity and bonds: the portfolio Markowitz theory says to hold. Beside it are two portfolios that don’t need return forecasts at all.

How sensitive is the 'optimal' portfolio?
Max-Sharpe equity weight
41.43%
Risk-parity equity weight
25%
Minimum-variance equity weight
7.45%
Max-Sharpe equity weightRisk-parity equity weight

Weights above 100% imply borrowing; below 0% imply shorting. Keep the bond return above the risk-free rate, or the max-Sharpe formula breaks down.

Nudge the bond expected return from 7.5% to 8%, and the “optimal” equity weight falls from about 41% to about 30%. A half-point change, in a forecast nobody can make reliably, shifts a tenth of the portfolio.

With dozens of assets, it’s far worse. Weights swing between extremes as inputs change by amounts well inside their error bands.

Quick check

Equity has 20% volatility and bonds 5%. Using simple risk parity, weighting each inversely to its volatility, what share goes to equity?

Fix 1: constrain and shrink

  • Constraints: cap and floor each weight, for example no asset above 30%, and no shorting. Crude, but effective.
  • Shrinkage: pull noisy estimates towards something more stable. Ledoit-Wolf shrinkage blends the sample covariance matrix with a simple structured one. Expected returns can be shrunk towards a common average. Less extreme inputs mean less extreme portfolios.
  • Black-Litterman: start from the expected returns implied by market-value weights, what the market as a whole seems to believe. Then tilt only where you have a real, confident view. It gives sensible, diversified portfolios that move gradually as views change.

Fix 2: don’t forecast returns at all

Several approaches sidestep expected returns entirely:

  • Equal weights (1/N): a well-known 2009 study, below, found that clever optimised portfolios didn’t reliably beat simple equal weights out of sample.
  • Minimum variance: use only the covariance matrix to find the lowest-risk mix. It tends to favour low-volatility assets, and has held up well in practice.
  • Risk parity: weight assets so each contributes equally to portfolio risk, rather than equally in rupees. With two assets, that means weighting each inversely to its volatility. A usual 60/40 portfolio gets most of its risk from equity. Risk parity balances it.

To reach a useful return, risk-parity funds often borrow to hold more of the low-risk assets. That brings its own risks, as the rate rises of 2022 showed, when bonds and equities fell together.

What this means for an individual investor

You don’t need an optimiser to benefit from this lesson:

  1. Be humble about return forecasts. A strategic allocation based on your goals and risk tolerance, as in Portfolio Management, is sturdier than one tuned to someone’s forecast.
  2. Diversify across risk sources, not just across fund names.
  3. Rebalance back to targets. It’s a simple, forecast-free way to keep risk under control.
  4. Distrust precision. A model portfolio quoted as “37.4% equity” is giving you false confidence.

A real case: 1/N against the optimisers, 2009

  • 2009: Victor DeMiguel, Lorenzo Garlappi and Raman Uppal published “Optimal Versus Naive Diversification” in the Review of Financial Studies.
  • The test: 14 portfolio models, from classic mean-variance to advanced versions with shrinkage and constraints, across 7 sets of real data. Each was judged out of sample.
  • The benchmark: simple 1/N: put an equal share in each asset.
  • The finding: none of the 14 models was consistently better than 1/N, on Sharpe ratio, certainty-equivalent return or turnover.
  • Why: estimation error in the inputs cost more than the optimisation gained. For mean-variance to beat 1/N with 25 assets, they estimated you’d need about 3,000 months of data.

Worked example: how long is 3,000 months?

  1. In years: 3,000 ÷ 12 = 250 years of data.
  2. For 50 assets, their estimate doubled, to about 6,000 months: 500 years.
  3. India’s stock market data covers only a few decades in useful detail. No investor has that much history.

The lessons:

  • Simple rules can beat complex ones when inputs are noisy.
  • Out-of-sample tests reveal what in-sample fits hide.
  • The value of a model depends on the quality of its inputs.

Going further: why simple often wins. A complex model has many settings to estimate, and each adds error. A simple rule, like equal weights, has almost nothing to estimate, so it can’t be badly wrong in that way. This trade-off, between capturing reality and fitting noise, runs through all of quant finance. The lesson isn’t that optimisation is useless. It’s that a model is only worth its complexity when the data can support it. Constraints, shrinkage and forecast-free methods all work by reducing what has to be estimated.

Common mistakes

  • Trusting the optimiser’s output without checking its inputs.
  • Treating expected returns as precise.
  • Allowing extreme weights and short positions.
  • Leveraging risk parity without stress-testing rate rises.
  • Quoting allocations to a decimal place.
Practice 1: Set the equity expected return to 9%. What happens to the max-Sharpe equity weight, compared with risk parity?
  1. Max-Sharpe: the equity weight falls to about 21%.
  2. Risk parity: stays at 25%, because it ignores return forecasts entirely.
  3. The point: with a less optimistic view of equity, the two give similar answers. The optimiser only diverges sharply when you feed it confident forecasts, exactly when you should trust it least.
Practice 2: An asset has 15% volatility, and you have 36 years of returns. How uncertain is your estimate of its average yearly return?
  1. Standard error: 15% ÷ √36 = 15% ÷ 6 = 2.5 points.
  2. A rough 95% range: ±5 points.
  3. So even 36 years leaves the true average return quite uncertain.

Key takeaways

  • Mean-variance optimisation is theoretically elegant but extremely sensitive to its inputs.
  • Expected returns carry huge estimation error (roughly volatility ÷ √years), so optimisers become “error maximisers”.
  • Fixes include weight constraints, Ledoit-Wolf shrinkage, and Black-Litterman equilibrium-based inputs.
  • Forecast-free methods (1/N, minimum variance, risk parity) are often hard to beat out of sample.
  • For individuals: favour robust strategic allocations, diversification across risk sources, and rebalancing over precise optimisation.
  • In 2009, DeMiguel, Garlappi and Uppal found that none of 14 optimised models reliably beat 1/N.

Go deeper

Complete this lesson
Pass the quiz below (60% or more) to earn +50 XP and unlock the next lesson.
Quiz not passed yet
🧠

Quiz: Portfolio optimisation in practice

5 questions · pass 60% to complete