<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.nl/matlabcentral/newsreader/view_thread/248171</link>
    <title>MATLAB Central Newsreader - Question on Poisson distrbution</title>
    <description>Feed for thread: Question on Poisson distrbution</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2013 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.nl/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Thu, 02 Apr 2009 15:25:04 +0000</pubDate>
      <title>Question on Poisson distrbution</title>
      <link>http://www.mathworks.nl/matlabcentral/newsreader/view_thread/248171#639744</link>
      <author>Ag </author>
      <description>Dear people,&lt;br&gt;
&lt;br&gt;
I am working with random variables and I want to generate random values with a Poisson distribution whose ranges are between 0.8 and 1 and with a mean distribution of 5.&lt;br&gt;
&lt;br&gt;
I have tried the following line (10 values vector) but I am not sure if I it is the right line....&lt;br&gt;
&lt;br&gt;
a=0.8 + (1-0.8) * poissrnd(5,1,10)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Can somebody tell me if I am commiting a mistake?&lt;br&gt;
&lt;br&gt;
Thanks a lot for the help!!!&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Ag</description>
    </item>
    <item>
      <pubDate>Thu, 02 Apr 2009 15:57:01 +0000</pubDate>
      <title>Re: Question on Poisson distrbution</title>
      <link>http://www.mathworks.nl/matlabcentral/newsreader/view_thread/248171#639756</link>
      <author>Roger Stafford</author>
      <description>"Ag" &amp;lt;ag@gmail.com&amp;gt; wrote in message &amp;lt;gr2lcg$kg7$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; .....&lt;br&gt;
&amp;gt; I am working with random variables and I want to generate random values with a Poisson distribution whose ranges are between 0.8 and 1 and with a mean distribution of 5.&lt;br&gt;
&amp;gt; ......&lt;br&gt;
&amp;gt; a=0.8 + (1-0.8) * poissrnd(5,1,10)&lt;br&gt;
&amp;gt; ......&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;I believe you are confusing the notions of matlab's 'rand' function with those of 'poissrnd'.  The output of 'rand' is essentially a continuous, uniform distribution on the interval [0,1], and when you write&lt;br&gt;
&lt;br&gt;
&amp;nbsp;x = a + (b-a)*rand&lt;br&gt;
&lt;br&gt;
you get a uniform distribution over the interval [a,b].&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;No such result can be obtained from 'poissrnd' using such a computation.  In the first place the poisson distribution is discrete with integer values, and in the second place it is unbounded.  Like normal distributions, there is no limit to its possible size.  The 'a' in your computation could very easily extend far beyond the interval [.8,1].&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;You need to rethink what it is you wish to achieve.&lt;br&gt;
&lt;br&gt;
Roger Stafford</description>
    </item>
  </channel>
</rss>
