Portfolio Optimization Tool

Covariance Sensitivity Tool

See how one covariance estimate changes everything.

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.

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.

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

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.