bundles / scipy latest / docs
Doc
Beta-Binomial Distribution
docs/tutorial:stats:discrete_betabinom
The beta-binomial distribution is a binomial distribution with a probability of success p that follows a beta distribution. The probability mass function for betabinom, defined for , is:
for k in {0, 1,..., n}, where is the Beta function.
In the limiting case of , the beta-binomial distribution reduces to a discrete uniform distribution:
In the limiting case of , the beta-binomial distribution reduces to a Bernoulli distribution with the shape parameter :
Implementation: scipy.stats.betabinom