Statalist


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

Re: st: Exporting summary tables


From   Caleb Southworth <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: Exporting summary tables
Date   Sat, 30 Aug 2008 08:48:14 -0700 (PDT)

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index