On Sat, 30 Aug 2008, Michael McCulloch wrote:
:I'm seeking guidance in creating summary tables which I can output to a text
:file. From my data set, I have used the -table- command to produce summary
:statistics, such as the following example where I report the number of
:subjects, median age, and proportion treated, stratified by cancer stage:
:
:. table stage treatment, contents(n age median age mean treatment) col
:format(%9.2g) cen row
If I understand the question, you could use the -replace- option with
-table-. This would give you a dataset of your statistics. You could
then export the dataset as a tab-delimited file or covert it to
whatever format using StaTransfer, etc.
HTH,
Caleb Southworth
Associate Professor
University of Oregon Sociology
*
* 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/