27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1022 MULT RESPONSE<br />

• The group names and labels exist only during MULT RESPONSE and disappear once MULT<br />

RESPONSE has been executed. If group names are referred to in other procedures, an<br />

error results.<br />

• For a multiple-dichotomy group, the category labels come from the variable labels<br />

defined for the component variables.<br />

• For a multiple-response group, the category labels come from the value labels for the first<br />

component variable in the group. If categories are missing for the first variable but are<br />

present for other variables in the group, you must define value labels for the missing categories.<br />

(You can use the ADD VALUE LABELS command to define extra value labels.)<br />

Example<br />

MULT RESPONSE GROUPS=MAGS ’MAGAZINES READ’ (TIME TO STONE (2))<br />

/FREQUENCIES=MAGS.<br />

• The GROUPS subcommand creates a multiple-dichotomy group named MAGS. The<br />

variables between and including TIME and STONE become categories of MAGS, and the<br />

frequencies are cases with the value 2 (indicating yes, read the magazine) for the component<br />

variables.<br />

• The group label is MAGAZINES READ.<br />

Example<br />

MULT RESPONSE GROUPS=PROBS ’PERCEIVED NATIONAL PROBLEMS’<br />

(PROB1 TO PROB3 (1,9))<br />

/FREQUENCIES=PROBS.<br />

• The GROUPS subcommand creates the multiple-response group PROBS. The component<br />

variables are the existing variables between and including PROB1 and PROB3, and the<br />

frequencies are tabulated for the values 1 through 9.<br />

• The frequency for a given value is the number of cases that have that value in any of the<br />

variables PROB1 to PROB3.<br />

VARIABLES Subcommand<br />

VARIABLES specifies existing variables to be used in frequency tables and crosstabulations.<br />

Each variable is followed by parentheses enclosing a minimum and a maximum value, which<br />

are used to allocate cells for the tables for that variable.<br />

• You can specify any numeric variable on VARIABLES, but non-integer values are truncated.<br />

• If GROUPS is also specified, VARIABLES follows GROUPS.<br />

• To provide the same minimum and maximum for each of a set of variables, specify a variable<br />

list followed by a range specification.<br />

• The component variables specified on GROUPS can be used in frequency tables and<br />

crosstabulations, but you must specify them again on VARIABLES, along with a range for<br />

the values. You do not have to respecify the component variables if they will not be used<br />

as individual variables in any tables.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!