Hi,
I have two variables that both contain information about ethnicity, but the underlying values in the variables are different for the same value label. For e.g variable hh_ethnicity=1 with value label "Igbo" and variable recipient_ethnicity=2 with the same value label "Igbo". I want to replace hh_ethnicity and recipient_ethnicity with the value label "Igbo" as the underlying value. There's already help on this forum on how to transfer value labels between variables, but it's not what I want--- I need the underlying values to be the same for the same value label between two different variables. Or, I could also do with a code, if it exists, to replace values with their value labels.
Thanks,
Sampada
I have two variables that both contain information about ethnicity, but the underlying values in the variables are different for the same value label. For e.g variable hh_ethnicity=1 with value label "Igbo" and variable recipient_ethnicity=2 with the same value label "Igbo". I want to replace hh_ethnicity and recipient_ethnicity with the value label "Igbo" as the underlying value. There's already help on this forum on how to transfer value labels between variables, but it's not what I want--- I need the underlying values to be the same for the same value label between two different variables. Or, I could also do with a code, if it exists, to replace values with their value labels.
Thanks,
Sampada
Comment