[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 <>
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.


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:

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: Richard.A.Williams.5@ND.Edu

* For searches and help try:

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