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.

318 CROSSTABS<br />

• In integer mode, VARIABLES must precede TABLES. The keyword TABLES must be explicitly<br />

specified.<br />

Operations<br />

• Integer mode builds tables more quickly but requires more workspace if a table has many<br />

empty cells.<br />

• If a long string variable is used in general mode, only the short string portion (first eight<br />

characters) is tabulated.<br />

• Statistics are calculated separately for each two-way table or two-way subtable. Missing<br />

values are reported for the table as a whole.<br />

• In general mode, the keyword TO on the TABLES subcommand refers to the order of variables<br />

in the working file. ALL refers to all variables in the working file. In integer mode,<br />

TO and ALL refer to the position and subset of variables specified on the VARIABLES<br />

subcommand.<br />

Limitations<br />

Example<br />

The following limitations apply to CROSSTABS in general mode:<br />

• Maximum 200 variables named or implied on the TABLES subcommand<br />

• Maximum 1000 non-empty rows or columns for each table<br />

• Maximum 20 table lists per CROSSTABS command<br />

• Maximum 10 dimensions (9 BY keywords) per table<br />

• Maximum 400 value labels displayed on any single table<br />

The following limitations apply to CROSSTABS in integer mode:<br />

• Maximum 100 variables named or implied on the VARIABLES subcommand<br />

• Maximum 100 variables named or implied on the TABLES subcommand<br />

• Maximum 1000 non-empty rows or columns for each table<br />

• Maximum 20 table lists per CROSSTABS command<br />

• Maximum 8 dimensions (7 BY keywords) per table<br />

• Maximum 20 rows or columns of missing values when REPORT is specified on MISSING<br />

• Minimum value that can be specified is –99,999<br />

• Maximum value that can be specified is 999,999<br />

CROSSTABS TABLES=FEAR BY SEX<br />

/CELLS=ROW COLUMN EXPECTED RESIDUALS<br />

/STATISTICS=CHISQ.<br />

• CROSSTABS generates a Case Processing Summary table, a Crosstabulation table, and a<br />

Chi-Square Tests table.

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

Saved successfully!

Ooh no, something went wrong!