I need to create a variable for major depression using 8 items (D1, D2, D3, D4, D5, D6, D7, D8) coded 0-3. Major depression requires the first two variables (D1 and D2) to have values 2 and/or 3 and at least 5 of the other variables (D3-D8) to have values 2 and 3. Can you please show me a code for this?
-
Login or Register
- Log in with
Comment