-
-
Notifications
You must be signed in to change notification settings - Fork 985
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
Possible bug in gate_logits of ZeroInflatedDistribution #3301
Labels
Comments
@reemagit is there a typo? x1 and x2 appear to be identical? |
@fritzo I apologize, I corrected a couple of typos, thanks. |
I currently don't have the development version installed, so I can't check, sorry. However, looking at the fix I think that that was the problem, since I've had similar issues with |
Closed via #3303 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
=== UPDATE ===
corrected typos in code
=== UPDATE ===
When I use the
gate_logits
parameter of ZeroInflatedPoisson I get unexpected behavior in the number of zeros sampled by the distribution. This doesn't happen if I use thegate
parameter.I would expect that both
x1
andx2
are close to 0.3 (the inflation probability). Am I missing something or is this a bug?The text was updated successfully, but these errors were encountered: