Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: zeros in the Gamma distribution.
From
sun samn <[email protected]>
To
<[email protected]>
Subject
st: zeros in the Gamma distribution.
Date
Thu, 8 Apr 2010 16:16:07 +0800
Hi, there,
As we all know, the random numbers from Gamma distributions should be positive; but when I use 'rgamma' to generate 100 numbers, it has 7 zeros, why is that? Is this reasonable? is there any way to get rid of these zeros?
You know ,I need to take log of these numbers, the zeros are really bothering me.
thanks in advance!
samn
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/