Darwin Help

Back to Index

Poisson_Rand

Function Poisson_Rand - Generate random Poisson-distributed integers

Calling Sequence  Rand(Poisson(m))
Return Type  integer
Synopsis This function returns a random Poisson-distributed integer with average m and variance m. The Poisson distribution is the limiting case of the binomial distribution when n -> infinity and n*p=m remains bounded. In mathematical terms, the probability that the outcome is i is exp(-m) * m^i / i! (for 0 <= i). Poisson_Rand uses Rand() which can be seeded by either the function SetRand or SetRandSeed.
References Handbook of Mathematical functions, Abramowitz and Stegun, 26.1.22
Examples
> Rand(Poisson(20));
20
> Rand(Poisson(1000));
1019
See also Beta_Rand,   Binomial_Rand,   ChiSquare_Rand,   CreateRandSeq,   Cumulative,   Exponential_Rand,   FDist_Rand,   GammaDist_Rand,   Geometric_Rand,   Graph_Rand,   Multinomial_Rand,   Normal_Rand,   SetRand,   SetRandSeed,   Shuffle,   StatTest,   Std_Score,   Student_Rand,   Zscore