Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: xi variable labels


From   "Dimitriy V. Masterov" <[email protected]>
To   [email protected]
Subject   st: xi variable labels
Date   Mon, 14 Jul 2003 17:20:24 -0500 (CDT)

Hello,

I've been having a problem with the variable labels created by the command
xi. For example, I have a variable called race that takes on values 1-3.
When I type "xi i.race" the new variables _Irace_2 and _Irace_3 are
labeled "race==2" and "race==3". I would like them to be labeled with the
value label from the original variable. For example, if the value
race==2 was labeled "White" I would like the variable _Irace_2 to be
labeled "White", and so on.  This would make the graphs that I have to
make  a lot simpler.

Is there a simple way of doing this somehow without doing it by hand?


Dimitriy V. Masterov

_______________________________________________________________________________
Dimitriy V. Masterov

Work:
National Opinion Research Center
1155 East 60th St. Room 038
Chicago, IL 60637
Work: (773)256-6005
Fax: (773)256-6313


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



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