Hi there,
I have a categorial variable that equals 1 if 'No', 2 if 'Yes, sometimes' and 3 if 'Yes, often'. Value 0 is not in use.
Now I want to recode this so that it equals 0 if 'No', 1 if 'Yes, sometimes' and 2 if 'Yes, often'.
Is there a certain command that obtains this goal?
Thanks,
Ilse
I have a categorial variable that equals 1 if 'No', 2 if 'Yes, sometimes' and 3 if 'Yes, often'. Value 0 is not in use.
Now I want to recode this so that it equals 0 if 'No', 1 if 'Yes, sometimes' and 2 if 'Yes, often'.
Is there a certain command that obtains this goal?
Thanks,
Ilse
Comment