--- Lili Yan <[email protected]> wrote:
> I want to add variable labels in outreg2 so that the output table
> lists variable labels instead of their names. This is my code:
>
> outreg2 using age.doc, bdec(4) label rdec(4) title("...")
> ctitle(...) replace
>
> However, the output table contains only variable names. Could anyone
> please tell me how I should write the code? Thanks!
This works for me:
*--------------- begin example ----------------
sysuse auto, clear
reg mpg wei length
outreg2 using temp.doc, word seeout label
*--------------- end example ------------------
If you type -which outreg2- you get the version number. I got version
1.4 of outreg2. Maybe you got an old version.
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/