Statalist


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

Re: st: Re: rnormal()


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Re: rnormal()
Date   Fri, 17 Apr 2009 14:01:52 +0000 (GMT)

--- On Fri, 17/4/09, [email protected] wrote:
> what is the equivalent of rnormal() in :
> generate u = rnormal()
> for Stata version 9 ?

gen u = invnorm(uniform())

Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index