Skip to content
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

DOC: BetaBinomial variance is not correctly described #6495

Closed
aleicazatti opened this issue Feb 1, 2023 · 1 comment · Fixed by #6516
Closed

DOC: BetaBinomial variance is not correctly described #6495

aleicazatti opened this issue Feb 1, 2023 · 1 comment · Fixed by #6516

Comments

@aleicazatti
Copy link
Contributor

Issue with current documentation:

In pymc.BetaBinomial docstring the variance is described as follows:

Variance :math:n \dfrac{\alpha \beta}{(\alpha+\beta)^2 (\alpha+\beta+1)}

But, as indicated in the Wikipedia page for the beta-binomial distribution, it should be:

Variance :math:\dfrac{n \alpha \beta (\alpha+\beta+n)}{(\alpha+\beta)^2 (\alpha+\beta+1)}

Idea or request for content:

No response

@aloctavodia
Copy link
Member

Thanks for reporting this issue. Do you want to do a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants