--- On Fri, 5/2/10, Miranda Kim wrote:
I was trying to replace the square brackets around the
confidence interval with parentheses (as in round brackets
"(" ")")in the code below.
sysuse auto, clear
eststo: qui reg price mpg rep78 trunk weight length
eststo: qui reg displacement mpg rep78 trunk weight length
esttab, cells("b(fmt(a1) star) ci(par)") r2
You can determine the kind of parentheses for confidence intervals
by replacing -par- with -par(l m r)- where "l" is the symbol you
want to use for the left parenthesis, "m" for the middle seperator,
and "r" for the right parenthesis. So it should work if you change
the final line of your example to:
esttab, cells(`"b(fmt(a1) star) ci( par("(" " " ")"))"') r2
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* 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/