This will still display the calls to -reg price mpg-, etc., as well as
the output that -regress- displays. If I understand correctly, the
original poster wanted to suppress display of calls to commands
without suppressing the output from the commands.
Michael Manti
On Nov 18, 2009, at 11:15, Kit Baum <[email protected]> wrote:
<.
But why should anyone care about the results window, as it is
ephemeral? Put the output in a logfile, and you can turn logging on
and off, which will result in only the stuff you want going to the
logfile. The rest will also be displayed in the results window.
sysuse auto, clear
log using someoutput, replace
desc
qui log off
list price mpg
qui log on
reg price mpg
reg price i.rep78
qui log off
g lprice = log(price)
l price lprice
qui log on
reg lprice mpg i.rep78
log close
Kit Baum | Boston College Economics & DIW Berlin | http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming
| http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html
*
* 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/