Hi There, I'm a STATA beginner and was hoping someone could help.
I have a variable which is a string variable with the coding yes or no
How do I change that into a binary variable where 1=yes and 0=no ?
for help with the example, my variable name is case_notcase
Thank you
I have a variable which is a string variable with the coding yes or no
How do I change that into a binary variable where 1=yes and 0=no ?
for help with the example, my variable name is case_notcase
Thank you
Comment