-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Revamp our negative binomial explanation #5300
Comments
From @junpenglao It's because pymc is explaining the parameterzation with NegBino being Gamma Poisson mixture https://en.wikipedia.org/wiki/Negative_binomial_distribution#Gamma%E2%80%93Poisson_mixture, and Stan is explaining NegBino being overdispersed Poisson (https://en.wikipedia.org/wiki/Negative_binomial_distribution#Poisson_distribution and https://en.wikipedia.org/wiki/Negative_binomial_distribution#Overdispersed_Poisson) |
@canyon289 can I work on this issue? |
Please do! Let us know how we can help |
@canyon289 can you please share the source code link? |
@canyon289 I am not able to understand that at which points Poisson is parameterized twice? |
The documentation somewhat confusingly describes
I've provided a directly link here. To be honest I don't know what the correct explanation is so I won't be able to provide much guidance there. |
This is great and much less confusing. Would you like to add some version of it the docs? Thank you for investigating! |
Thanks @herve-91 |
Description of your problem
Our explanation of negative binomial parametrisation is either confusing, or wrong, I don't know which.
More specifically the explanation of the mu parameter itself is confusing, I personally dont understand how poisson is being parameterized twice, both by gamma samples controlled by alpha, and mu
Stans documentation does a much better job explaining the effect of each parameter, perhaps we can incorporate some of their wording
https://mc-stan.org/docs/2_20/functions-reference/nbalt.html
The text was updated successfully, but these errors were encountered: