Bookmark and Share

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]

Re: st: AW: esttab - parentheses around semean


From   Miranda Kim <[email protected]>
To   [email protected]
Subject   Re: st: AW: esttab - parentheses around semean
Date   Thu, 25 Feb 2010 13:43:22 +0000

Thank you Martin,
I now realise it must be due to the fact that I am exporting it to excel and using the "plain" option, as in:
sysuse auto, clear
estpost tabstat price, stat(mean semean)
esttab . using test.csv, replace /*
*/ cells(`"mean semean(par("(" ")")) count"') /*
*/ nonum noobs plain
Do you know if there is a way around this?
Many thanks for your help,
Miranda

Martin Weiss wrote:
<>

Your first suggestion leads to this:


---------------------------------------------------
mean semean count
---------------------------------------------------
price 6165.257 (342.8719) ---------------------------------------------------


*************
sysuse auto, clear
estpost tabstat price, stat(mean semean)
esttab ., /* */ cells(`"mean semean(par("(" ")")) count"') /* */ nonum noobs
*************


Isn`t that what you want?


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Miranda Kim
Gesendet: Donnerstag, 25. Februar 2010 13:01
An: [email protected]
Betreff: st: esttab - parentheses around semean

Hello,
I am trying to construct a table resulting from estpost tabstat using esttab, and want to put parenthesis around the SE, but cannot work out the correct syntax for this suboption.
I have tried:
cells(`"mean semean(par("(" ")")) count"')
or
cells("mean semean(par(( ))) count")
but neither of these did the trick
On the other hand
cells("mean semean(par({ })) count ")
put curly brackets around it, but this is not what I want ideally...

Many thanks for your help
Miranda

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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index