public class CovarianceComparisonDemo extends Object
Using this example. Compares covariance calculations for the data assembled in main. Keep the observations-by- assets orientation consistent across estimators; covariance estimates are inputs to portfolio optimization, not strategy performance measures.
Model and publication. Related theory and the scope of this example are distinguished below.
Implementation in this tutorial. This example compares estimators; it does not define a stand-alone trading model. Covariance summarizes joint variability of returns, so data frequency, demeaning, sample size and asset ordering affect the optimizer input. Inspect each estimator invoked before interpreting a numerical difference.
| Constructor and Description |
|---|
CovarianceComparisonDemo(long seeds) |
Copyright © 2026. All rights reserved.