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 question


From   Jörg Eulenberger <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: esttab question
Date   Thu, 01 Sep 2011 07:54:35 +0200

Dear Statalisters,
i want to create a table like:

sysuse auto
estpost corr  foreign headroom trunk weight
esttab , b(2) not unstack compress nonumber nomtitle  noobs varw(30) label

But now i want a table with different subgroups

sysuse auto
estpost corr  foreign headroom trunk weight if  rep78==3
estpost corr  foreign headroom trunk weight if  rep78==4
estpost corr  foreign headroom trunk weight if  rep78==5
esttab , b(2) not unstack compress nonumber nomtitle  noobs varw(30) label

for each subgroup a separate column in one table.

Thanks for help,
Jörg
*
*   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