try
gen newvar=invnorm(uniform())
se also -help drawnorm-
best
On Mon, 16 Sep 2002, Hayes, Peter wrote:
> Hi
> I am a new STATA user and wonder if someone could point me in the right
> direction. I wish to carry out a series of 10, 100, 1000, and 10,000
> simulations (to estimate CI and coverage probability) with various sample
> sizes with a known population mean and standard deviation (normally
> distributed). I have managed this OK for the Poisson, binomial
> distributions but could not find a suitable ado file by using net search
> etc.
> Thanks
>
> PeterH
>
............................................
: Lars Korsholm Ph.D., :
: Department of Statistics and Demography :
: University of Southern Denmark :
: Sdr. Boulevard 23A, 1. :
: DK-5000 Odense C :
: Phone +45 6550 3608 :
: Fax +45 6595 7766 :
: Mail [email protected] :
: Web http://www.isd.sdu.dk/~korsholm :
:..........................................:
*
* 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/