Bookmark and Share

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: Drawing from a standard Cauchy


From   Dorothy Bridges <dbstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Drawing from a standard Cauchy
Date   Mon, 9 Jan 2012 18:35:08 -0800

Would I be correct in using the code "gen epsilon=invttail(1,
uniform())" to simulate sampling from a standard Cauchy?  Many thanks
in advance for your thoughts.
*
*   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/


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