Direct Answer

A covariance sensitivity tool shows how much a single covariance or correlation estimate changes the optimal portfolio weights produced by mean-variance optimization, even when the input error is small. Pick one covariance parameter, set a range for it, and the tool recomputes the minimum-variance portfolio weights across that range so the fragility becomes visible directly. This illustrates why optimizers are sensitive to small estimation errors, Michaud (1989) called this the "error maximizer" problem.

By Swoopr Editorial Team

Published · Updated

AI-assisted content · Swoopr Investment is responsible for the final published article.

Covariance Sensitivity Tool

Estimation error in the covariance matrix causes large, unpredictable swings in optimal portfolio weights, even when the estimation error is small. This tool demonstrates that fragility directly: choose any single covariance (or correlation) parameter, set its range of variation, and see how the optimal minimum-variance portfolio weights respond across that range. Michaud (1989) called the optimizer an "error maximizer" for exactly this reason.

Tool Inputs

Asset Parameters

Define 3-5 assets with expected returns and volatilities. The tool finds the minimum-variance portfolio as one covariance parameter varies.

Base Correlations

Set the baseline correlation for every pair. Then choose one to vary below.

Sensitivity Parameter

Choose which correlation to vary, and the range to sweep across.

Weight Sensitivity Chart

Each line shows how one asset's optimal weight in the minimum-variance portfolio changes as the selected correlation varies. Large slopes = high sensitivity = fragility to estimation error in that parameter.

Sensitivity Table

Results will appear here.

Sensitivity Statistics

Run the analysis to see statistics.

What This Shows

Frequently Asked Questions

What does the covariance sensitivity tool show?

It sweeps one correlation across the range you set, re-solves the optimal weights at each step and charts how far each asset's weight moves. A steep line means the allocation depends heavily on an input that is itself estimated with error; a flat line means the optimizer would give a similar answer whichever value the correlation really takes.

How large is the estimation error in a correlation?

For a rolling estimate built from T observations the standard error is roughly one over the square root of T, so a correlation estimated from about 300 data points carries a standard error near 0.06. A sweep from 0.2 to 0.5 therefore spans about five standard errors in total, or roughly plus or minus two and a half around its midpoint, which is the uncertainty that is always present in practice rather than an extreme case.

How do you make an optimized portfolio less sensitive to its inputs?

Weight constraints cap how far any weight can move, shrinkage pulls the covariance matrix toward a target with less extreme inverse eigenvalues, and resampling averages the solutions across many perturbed inputs; each flattens the weight lines in the chart. Minimum-variance portfolios are usually steadier than maximum-Sharpe ones because they do not use expected return estimates, the dominant source of instability.

References

Educational Disclaimer

This tool is for educational purposes only. Results are illustrative of general properties of mean-variance optimization and covariance sensitivity, they do not represent any specific investment strategy or recommendation. The projected gradient optimizer used here may not find the global minimum for all input combinations. This tool does not constitute investment advice.

Swoopr Editorial Team produces independent investment education and research content.

Corrections: corrections policy. Standards: editorial standards.