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

AW: st: Stata Inbuilt commands

From   "Martin Weiss" <>
To   <>
Subject   AW: st: Stata Inbuilt commands
Date   Wed, 7 Oct 2009 16:43:11 +0200


[D], p.223, discusses the -runiform()- random number generator. I understand from Cameron and Trivedi (2005),, Appendix B, that you can create random numbers for many distributions based on uniform numbers, so "vmz" may want to take a look at these sources...


-----Ursprüngliche Nachricht-----
Von: [] Im Auftrag von Maarten buis
Gesendet: Mittwoch, 7. Oktober 2009 16:38
Betreff: Re: st: Stata Inbuilt commands

--- On Wed, 7/10/09, wrote:
> how would you get the implicid Stata commands ,such as :
> drop _all
> set obs 100
> gen a = invnorm(uniform())

As Martin already said, there is no way in which you can
see what in-built commands do. Based on your previous 
questions I suppose that you are primarily interested in
what the -invnormal()- function does. It returns the 
inverse cumulative standard normal distribution. As you
know there is no closed form solution to that integral, 
so my guess is that it either looks up values from an
internally stored table, or it uses some approximation

-- Maarten

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

Send instant messages to your online friends 

*   For searches and help try:

*   For searches and help try:

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