Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: zeros in the Gamma distribution.

From   sun samn <>
To   <>
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!


Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index