Statalist


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

RE: st: outreg2 and xtmixed?


From   Roy Wada <roywada@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: outreg2 and xtmixed?
Date   Fri, 18 Sep 2009 18:58:15 -0700

> I'd prefer to have them in the same column as all other variables
> (column 1)
>
 
Try using -long- option

xtmixed ln_w grade age* ttl_exp tenure* || id:
outreg2 using myfile, replace long excel
 
 
Incidently, there was a recent thread on having an output 
similar to -table- but with more than 5 contents.
 
Some of this can be achieved by using -sum(detail)-, which is 
an undocumented option. You can use -eqdrop( )- to get rid of 
what you do not need.
 
outreg2 using myfile, replace sum(detail) eqdrop(min max)
 
Note that it is reporting raw summary stats without restricting 
itself to e(sample) observations but you must have ran a regression 
(any regression) prior to it.
 
This sounds all complicated but that's why it's undocumented.
 
Roy
 
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/
*
*   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   |   What's new   |   Site index