I have a dataset with an interval variable having various values from -10 to +10. However, sometimes if the data for an observation was not available, they coded it as -99. How can one change the -99 as no value or just a dot? Since there are thousands of observations with missing values of -99, I would be grateful if you provide an idea of how to get away that -99 as a dot. Also, is it possible to create a dummy variable with -99 as a dot, while converting values +1 to +10 as 1 and values -1 to -10 as 0?
-
Login or Register
- Log in with
Comment