Im looking for the equivalent of the VGAM::pbetabinom() R package in Python3, I tried using the scipy betabinomial distribution package however it did not give the same results. For example, in R if I run this command:
VGAM::pbetabinom(q = 884.0, size = 2425, prob = 0.374491636284026, rho = 9.192015e-05)
I get the following probability result:
0.1849791
But when I use the scipy package
from scipy.stats import betabinom
betabinom.cdf(884.0, 2425, 0.374491636284026, 9.192015e-05)
then i get the following result:
0.00018973589125312118
does anyone have any idea if I can find a package in Python that would yeild concordant results? Thanks a lot for your time.