-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add covariance_estimator #530
Conversation
Return the covariance_estimator used to compute the variance-covariance matrix
Maybe we should just add a |
Does statsbase own CovarianceEstimator type? |
Yes: Line 158 in 24a80ca
|
A few people on slack suggested that the constructor pun would be more appropriate when some kind of computation is involved, which (as far as I can tell) isn't the intended use case here, right? This would just retrieve an existing |
I'm personally indifferent, so let me know. |
Hard to decide... Another question if we decide to add a function: maybe it should be |
Co-Authored-By: Milan Bouchet-Valat <nalimilan@club.fr>
Codecov Report
@@ Coverage Diff @@
## master #530 +/- ##
==========================================
- Coverage 90.5% 90.45% -0.05%
==========================================
Files 21 21
Lines 2095 2096 +1
==========================================
Hits 1896 1896
- Misses 199 200 +1
Continue to review full report at Codecov.
|
Or use covariance instead of vcov ;) |
Yeah, well, that would be breaking, so... An even more appealing solution would be to overload |
I don't think it's that important actually. Maybe we should close until we have a better story for |
You mean you don't really need that function? Then yes, maybe better close until we have a use case, that's always better to design good APIs. |
Exactly |
Return the
CovarianceEstimator
used to compute the variance-covariance matrix