Repository navigation
Conversation
|
Thanks for working on this. I tested a related sparse-data case against this PR's head ( Would you be interested in extending this PR to require at least two jointly nonmissing returns for every asset pair, including the diagonal? I have a small incremental patch that preserves the existing covariance formula and still accepts valid constant-return samples. This is a stricter missing-data policy, so I would appreciate your view before proceeding. The 17 targeted cases give 6 failures / 11 passes on the unmodified head and all pass with the patch; combined with the existing risk-model tests, 59 pass. The full local run is not entirely green: 313 passed, 32 skipped, and 5 HRP failures involving SciPy's removed |
Summary
ValueErrorinexp_covandCovarianceShrinkagewhen fewer than two non-empty return observations are available.Related issue
Fixes #773.
Testing
AI disclosure
Partially AI-generated; reviewed and tested before submission.