-
Notifications
You must be signed in to change notification settings - Fork 129
Implement Rayleigh RV as a scaled Chi2 #223
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
Comments
Using a code along the above mentioned lines:
, the test:
fails with traceback:
A test more along the chi2 lines also fails like this:
with traceback:
|
The values need not match if the draws are taken differently. We should double check the math is correct, and then you can see if the mean/std of a bunch of draws are close enough. There are some draws we already test with the CDF as well. Assuming the math is correct, the only thing to be aware there with the scale on the outside is that we don't want the chi2 draws to broadcast. It should have one chi2 draw per output value. Similar to the problem we fixed recently in pymc-devs/pymc#7288 |
Description
Code:
from:
#220 (comment)
The text was updated successfully, but these errors were encountered: