Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Poisson Distribution (for a newbie)

Reply
Thread Tools

Poisson Distribution (for a newbie)

 
 
diffuser78@gmail.com
Guest
Posts: n/a
 
      02-15-2006
I am simulating an event where users come into the pool randomly
starting at time T=0, i.e. For Example, 2 users came at T= 0 into the
the pool, 3 users came at T= 1 into the the pool, 5 users came at T=2
,..........,54 users came at T=45 etc. As cumulative number of users
goes above 1024, we stop the process.

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.

Could somebody put some light on this issue.

PS:: This is not exactly a programming issue but since I was using it
in one of the Python programs, I thought somebody might have used
similar thing in past and could help. Thanks.

 
Reply With Quote
 
 
 
 
Duncan Smith
Guest
Posts: n/a
 
      02-16-2006
wrote:
> I am simulating an event where users come into the pool randomly
> starting at time T=0, i.e. For Example, 2 users came at T= 0 into the
> the pool, 3 users came at T= 1 into the the pool, 5 users came at T=2
> ,..........,54 users came at T=45 etc. As cumulative number of users
> goes above 1024, we stop the process.
>
> 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.
>
> Could somebody put some light on this issue.
>
> PS:: This is not exactly a programming issue but since I was using it
> in one of the Python programs, I thought somebody might have used
> similar thing in past and could help. Thanks.
>


The Poisson has one parameter, its mean. See e.g.
http://www.itl.nist.gov/div898/handb...n3/eda366j.htm

Duncan
 
Reply With Quote
 
 
 
 
Jeremy Sanders
Guest
Posts: n/a
 
      02-16-2006
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/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Supply Krone Main Distribution Frames,1380 Pair Main Distribution Frames,690 Main Dis sonata06usa VOIP 5 10-25-2011 10:36 PM
How can I get a number meet the Poisson Distribution cr4kb0y C Programming 4 11-13-2007 05:23 PM
High Density Digital Distribution Frame,Double Side Digital Distribution Frame,High D sonata06usa VOIP 2 05-11-2007 02:47 PM
[ANN] Poisson 0.1 Jon Leighton Ruby 0 11-25-2006 05:07 PM
Poisson distribution for a newbie diffuser78@gmail.com C Programming 6 02-20-2006 07:31 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57