[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: recode & set old label value
Dear all,
In my case I have to merge two data sets while both of them contain a
ID variable which is numerical but has label values applied. Now,
there is an error in the coding for one data set resulting in a shift
of 10 in the ID variable, e.g. ID in data set 1 is 781 while ID in
data set 2 is 791. Now, it's easy to change the coding but is there a
way to automatically re-apply the correct label values after having
changed the ID coding?
Many thanks for your considerations,
Andrea
*
* 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/