For the below sample data, I would like to replace the values for my variable with the numbers within parentheses (i.e., 1 to be replaced by 11, 2 to be replaced by 12). I tried decode command but it did not work.
Thanks,
NM
Thanks,
NM
Code:
* Example generated by -dataex-. For more info, type help dataex clear input byte _predict 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 end label values _predict _predict label def _predict 1 "predict(pr outcome(11))", modify label def _predict 2 "predict(pr outcome(12))", modify
Comment