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]

Re: st: RE: esttab question


From   Jörg Eulenberger <[email protected]>
To   [email protected]
Subject   Re: st: RE: esttab question
Date   Thu, 01 Sep 2011 14:31:57 +0200

Dear Jesper,
it is exactly what i mean.
Thanks a lot,
Jörg




Am 01.09.2011 08:59, schrieb Jesper Lindhardsen:
> Hi Jorg
>
> If I understand correctly, you mean like this :
>
>
> sysuse auto
> est clear
> eststo: estpost corr  foreign headroom trunk weight if  rep78==3 
> eststo: estpost corr  foreign headroom trunk weight if  rep78==4 
> eststo: estpost corr  foreign headroom trunk weight if  rep78==5 
> esttab *, b(2) not unstack compress nonumber nomtitle  noobs varw(30) label
>
> HTH Jesper
>
> Jesper Lindhardsen
> MD, PhD candidate
> Department of Cardiovascular Research
> Copenhagen University Hospital, Gentofte
> Denmark
>
>
>
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Jörg Eulenberger
> Sent: 01 September 2011 07:55
> To: '[email protected]'
> Subject: st: esttab question
>
>
> 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/
>
> *
> *   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/
>

*
*   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