Man Jia wrote:
Could anyone give me some suggestion of how to show variable labels in
summarize command output ? Now STATA shows variables names in the
output of "sum" command. I was wondering if it's possible to show
variable labels instead of variable name or together with variable
names.
Now stata shows:
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
exp
What I want is:
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
total working
experience
or it's also fine to show both variable names and labels.
==============================================================
You got a couple of unofficial solutions to your very sensible
wish. An official solution is:
. codebook , compact // all variables
. codebook exp , compact
Hope this helps
Svend
________________________________________________________
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone, work: +45 8942 6090
Phone, home: +45 8693 7796
Fax: +45 8613 1580
E-mail: [email protected]
_________________________________________________________
*
* 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/