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.

1024 MULT RESPONSE<br />

TABLES Subcommand<br />

TABLES specifies the crosstabulations to be produced by MULT RESPONSE. Both individual<br />

variables and group variables can be tabulated together.<br />

• The first list defines the rows of the tables; the next list (following BY) defines the<br />

columns. Subsequent lists following BY keywords define control variables, which<br />

produce subtables. Use the keyword BY to separate the dimensions. You can specify up<br />

to five dimensions (four BY keywords) for a table.<br />

• To produce more than one table, name one or more variables for each dimension of the<br />

tables. You can also specify multiple table lists separated by a slash. If you use the<br />

keyword TO to imply a set of group or individual variables, TO refers to the order in which<br />

groups or variables are specified on the GROUPS or VARIABLES subcommand.<br />

• If FREQUENCIES is also specified, TABLES follows FREQUENCIES.<br />

• The value labels for columns are displayed on three lines with eight characters per line.<br />

To avoid splitting words, reverse the row and column variables, or redefine the variable<br />

or value labels (depending on whether the variables are multiple-dichotomy or multipleresponse<br />

variables).<br />

Example<br />

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

/VARIABLES=EDUC (1,3)/TABLES=EDUC BY MAGS.<br />

• The TABLES subcommand requests a crosstabulation of variable EDUC by the multipledichotomy<br />

group MAGS.<br />

Example<br />

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

MEMS ’SOCIAL ORGANIZATION MEMBERSHIPS’ (VFW AMLEG ELKS (1))<br />

/VARIABLES EDUC (1,3)/TABLES=MEMS MAGS BY EDUC.<br />

• The TABLES subcommand specifies two crosstabulations—MEMS by EDUC, and MAGS<br />

by EDUC.<br />

Example<br />

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

/VARIABLES SEX (1,2) EDUC (1,3)<br />

/TABLES=MAGS BY EDUC SEX/EDUC BY SEX/MAGS BY EDUC BY SEX.<br />

• The TABLES subcommand uses slashes to separate three table lists. It produces two tables<br />

from the first table list (MAGS by EDUC and MAGS by SEX) and one table from the second<br />

table list (EDUC by SEX). The third table list produces separate tables for each sex (MAGS<br />

by EDUC for male and for female).<br />

Example<br />

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

PROBS ’NATIONAL PROBLEMS MENTIONED’ (PROB1 TO PROB3 (1,9))<br />

/TABLES=MAGS BY PROBS.

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

Saved successfully!

Ooh no, something went wrong!