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: RE: Help with esttab


From   Miranda Kim <[email protected]>
To   [email protected]
Subject   Re: st: RE: Help with esttab
Date   Mon, 15 Mar 2010 09:23:27 +0000

Thanks Martin,
I'm still unsure how to obtain the format I described however, because I am using the cells() option with my variable names (the columns), as in the example below, rather than the statistics (the rows), and it is the statistics (p25 and p75) which I want to merge in the same cell...

sysuse auto, clear
estpost tabstat headroom weight gear_ratio, statistics(p50 p25 p75 count) by(foreign)
esttab, cells("headroom(fmt(2)) weight gear_ratio") noobs nomtitle nonumber

Best wishes,
Miranda

Martin Weiss wrote:
<>

*************
help estout, marker(cells)
*************

shows you how to join values in a cell. -esttab- accepts -estout- options...

HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Miranda Kim
Sent: Freitag, 12. März 2010 13:40
To: [email protected]
Subject: st: Help with esttab

Hi,
I am a Stata v11 user and I wonder if someone can help me with the following:

I want to produce a table in the following form:
sysuse auto, clear
estpost tabstat headroom weight gear_ratio, statistics(p50 p25 p75 count) by(foreign)
esttab, cells("headroom(fmt(2)) weight gear_ratio") noobs nomtitle nonumber

But I want the p25 and p75 on one line and in one cell rather than on 2 lines in separate cells (as an IQR, ie "p25-p75"), however I don't know how to do this for this type of table...

Best wishes,
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