nbinom#
- class nbinom(n=1, p=0.5, **kwargs)[source]#
Bases:
Dist
Negative binomial distribution
- Parameters:
n (float) – the number of successes, > 1 (default 1.0)
p (float) – the probability of success in [0,1], (default 0.5)
Attributes
bitgen
state
Get the current state
state_int
Get the integer corresponding to the current state
Methods