Statalist


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

st: Modify estimation results


From   "Hendri Adriaens" <[email protected]>
To   <[email protected]>
Subject   st: Modify estimation results
Date   Fri, 27 Jul 2007 09:22:54 +0200

Hello,

I would like to know if it is possible to modify estimation results when
storing them in memory. I do for instance:
sysuse auto
regress price mpg weight
estimates store temp
estout temp using c:\results.txt, cells("b se t p") replace

But I would like the results.txt to contain another line, with some
arbitrary text, for instance a comment. It exports something like:

        temp                    
        b       se      t       p
mpg     -49.51222       86.15604        -.5746808       .5673237
weight  1.746559        .6413538        2.723238        .0081298
_cons   1946.069        3597.05 .541018 .5901886

But I would be able to write

        temp                    
% This is a test model
        b       se      t       p
mpg     -49.51222       86.15604        -.5746808       .5673237
weight  1.746559        .6413538        2.723238        .0081298
_cons   1946.069        3597.05 .541018 .5901886

Would it be possible? And how?

Thank you, best regards,
-Hendri.

---------------------------------------- 
Hendri Adriaens 
Researcher CentERdata 
Tilburg University 
Room K638 
Postal address:   PO Box 90153, 5000 LE
Visiting address: Warandelaan 2, 5037 AB 
Tilburg, The Netherlands 
Tel.: +31-13-466 3263 / 8325
Fax.: +31-13-466 2764 
E-mail: [email protected]
WWW: http://www.centerdata.nl


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