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, statalist.org is already up and running.


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

st: esttab question


From   Jörg Eulenberger <j.eulenberger@web.de>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index