Combine two variables into one
One of the many questions we got the last few days was from Dana. Dana asked us a question about combining two variables into one:
“Hello, I need to essentially combine two variables that have been
standardized into one new variable. Data that is present in one variable
is missing on the other and vice versa. I tried making a new variable and
then recoding missing data so it would pull in the values from the other
variable. Can you only recode missing values into numbers, or can I pull
an entirely different variable into it? Basically, how do I combine two
variables into one? Is there an easier way? Thanks!”
7 comments April 10th, 2007 andris