Hi!
I have a dataset with two variables for test scores: scores in 2002 and scores in 2013. I want need to merge the two variables into a dummy variable so to include the test scores of the two years.
So the new variable "time" should look like:
time= 0 if test_scores_2002
time= 1 if test_scores_2013

So far I have not been able to find a command to generate the dummy variable from two continuous variables, and would appreciate any help!
thank you!