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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: esttab: unstack halfway?


From   Dorothy Bridges <dbstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index