changing non-numeric variable values to append
Posted: Mon Apr 08, 2019 2:55 pm
Hi,
I am trying to append data sets from 2 different years. for the variable 'b_s' (branch or subsidy): for 2005, subsidiary = sub, branch = branch. In 2006 subsidiary = a, branch = b.
for 2006, I want to change all 'a' values to 'sub' and all all 'b' values to 'branch'. so that I can append the data sets.
how can I do this? the 'recode' command works only for numerical values.
thanks
Lizzie
I am trying to append data sets from 2 different years. for the variable 'b_s' (branch or subsidy): for 2005, subsidiary = sub, branch = branch. In 2006 subsidiary = a, branch = b.
for 2006, I want to change all 'a' values to 'sub' and all all 'b' values to 'branch'. so that I can append the data sets.
how can I do this? the 'recode' command works only for numerical values.
thanks
Lizzie