I would like categories this variable to categorical variable "<100" "101-150" ">150"
I am failing to de-string this variable since some values, I should say are being recognized as non-numeric
How can destring and recategorize to capture the "<50" values within the <100 category?
Thanks for your help in advance
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str10 height "223" "<50" "103" "77" "88" "166" "114" "<50"
0 Response to Destringing a numerical string*variable with existing mixed values
Post a Comment