<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Poisson distribution(s) in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13521#M219</link>
    <description>I think you are mis-interpreting the use of a Poisson distribution, but I'm no expert and I haven't done any time-domain analysis in while.  So take what I say with a grain of salt.&lt;BR /&gt;
&lt;BR /&gt;
The SAS ranpoi function has two paramters ranpoi(seed, m) where seed is some arbitray seed value and m is the mean # of events.  With the Possion distribution, lambda is the mean # of events, so m=lambda for the SAS function. &lt;BR /&gt;
&lt;BR /&gt;
Notice that the results of using ranpoi is an integer, i.e. # of events.  This is a crucial distinction when interpreting the Poission distribtion.  It measures the # of events within a fix time period, not the time between events.  So I don't think the Possion distribution will not work for you.  Unless of course you reframe your question to the # of events/impulses per second or minute.&lt;BR /&gt;
&lt;BR /&gt;
Now for the rub, what you discribe is a Possion process but you should be using an exponential distribution for your analysis/simulation.  Not all Possion processes can be modeled with a Possion distribution.&lt;BR /&gt;
&lt;BR /&gt;
Check out either of these links on wikipedia&lt;BR /&gt;
&lt;A href="http://en.wikipedia.org/wiki/Exponential_distribution" target="_blank"&gt;http://en.wikipedia.org/wiki/Exponential_distribution&lt;/A&gt;&lt;BR /&gt;
The Erland distribution may work for you too.  The Erlang can approximate gamma and SAS has a rangam function. &lt;A href="http://en.wikipedia.org/wiki/Erlang_distribution" target="_blank"&gt;http://en.wikipedia.org/wiki/Erlang_distribution&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://en.wikipedia.org/wiki/Poisson_process" target="_blank"&gt;http://en.wikipedia.org/wiki/Poisson_process&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
I hope this will point you in the right directions.&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
-Darryl</description>
    <pubDate>Mon, 05 May 2008 17:18:38 GMT</pubDate>
    <dc:creator>darrylovia</dc:creator>
    <dc:date>2008-05-05T17:18:38Z</dc:date>
    <item>
      <title>Poisson distribution(s)</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13518#M216</link>
      <description>I just got confused.&lt;BR /&gt;
&lt;BR /&gt;
I thought a Poisson distribution was an exponential distribution that began at 0, rose sharply to a peak, and then had a very long tail .&lt;BR /&gt;
&lt;BR /&gt;
I wanted to see the numbers produced by the RANPOI function, so I did a simple bit of code in EG&lt;BR /&gt;
[pre]&lt;BR /&gt;
data poisson;&lt;BR /&gt;
  do i=1 to 10000;&lt;BR /&gt;
    metric = ranpoi(0,50);&lt;BR /&gt;
    output;&lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
and then simply plotted a bar chart of metric.&lt;BR /&gt;
What I got looks a lot more like a normal distribution than what I thought I would get.&lt;BR /&gt;
&lt;BR /&gt;
People, please set me straight on what is going on here, please.</description>
      <pubDate>Fri, 25 Apr 2008 15:57:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13518#M216</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-25T15:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson distribution(s)</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13519#M217</link>
      <description>Chuck&lt;BR /&gt;
The shape of the Poisson distribution changes with the value of the mean.  With a relatively small value for the mean like a 1, the distribution has an exponential shape that you mentioned.  But when the mean gets large it starts to approximate the binomial distribution.  I forgot the details, my stats classes were many years ago, so this example below should shed some light on the matter.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data poisson;  &lt;BR /&gt;
  do i=1 to 10000;&lt;BR /&gt;
    metric1 = ranpoi(0,1);&lt;BR /&gt;
    metric5 = ranpoi(0,5);&lt;BR /&gt;
    metric10 = ranpoi(0,10);&lt;BR /&gt;
    metric50 = ranpoi(0,50);&lt;BR /&gt;
   metric100=ranpoi(0,100);&lt;BR /&gt;
    output; &lt;BR /&gt;
  end;&lt;BR /&gt;
  run;&lt;BR /&gt;
 quit;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-Darryl</description>
      <pubDate>Mon, 28 Apr 2008 16:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13519#M217</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2008-04-28T16:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson distribution(s)</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13520#M218</link>
      <description>I did some refresher research.&lt;BR /&gt;
