I\'m trying to covert a binary variable from a string (eg "Male" or "Female") into binary (0 and 1). I tried with the following:
replace q1=1