Hi, I have done this task before using "other variables transformation commands - convert variables from string to numeric". This time didn't work. I believe it's because my variable ESTADIAG contains some observations stored as numbers (only numbers) but others stored as letters (only letters). For example, I have thousands of obs stored as either "I", "B", "A" or "Z".
I would like to transform all "I", "B", "A" or "Z" into 99 and then have this variable ESTADIAG stored as numeric so I can actually run my analysis!
any insights?
thanks very much!
I would like to transform all "I", "B", "A" or "Z" into 99 and then have this variable ESTADIAG stored as numeric so I can actually run my analysis!
any insights?
thanks very much!
Comment