Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: how do you see the content of an ado file?


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: RE: how do you see the content of an ado file?
Date   Fri, 20 Jul 2007 16:03:06 -0500

At 02:47 PM 7/20/2007, Mentzakis, Emmanouil wrote:
. which regress

And it will show you the location of the ado file. Go there and open it
with the text editor.

Manos
e.g.

viewsource regress.ado

How informative that is depends a lot on the command. Much of the work may be done by built-in functions that you can't see. And, even if you can see the code, it may be difficult to understand everything that is going on.

The command

set trace on

can also be helpful, although you may get overwhelmed with output.

Depending on your purposes, Stata's ML book and/or programs may be worth reading:

http://www.stata.com/bookstore/mle.html

The book is nice because it starts out with basic programs that are easy to understand, then adds in all the bells and whistles for options, error checking, etc.

If you are looking for formula's, Stata's manuals generally include those as well as related references.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam

*
* 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/




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