Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: exponential distribution


From   Jon Schwabish <jschwabi@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: exponential distribution
Date   Tue, 19 Feb 2008 18:02:44 -0800 (PST)

Does anyone know how to create an exponential
distribution with a mean of 1 to use as random
numbers? I believe it's a tweak on exp=-ln(uniform()),
but am not sure.

Thanks,
jon



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index