{ } Raw JSON

bundles / scipy 1.18.0 / scipy / stats / _discrete_distns / betabinom_gen

class

scipy.stats._discrete_distns:betabinom_gen

source: /scipy/stats/_discrete_distns.py:193

Signature

class betabinom_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-binomial discrete random variable.

Extended Summary

%(before_notes)s

Notes

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

for , , , , where is the beta function.

betabinom takes , , and as shape parameters.

%(after_notes)s

See also

beta
binom

Aliases

  • scipy.stats._discrete_distns.betabinom_gen