[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: New values for a value labelled variable
Hi all,
I have a variable with (many) value labels, say
12-joe
23-mike
12-joe
45-helen
24-tom
...
I would like to create a new variable with consecutive values assigned 
to the old labels, e.g.
1-joe
2-mike
1-joe
3-helen
4-tom
...
It is important that the sequence of names is preserved.
Thanks a lot,
Serguei Kaniovski
--
___________________________________________________________________
Austrian Institute of Economic Research (WIFO)
Name: Serguei Kaniovski			P.O.Box 91
Tel.: +43-1-7982601-231			Arsenal Objekt 20
Fax:  +43-1-7989386			1103 Vienna, Austria
Mail: [email protected]
http://www.wifo.ac.at/Serguei.Kaniovski
*
*   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/