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 on April 23, and its replacement, is already up and running.

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

st: esttab: unstack halfway?

From   Dorothy Bridges <>
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:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index