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]

st: AW: esttab - parentheses around semean


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: esttab - parentheses around semean
Date   Thu, 25 Feb 2010 13:26:54 +0100

<> 


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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Miranda Kim
Gesendet: Donnerstag, 25. Februar 2010 13:01
An: statalist@hsphsun2.harvard.edu
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/


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