Skip to content

Commit ec30a2f

Browse files
BetaBinomial variance is not correctly described (#6516)
1 parent 2978b40 commit ec30a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/distributions/discrete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def BetaBinom(a, b, n, x):
220220
======== =================================================================
221221
Support :math:`x \in \{0, 1, \ldots, n\}`
222222
Mean :math:`n \dfrac{\alpha}{\alpha + \beta}`
223-
Variance :math:`n \dfrac{\alpha \beta}{(\alpha+\beta)^2 (\alpha+\beta+1)}`
223+
Variance :math:`\dfrac{n \alpha \beta (\alpha+\beta+n)}{(\alpha+\beta)^2 (\alpha+\beta+1)}`
224224
======== =================================================================
225225
226226
Parameters

0 commit comments

Comments
 (0)