I'm new to the syntax of SPSS. I have only ever used the windows based
functions. However, now I have been given a task with a large database that
requires the use of some syntax. I am hoping someone can quickly help me.
I have to do two different things. The data is from a questionnaire. There
are some ordinal scale questions with Likert scales. It is those that I
have to work with.
1. Is to combine the scores from 2 questions (both with participants coded
as 0 or 1) to form a new score and variable of disordered = 1 and
non-disordered = 0. For instance subjects have scored 1 on questions 15 &
13 then they are coded as disordered (1) on the new variable. If they have
scored 1 on question 15, but 0 on 13, then they will be coded as
non-disordered on the new variable (0).
2. One question is already coded into (0) and (1). I have to combined those
results with those from an ordinally scaled question from 1 to 5, to
classify participants into disordered and non-disordered. For instance, if
a participant is coded as (1) on question 13 and score 1, 2 on question 14
then they are coded as disordered (1) on the new variable. If a participant
is coded as (1) on question 13 and score 4, 5 on question 14 then they are
coded as non-disordered (0) on the new variable. Those who scored 3 on
question 14 are ignored as they cannot be diagnosed.
Any help would be very much appreciated.