At 04:44 PM 5/23/2003 +0100, you wrote:
On Fri, 23 May 2003 11:33:30 -0400 "Jesper B. Sorensen"
<[email protected]> wrote:
> I would like to be able to accomplish the following and wonder if anyone
> has a utility for doing it:
>
> I have a bunch of smcl logs containing regression results (about 10 per
> file, say). I want to create nicely formatted tables in something like
> word, so I would like to convert the results in the smcl files to
something
> like the output generated by outreg. I.e., variable name, parameter
> estimate, standard error, and stars or the like for significance level in
> a comma-delimited file.
>
> The obvious answer is to use outreg right after running the models. But
> the data sit on a machine with restricted (no external) access (on the
> other side of the Atlantic), so all I have is the smcl files (in
electronic
> form, of course).
Could you elaborate on your constraints please? It seems that you
can produce and retrieve log files, so why can't you use
-outreg- combined with an ascii log, and also have in the do file a
command that does a system call to -type- the outreg file (the
output of which would be echoed to the log)? (Alternatively, if you can
retrieve log files, why can't you retrieve files that -outreg- would
write?)
In hindsight this is clearly what I should have done, but absent going back
overseas and rerunning everything I am now stuck with what I did, which was
to make smcl log files. Next time I will be wiser, but at this point it
would be faster to type the tables by hand than to make a special trip to
rerun models for that purpose (apart from all the other reasons I can't
just pop over.) But I would like to avoid typing by hand.
I realize this is an idiosyncratic request, and expect to have to figure it
out myself. But Statalist often surprises.
Thanks,
//Jesper
Stephen
----------------------
Professor Stephen P. Jenkins <[email protected]>
Institute for Social and Economic Research (ISER)
University of Essex, Colchester, CO4 3SQ, UK
Tel: +44 (0)1206 873374. Fax: +44 (0)1206 873151.
http://www.iser.essex.ac.uk
*
* 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/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jesper B. S�rensen
Richard S. Leghorn (1939) Associate Professor of Strategic Management
Sloan School of Management
Massachusetts Institute of Technology
E52-581
Cambridge, MA 02142
http://web.mit.edu/sorensen/www/
(617) 253 7945 -- voice
(617) 253 2660 -- fax
*
* 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/