-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add ChiSquared moment #5154
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 ChiSquared moment #5154
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for opening a PR. I left a small suggestion. Looks great by the way!
Agree. Implemented the suggestion :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Waiting to see if the tests pass
Codecov Report
@@ Coverage Diff @@
## main #5154 +/- ##
==========================================
- Coverage 77.99% 77.92% -0.07%
==========================================
Files 88 88
Lines 14094 14099 +5
==========================================
- Hits 10992 10987 -5
- Misses 3102 3112 +10
|
Not sure why |
Can you replicate the failure locally? |
Probably it was a fluke, because find_MAP is still starting from prior draws instead of moments, so that test is not even deterministic. The changes to the Chisquared from this PR look completely unrelated. I'll merge this already. |
Thanks for your help @patel-zeel! |
Thank, you @ricardoV94 for the clarification and for accepting the PR :) |
Add moments and tests for the below distributions as part of #5078