Hello, I know that this topic has been brought up already but I have been reading several posts, and I could not find one that quite worked for me. I have this non mutually exclusive variable where clinicians are asked the age of their patients: 0-2, 3-5, 7-10, 10-18, 18+. They can select more than one answer. Unfortunately, it is a string variable which I cannot use so (it would give me in a column something like 1, 3, 4) I created dummy variables for each option but now I would like to recreate the initial variable but where it would tell me how many clinicians said 0-2, how many said 3-5, and it would not add up to a 100. As some of you pointed out, just to create a new variable with gen and replace commands does not work. Any ideas? Thanks
-
Login or Register
- Log in with
Comment