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

From |
"vmz@vol.net.mt" <vmz@vol.net.mt> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: AW: st: Stata Inbuilt commands |

Date |
Wed, 07 Oct 2009 20:17:36 +0100 |

Thank you very much,Martin and Mateen foryour help.I will take a look at the sources that you have referred me to.However,some couple of years ago,there was the same query and someone suggested some ado file that reveals the code that is implied by functions such as invnorm(uniform()).I know I had saved that suggestion,but since then the computer that I was using had broken down and got lost. Thank you before hand for any suggestions, Victor M. Zammit On 7/10/2009, "Martin Weiss" <martin.weiss1@gmx.de> wrote: > ><> > > >[D], p.223, discusses the -runiform()- random number generator. I understand from Cameron and Trivedi (2005), http://www.stata.com/bookstore/mma.html, 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... > > > >HTH >Martin > > >-----UrsprÃ¼ngliche Nachricht----- >Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Maarten buis >Gesendet: Mittwoch, 7. Oktober 2009 16:38 >An: statalist@hsphsun2.harvard.edu >Betreff: Re: st: Stata Inbuilt commands > >--- On Wed, 7/10/09, vmz@vol.net.mt 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 >formula. > >-- Maarten > >-------------------------- >Maarten L. Buis >Institut fuer Soziologie >Universitaet Tuebingen >Wilhelmstrasse 36 >72074 Tuebingen >Germany > >http://www.maartenbuis.nl >-------------------------- > >Send instant messages to your online friends http://uk.messenger.yahoo.com > >* >* 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/ > > >* >* 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/ > > * * 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/

**Follow-Ups**:**RE: AW: st: Stata Inbuilt commands***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**References**:**AW: st: Stata Inbuilt commands***From:*"Martin Weiss" <martin.weiss1@gmx.de>

- Prev by Date:
**Re: st: Re: Error in stata manual on xtdpd?** - Next by Date:
**RE: st: difference between "Spearman" and "pwcorr / correlate"** - Previous by thread:
**Re: AW: st: Stata Inbuilt commands** - Next by thread:
**RE: AW: st: Stata Inbuilt commands** - Index(es):

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