Statalist


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

Re: st: esttab ci layout


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: esttab ci layout
Date   Fri, 5 Feb 2010 10:41:08 +0000 (GMT)

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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index