I need to create a binary depression variable that would indicate whether or not at least 5 out 8 symptom variables have a value above 2.
Is there a faster way to do this than generating 8 binary symptom variables, adding them, and finally creating the binary depression variable if the total is above 5?
Thank you,
Emma
Is there a faster way to do this than generating 8 binary symptom variables, adding them, and finally creating the binary depression variable if the total is above 5?
Thank you,
Emma
Comment