This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _discrete_distns / betanbinom_gen

class

scipy.stats._discrete_distns:betanbinom_gen

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_discrete_distns.py:401

Signature

class betanbinom_gen(a = 0, b = inf, name = None, badvalue = None, moment_tol = 1e-08, values = None, inc = 1, longname = None, shapes = None, seed = None)

Members

Summary

A beta-negative-binomial discrete random variable.

Extended Summary

%(before_notes)s

Notes

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 is:

for , , , , where is the beta function.

betanbinom takes , , and as shape parameters.

%(after_notes)s

See also

betabinom

Beta binomial distribution

Aliases

  • scipy.stats._discrete_distns.betanbinom_gen