One famous feature of Some Alternative Software that reaches really far beyond what Stata is capable of are labeled strings. I am working with a SAS data set that has say string variable SEX that has values "01" (yes, a string) with a label "Female" and value "02" (yes, a string) with a label "Male". How do I convert that into something more sensible? SAS PROC EXPORT creates a data set in which the impoverished Stata loses the labels.
I am totally dazzled that destring that we all know and love does not exist in SAS, and people have to write bizarre 60-line macros to achieve that goal (https://communities.sas.com/servlet/..._Variables.pdf). Yet the solution outlined there does not retain the labeled strings.
I am totally dazzled that destring that we all know and love does not exist in SAS, and people have to write bizarre 60-line macros to achieve that goal (https://communities.sas.com/servlet/..._Variables.pdf). Yet the solution outlined there does not retain the labeled strings.
Comment