Hello,

I have the variable gender which was originally coded as 1 = male and 2 = female. I went in and changed the code with the following: recode gender (1=0) (2=1). This led to it coming out as: male = 1 and 0 (this has no label attached to it because I made a permanent mistake).

My goal is to code male = 0 and female = 1 with the label "male and female" attached to each value and was wondering how I can achieve this.