Recall that given a number λ>0, the corresponding Poisson distribution P(λ) satisfies
Prob(X ≤ k) = exp(−λ)λk/k! |
It will have mean λ and standard deviation √λ. (See also Section 9.4.6.)
The randpoisson command finds a random integer according to a Poisson distribution.
Example.
Input:
Output (for example):
16 |