Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Generating New Variables in SPSS: The Multiple Response Command

During the course of the 1991 U.S. General Social Survey the following question was asked: Thinking about health related matters, did any of the following happen to you since February/March, 1990? (please tick all relevant responses) I was ill enough to go to the doctor I sought counselling for mental problems I had problems with infertility I suffered from a drinking problem I used illegal drugs My child had to go to hospital My partner had to go to hospital A close friend died My child suffered from drug or alcohol problems

Yes

No

The answers to such a set of questions are regarded as multiple responses, since the answer to each does not preclude an answer for the others; the responses are not mutually exclusive. The answer to each of these questions is regarded, for the purpose of SPSS coding and data entry, as. a separate variable. That is, a column is set up for each of the items to which a respondent can answer Yes or No. In this instance, therefore, there are 9 columns of data; one containing either a 1 (= Yes) or 2 (= No) for each case according to whether they were ill enough to go to the doctor, another column containing 1 or 2 for each case indicating whether they had sought counselling for mental problems, and so on (Figure 1).

Figure 1 Data entry for multiple responses

With the data entered in this way, if we wanted to see the number of Yes responses for each of these variables we would have to generate 9 separate frequency tables and note the number of Yes responses in each. An alternative, which also allows us to do further analysis, is to use the Multiple Response command. The Multiple Response command allows us to analyze a number of separate variables at the same time, and is best used in situations where the responses to a number of separate variables that have a similar coding scheme all point to a single underlying variable. In this example, we can consider each of the items in the question as all pointing to

Statistics for Research

the state of a respondents health. They are particular operationalizations, each of which captures just one dimension of this complex variable. It is therefore interesting to summarize the responses to these items at once, and to be able to use the pattern of responses across these items in further analysis with other variables, which is exactly what the Multiple Response command allows us to do. To use the Multiple Response command we initially have to set up a Multiple Response Set. This procedure instructs SPSS to group together the responses across a range of variables. Before doing this it is important to have noted the coding scheme for the items that will make up the Multiple Response Set. In this instance, the coding is 1 = Yes and 2 = No. We note this because we need to tell SPSS which value (or range of values) is of interest to us. Here we are interested in all the Yes responses to each item. To generate a multiple response set based on these nine responses we follow the procedure in Table 1 (Figure 2).
Table 1 Defining a Multiple Response Set
SPSS command/action 1 Select Analyze/Multiple Response/Define Sets 2 Select the first variable in the source variable list that we want to include in the set. In this instance click on hlth1 3 Click on 4 Select each of the remaining variables that will form the set and each time click 5 In the box next to Dichotomies Counted Value type 1 6 In the area headed Name enter an 8-or-less character variable name. Here we will use hlthmr 7 In the area headed Label type a long variable name of 45 characters or less (optional). Here we can type Multiple Response for hlth1-9 8 Click Add 9 Click Close This instructs SPSS to count the number of cases with a 1 in each of the items that make up the set SPSS creates a new variable which we need to give a name to, based on the responses to the existing variables As with other variable definitions, SPSS allows us to use a long variable name as a way of expanding on the short 8 character name This adds this set to the list. We can have more than one multiple response set in any given data file Comment This brings up the Define Multiple Response Sets dialog box This highlights the selected variable This pastes the selected variable into the Variables in Set list

Figure 3(a) The Define Sets command

Generating new variables in SPSS: the Multiple Response command

Figure 3(b) The Define Multiple Response Sets dialog box

Now that we have defined the multiple response set we can analyze it. The new variable that we have just created and called hlthmr does not appear on the Data Editor window with the existing variables, but is stored in SPSSs memory, and is accessed only through the Analyze/Multiple Response/Frequencies command. It wont appear in the normal dialog boxes we are familiar with which present the variables in the data file in a source variable list. It is also not saved with the data file and will disappear when the file is closed, so it is a good idea to perform all the analysis you plan to undertake using the multiple response set before finishing your current SPSS session. The simplest analysis we can undertake on a multiple response set is to run a frequency on the new variable (Table 2, Figure 4).
Table 2 The SPSS Multiple Response Frequencies command
SPSS command/action 1 From the menu select Analyze/Multiple Response/ Frequencies 2 From the Mult Response Sets source list select Multiple Response for hlth1-9 3 Click on 4 Click Ok Comment This brings up the Multiple Response Frequencies dialog box This highlights the selected multiple response set This pastes the selected variable into the Table(s) for list

Statistics for Research

Figure 4(a) The SPSS Multiple Response: Frequencies command

Figure 4(b) The Multiple Response Frequencies dialog box

The results of these commands will be a frequency table presented in the Figure 5. We can immediately see the number and percentage of all responses that responded Yes to each item. Note that since each person in the survey can respond Yes to each and every item, or to none at all, the number of responses (1108) does not necessarily equal the sample size. It may be higher or, as in this instance, it may be lower. In addition to a simple frequency, we can ask SPSS to crosstabulate these responses with the responses for other variables in the data set. We choose A n a l y z e / M u l t i p l e Response/Crosstabs from the menu, which brings up the Multiple Response Crosstabs dialog box. If, for example, I wished to observe how males and females differ in their respective combined responses to the 9 health variables, I choose the hlthmr multiple response set as the row variable and Respondents Sex as the column variable. This will produce the crosstab presented in Figure 6. This breaks down the 559 cases that were ill enough to go to the doctor according into the number that were male (185) and the number that were female (374), and so on.

Generating new variables in SPSS: the Multiple Response command

Figure 5 SPSS Multiple Response: Frequencies output

Figure 6 The Multiple Response Crosstabs dialog box

Summary We have looked at the SPSS Multiple Response command, which in many respects is very similar to the Compute command we discuss in an accompanying chapter. It may pay, before finishing this discussion, to point out the differences between these two commands. Both commands create a new variable based on the responses to an existing set of variables. The Multiple Response command indicates the number of times a set of responses occur. The Compute command, on the other hand, at its most basic level, counts the number of times certain values were entered in the data set. In the example above, the Multiple Response command indicated for each of the type of health problems in the set, the number of Yes responses. The Compute command, however, indicates the number of times a Yes response was given in any of the chosen variables, without breaking these down into the particular responses.

Statistics for Research

As we shall see in the accompanying chapter on the Compute command, this command also allows many more elaborate transformations of existing data values than simply summation, which the Multiple Response command is limited to.

Figure 7 SPSS Multiple Response Crosstabs output

You might also like