Hey everyone,

I have received a data set where the sender incorrectly assigned the wrong codes for my sex variable. Instead of having male, female, and other as 0, 1 and 2 respectively; they have instead assigned 1 as male, 2 as female, and 3 as other. I have tried to fix this with my commands and while it works for female and other, when typing the command for male replaces it with 3.

I would like to replace the code for male from 3 to 0. Is there a way to change the label codes itself?

Thanks very much for the help!