Hello Statalist users, I am using estpost and esttab to generate a table using two-way tabulate. sysuse auto, clear estpost tabulate rep78 foreign esttab ., cell("b colpct(fmt(2))") unstack noobs ------------------------------------------------------------------------------------------ (1) Domestic Foreign Total b colpct b colpct b colpct ------------------------------------------------------------------------------------------ 1 2 4.17 0 0.00 2 2.90 2 8 16.67 0 0.00 8 11.59 3 27 56.25 3 14.29 30 43.48 4 9 18.75 9 42.86 18 26.09 5 2 4.17 9 42.86 11 15.94 Total 48 100.00 21 100.00 69 100.00 ------------------------------------------------------------------------------------------ I want to put "Domestic" and "Foreign" in the center, while getting rid of colpct for Total. Can you help me how to solve this? Thank you so much!
-
Login or Register
- Log in with
Comment