[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: adding variable labels using outreg2

From   Maarten buis <>
Subject   Re: st: adding variable labels using outreg2
Date   Mon, 18 Feb 2008 20:41:18 +0000 (GMT)

--- Lili Yan <> 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 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

Sent from Yahoo! Mail - a smarter inbox

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index