Statalist The Stata Listserver


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

st: Multiple value labels


From   "MA V" <[email protected]>
To   [email protected]
Subject   st: Multiple value labels
Date   Sat, 25 Mar 2006 21:44:06 +0000

Hi--
I have the following in my data:
obs var1 var2
1 304 House
2 666 Land
3 200 Building
4 304 House
5 304 House
... ... ....

where var2 contains the labels for var1. Since I have many labels it will not be easy to create the labels for var1 by hand. Is there an easy procedure to make stata recognize that there is an unique correspondence between var1 and var2 and to label var1 using var2?
Thanks for your help!
MA_V

_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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