In my dataset, I have a bunch of Yes/No type variables. For some reason, "Yes" is coded as 1 and "No" is coded as 2 instead of 0. Now I want to recode 2 to 0 based on the value label "No".
How can I do it without having to check and recode every single one?
There are some complications:
Each of these dummies has a value label sharing the dummy's name instead of sharing a "yesno" value label. Therefore, I can't simply loop through all variables that have a "yesno" value label.
There might be reserve codes (-1 for Don’t know, -2 for Refused, etc.) in these dummies. Because of these reserve codes, I think the best way to recode is via checking value label because I know for sure that 2 is labelled as No.