bundles / scipy 1.17.1 / scipy / stats / _discrete_distns / poisson_binom_gen
class
scipy.stats._discrete_distns:poisson_binom_gen
Signature
class poisson_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 Poisson Binomial discrete random variable.
Extended Summary
%(before_notes)s
Notes
The probability mass function for poisson_binom is:
where , is the set of all subsets of integers that can be selected , and is the complement of a set .
poisson_binom accepts a single array argument p for shape parameters , where the last axis corresponds with the index and any others are for batch dimensions. Broadcasting behaves according to the usual rules except that the last axis of p is ignored. Instances of this class do not support serialization/unserialization.
%(after_notes)s
See also
Aliases
scipy.stats._discrete_distns._pb_cls