Grocer Function
NAME
pois_rnd - Poisson random draws
CALLING SEQUENCE
[y]=pois_rnd(n,lambda)
PARAMETERS
Input
-
lambda = mean used for the draws
-
n = # of draws
Output
DESCRIPTION
Generates random draws from the Poisson distribution.
NOTES:
Uses naive inversion method.
mean = lambda, variance = lambda
EXAMPLE
x=pois_rnd(10,2)
AUTHOR
Eric Dubois 2002