Statalist


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

st: Controlling output in Results window and/or in log file


From   "Carole J. Wilson" <carolejwilson@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Controlling output in Results window and/or in log file
Date   Fri, 12 Oct 2007 10:21:37 -0500

----

Hugh might also be interested in Michael Blasnik's -estsave-.  This
would allow him to save the regression results with the data and
replay them at anytime.

--Carole


_________________________________
       Carole J. Wilson
 University of Texas at Dallas
 School of Economic, Political,
      and Policy Sciences
      Phone: 972.883.4957
       Fax: 972.883.6571
     cjwilson@utdallas.edu
http://www.utdallas.edu/~cjwilson
__________________________________


On 10/12/07, Svend Juul <SJ@soci.au.dk> wrote:
>
> Hugh wrote:
>
> My do file has a lot of code and I only want to see some regression
> results which are somewhere in the middle. It is quite tedious to go
> through the log file to get to what I want. The added complication is
> that the do file code refers to several STATA (and other) files from
> time to time; otherwise I could just re-run the regression at the end
> of the code.
>
> Is there any way I could just see the particular regression code and
> results in the Results window and/or log file?
>
>
> ----------------------------------------------------------------------
>
> Rich pointed to -quietly-. Note that you can:
>
>      code that you want to see
>   quietly {
>      code that you don't want to see
>      code that you don't want to see
>      code that you don't want to see
>      code that you don't want to see
>      code that you don't want to see
>   }
>      code and output that you want to see
>
> Another possibility is to turn the log off and on; it affects the
> log file, but not what is shown in the Results window:
>
>   log using ....
>      code that you want to see
>   log off
>      code that you don't want to see
>      code that you don't want to see
>      code that you don't want to see
>      code that you don't want to see
>      code that you don't want to see
>   log on
>      code and output that you want to see
>
>  Svend
>
> __________________________________________
>
> Svend Juul
> Institut for Folkesundhed, Afdeling for Epidemiologi
> (Institute of Public Health, Department of Epidemiology)
> Vennelyst Boulevard 6
> DK-8000  Aarhus C, Denmark
> Phone: +45 8942 6090
> Home:  +45 8693 7796
> Email: sj@soci.au.dk
> __________________________________________
>
> *
> *   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/
>
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index