Check that λ is strictly positive.
mctad.poisson(10).generate(100)
will generate an Array of 100
random variables, having a Poisson Distribution with an arrival rate of 10 per time unit.
Iterate over the domain, calculating the probability mass and cumulative distribution functions.
Mix in the convenience methods for p(x) and F(x).
Poisson Distribution
The Poisson Distribution is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time and/or space if these events occur with a known average rate and independently of the time since the last event.
The Poisson Distribution is characterized by the strictly positive mean arrival or occurrence rate,
λ
.Assumptions
λ
is a positive Real number.Use
mctad.poisson(λ)
Inline Comments