Hello, so I had a variable called treatmenttype with 3 categories: medication, other, and diet. In a previous step, I used a count function to split this where there are now 3 columns, one for each treatment type. each participant had 2 of the treatment types combined, so this was splitting that out. Now, Using proc transpose, how can I transform each of those treatment categories from wide to long? I want to properly name the new variables and drop what is unneccessary. Once it is done, I want there to be a new treat_type column with medication, other, diet as the option and then a y_n column incidcating whether it was used, with 1 or 0. Please help, I am so confused
... View more