Navigation :
poisson
poisson, function
def pure poisson(lambda: number): ranvar
Returns the Poisson distribution of mean lambda.
lambda: the mean of the distribution (non-negative).
Example
p = poisson(3)
show summary "Poisson(3)" with
mean(p) as "Mean"
variance(p) as "Variance"
This outputs the following summary:
| Mean |
Variance |
| 2.999834 |
2.998343 |
Errors
Fails if lambda is greater than 1000000 (one million).
See also