Statalist


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

st: Re: log only results of r-class commands


From   Roy Wada <[email protected]>
To   <[email protected]>
Subject   st: Re: log only results of r-class commands
Date   Fri, 23 May 2008 16:55:01 -0700

>The descriptive analysis extensively uses -fsum- (fsum.ado Full 
>SUMmary program v 2.4.0 fw 2may05), contributed by Fred Wolfe,
>as it prints variable labels instead of variable names.
>
>I would like to preserve the comments in the log, since they identify 
>analyses, but could live without that feature. Far easier to add a few 
>table headers to table groups than to edit out hundreds of lines of 
>command code.

What you want is to clean up log files or produce tables. I have programs
for both, but it usually comes out to be the same thing.

I have a program based on -outreg2- that can produce tables of 
summary statistics. It will handle labels, titles, notes, blah, blah.
It is byable, but only column-wise. The problem is that it would 
have to be upgraded to the newer version of -outreg2- that is 
more flexible. Like -outreg2-, this method can produce one huge
table or many small table files. You might not like many small 
tables.

The other program is designed to chew up log files in text format. 
It is capable of digesting numbers and dumping them into tab-delimited
format (xml, dta). A log file is much easier to clean after being imported 
as a data file, because you would say something like: drop if v0=="/*". 
The problem is that tab-limited files may not be what you want, which in
case you would also import un-tabbed file, and export that column after 
you have finished dropping what you didn't want using the information 
from tab-limited columns.

Roy


_________________________________________________________________
E-mail for the greater good. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ GreaterGood
*
*   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