Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: st: AW: Copying Stata (Table) results to Excel
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
Subject
AW: st: AW: Copying Stata (Table) results to Excel
Date
Wed, 10 Mar 2010 12:30:05 +0100
<>
See also http://www.stata.com/statalist/archive/2009-02/msg00759.html
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Kaspar Dardas
Gesendet: Mittwoch, 10. März 2010 12:27
An: [email protected]
Betreff: Re: st: AW: Copying Stata (Table) results to Excel
Hi,
estout seems to do the job. However, I simply need to know how estout
is able to handle more than one e() values.
I have checked the manual and other helpfiles but I couldnt find
whether this is possible or not?
Multiple e() values are possible in estout, correct?
Thanks,
Kaspar
2010/3/10 Martin Weiss <[email protected]>:
>
> <>
>
> A different approach uses -table-`s ability to replace (!) the data in mem with its results:
>
>
> *************
> sysuse auto, clear
> table rep78 foreign, contents(freq mean price sd price ) row col replace
> xmlsave "myfile", doctype(excel) replace
> !start myfile.xml
> *************
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]] Im Auftrag von Kaspar Dardas
> Gesendet: Mittwoch, 10. März 2010 11:54
> An: [email protected]
> Betreff: Re: st: AW: Copying Stata (Table) results to Excel
>
> Hi,
>
>
> First, thanks Martin!
>
> However, after using the below estpost tabstat command:
>
> estpost tabstat CAR1 mCAR1 CAR4 mCAR4 CAR20 mCAR20 CARn20 mnCAR20 if
> transactiontype == Buy, by(location) statistics(n mean sd)
> columns(statistics) listwise
>
> I can only tab one of the stored e() values such as
> . estout e(mean) using "C:\data\msci\all\data\final_test.xls", replace
> (output written to C:\data\msci\all\data\final_test.xls)
>
> I would like to table all e()s next to each other in an xls sheet.
> Exactly as I can see it on Stata*s result window. I simply cant get a
> command like the below to work:
>
> estout e(mean) e(count) e(.......... using
> "C:\data\msci\all\data\final_test.xls", replace
>
>
> Best,
>
> Kaspar
>
>
> 2010/3/10 Martin Weiss <[email protected]>:
>>
>> <>
>>
>> -ssc d estout- has a routing -estpost-, which, in conjunction with -esttab-, can do most of these things...
>>
>>
>>
>> HTH
>> Martin
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: [email protected] [mailto:[email protected]] Im Auftrag von Kaspar Dardas
>> Gesendet: Mittwoch, 10. März 2010 10:42
>> An: [email protected]
>> Betreff: st: Copying Stata (Table) results to Excel
>>
>> Hello together,
>>
>>
>> what is the most efficient method to copy results (table, tabstat
>> etc.) from Stata to Excel?
>>
>> There is lots of good stuff for regression results but I couldn't
>> really find anything for sum results, tab results, tabstat etc...
>> Is there any ado which will copy the results table frrom Stata to xls?
>>
>> Many thanks,
>>
>> Kaspar
>> *
>> * 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/
>>
>
> *
> * 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/
>
*
* 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/