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]

st: esttab: unstack halfway?


From   Dorothy Bridges <[email protected]>
To   [email protected]
Subject   st: esttab: unstack halfway?
Date   Wed, 22 Aug 2012 11:41:40 -0700

Hi all,

I would like to create a LaTeX table that looks just like:

sysuse auto, clear
tab foreign rep78, row

The closest I can get is:

estpost tab foriegn rep78
esttab using "/file", cells("b rowpct") unstack tex replace

But this places the row percentages next to -- rather than below --
the row frequencies.  Your suggestions would be much appreciated.
*
*   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