for context i am replacing all '99' values in both my categorical and continuous data with '.', so that they become missing data
for continuous variables i can use the "replace `var' = . if `var' == 99" but how can i do this for categorical variables?
for continuous variables i can use the "replace `var' = . if `var' == 99" but how can i do this for categorical variables?

Comment