Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: exporting tables from Summarize function


From   carsten sauer <carsten.sauer@uni-bielefeld.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: exporting tables from Summarize function
Date   Tue, 24 May 2011 12:16:10 +0200


Try this example:

sysuse auto, clear
estpost summarize price mpg rep78 foreign
esttab using test, cells("mean sd count") noobs rtf replace



Am 24.05.2011 11:57, schrieb lreine ycenna:
I use

estpost summarize a b c

 esttab, cells("mean sd min max") nomtitle nonumber noobs

the table shows up at this stage,

then i type

esttab using es1, rtf replace

I have an empty table shows up..



On 24 May 2011 10:44, carsten sauer <carsten.sauer@uni-bielefeld.de> wrote:
Use the rich text format option rtf:

esttab using filename, rtf replace




Am 24.05.2011 11:42, schrieb lreine ycenna:
Hi,
thank you. estpost and esttab work!
But now I need to export it onto word.(like outreg for results).
How do I do that?



On 24 May 2011 10:21, carsten sauer<carsten.sauer@uni-bielefeld.de>
 wrote:
Hello,
you could use estpost and then esttab by Ben Jann (ssc install estout).
See
the help file for examples.
Carsten

Am 24.05.2011 10:53, schrieb lreine ycenna:
Hello,

I've run the 'summarize' function for some of my variables.
How can I present the result in a table and export it into word?

The outreg command doesnt work for summarized stats.

p.s. i'm using stata 11.
*
*   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/
--

Carsten Sauer
Soziale Ungleichheit und Sozialstrukturanalyse
Universität Bielefeld
Fakultät für Soziologie
Postfach 10 01 31
33501 Bielefeld
Tel.: 0521 106-67291/-6948 (Sekr. Frau Fischer)
Fax: 0521 106-6479

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

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

Carsten Sauer
Soziale Ungleichheit und Sozialstrukturanalyse
Universität Bielefeld
Fakultät für Soziologie
Postfach 10 01 31
33501 Bielefeld
Tel.: 0521 106-67291/-6948 (Sekr. Frau Fischer)
Fax: 0521 106-6479

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

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

-- 

Carsten Sauer
Soziale Ungleichheit und Sozialstrukturanalyse
Universität Bielefeld
Fakultät für Soziologie
Postfach 10 01 31
33501 Bielefeld
Tel.: 0521 106-67291/-6948 (Sekr. Frau Fischer)
Fax: 0521 106-6479 


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index