{ } Raw JSON

bundles / scipy 1.17.1 / docs

Doc

Beta-Negative Binomial Distribution

docs/tutorial:stats:discrete_betanbinom

The beta-negative binomial distribution is a negative binomial distribution with a probability of success p that follows a beta distribution. The probability mass function for betanbinom, defined for , is:

for k in {0, 1,...}, where is the Beta function.

In the limiting case of , the beta-negative binomial distribution reduces to a beta-geometric distribution with the probability mass function:

Implementation: scipy.stats.betanbinom