{ } Raw JSON

bundles / scipy latest / scipy / stats / _discrete_distns / binom_gen

class

scipy.stats._discrete_distns:binom_gen

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

Signature

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

Extended Summary

%(before_notes)s

Notes

The probability mass function for binom is:

for ,

binom takes and as shape parameters, where is the probability of a single success and is the probability of a single failure.

This distribution uses routines from the Boost Math C++ library for the computation of the pmf, cdf, sf, ppf and isf methods. [1]

%(after_notes)s

See also

hypergeom
nbinom
nhypergeom

Aliases

  • scipy.stats._discrete_distns.binom_gen