I see where I was making a mistake in my interpretation.&lt;BR /&gt;
&lt;BR /&gt;
Now what I find to be aggrevating with the SAS's implementation of Poisson, is that it has no provision for lambda.&lt;BR /&gt;
&lt;BR /&gt;
So, here is where I need help.&lt;BR /&gt;
&lt;BR /&gt;
I want to model some aspects of human behavior.  The variable is inter-arrival times.  Most intervals between events is about 10ish seconds (9 to 12).  Some intervals can be as long at 5 minutes (long right tail).  This is for a single even/impulse stream.  I want the intervals between impulses/events to be randomly generated per an appropriate distribution.  I then want to vary the number of concurrent impulse streams.&lt;BR /&gt;
&lt;BR /&gt;
How do I do this?&lt;BR /&gt;
Shouldn't I be able to use a Poisson distribution? Or am I mis-interpreting something?&lt;BR /&gt;
&lt;BR /&gt;
In the past, I just used real data and "replayed" it to do whatever analysis I needed to do.  This time, I don't have that ability/luxury, and I need to actually synthetically and arbitrarily create the impulse/event streams.</description>
      <pubDate>Mon, 05 May 2008 14:38:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13520#M218</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-05-05T14:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson distribution(s)</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13521#M219</link>
      <description>I think you are mis-interpreting the use of a Poisson distribution, but I'm no expert and I haven't done any time-domain analysis in while.  So take what I say with a grain of salt.&lt;BR /&gt;
&lt;BR /&gt;
The SAS ranpoi function has two paramters ranpoi(seed, m) where seed is some arbitray seed value and m is the mean # of events.  With the Possion distribution, lambda is the mean # of events, so m=lambda for the SAS function. &lt;BR /&gt;
&lt;BR /&gt;
Notice that the results of using ranpoi is an integer, i.e. # of events.  This is a crucial distinction when interpreting the Poission distribtion.  It measures the # of events within a fix time period, not the time between events.  So I don't think the Possion distribution will not work for you.  Unless of course you reframe your question to the # of events/impulses per second or minute.&lt;BR /&gt;
&lt;BR /&gt;
Now for the rub, what you discribe is a Possion process but you should be using an exponential distribution for your analysis/simulation.  Not all Possion processes can be modeled with a Possion distribution.&lt;BR /&gt;
&lt;BR /&gt;
Check out either of these links on wikipedia&lt;BR /&gt;
&lt;A href="http://en.wikipedia.org/wiki/Exponential_distribution" target="_blank"&gt;http://en.wikipedia.org/wiki/Exponential_distribution&lt;/A&gt;&lt;BR /&gt;
The Erland distribution may work for you too.  The Erlang can approximate gamma and SAS has a rangam function. &lt;A href="http://en.wikipedia.org/wiki/Erlang_distribution" target="_blank"&gt;http://en.wikipedia.org/wiki/Erlang_distribution&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://en.wikipedia.org/wiki/Poisson_process" target="_blank"&gt;http://en.wikipedia.org/wiki/Poisson_process&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
I hope this will point you in the right directions.&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
-Darryl</description>
      <pubDate>Mon, 05 May 2008 17:18:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13521#M219</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2008-05-05T17:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson distribution(s)</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13522#M220</link>
      <description>Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Yes, I guess I am confusing a Poisson process with a Poisson distribution.  Silly me too human sometimes, we have a propensity for making generalizations, don't ya know.&lt;BR /&gt;
&lt;BR /&gt;
On google right now.&lt;BR /&gt;
&lt;BR /&gt;
Ahhh ! bingo! Erlang, that's what I was wanting.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again.&lt;BR /&gt;
Wish I could remember everything I ever learned, but then, at nearly 50 and ... that would be too much anyway.</description>
      <pubDate>Mon, 05 May 2008 17:30:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/Poisson-distribution-s/m-p/13522#M220</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-05-05T17:30:29Z</dc:date>
    </item>
  </channel>
</rss>

