Poisson Distribution (for a newbie)

Jeremy Sanders jeremy+complangpython at jeremysanders.net
Thu Feb 16 03:16:18 EST 2006


diffuser78 at gmail.com wrote:

> I want to mimic such kind of distribution using poison traffic ( a bell
> shaped curve). I looked into wikipedia and some other tutorials but I
> wasn't sure how many parameter does the above kind of distribution
> would require.

I've used numarray's poisson distribution generator, which was very useful.
There may well be something similar in NumPy/Numeric/SciPy.

e.g.

from numarray.random_array import poisson

for i in xrange(100):
 print poisson(10)

Where 10 is the mean.

Jeremy

-- 
Jeremy Sanders
http://www.jeremysanders.net/



More information about the Python-list mailing list