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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

326 CROSSTABS<br />

to reproduce tables and compute statistics. When WRITE is specified, an Output File<br />

Summary table is displayed before all other tables.<br />

• The only specification is a single keyword.<br />

• The name of the file must be specified on the PROCEDURE OUTPUT command preceding<br />

CROSSTABS.<br />

• If both CELLS and ALL are specified, CELLS is in effect and only the contents of non-empty<br />

cells are written to the file.<br />

• If you include missing values with INCLUDE or REPORT on MISSING, no values are considered<br />

missing and all non-empty cells, including those with missing values, are written,<br />

even if CELLS is specified.<br />

• If you exclude missing values on a table-by-table basis (the default), no records are written<br />

for combinations of values that include a missing value.<br />

• If multiple tables are specified, the tables are written in the same order as they are<br />

displayed.<br />

NONE Do not write cell counts to a file. This is the default.<br />

CELLS Write cell counts for non-empty and nonmissing cells to a file. Combinations<br />

of values that include a missing value are not written to the file.<br />

ALL Write cell counts for all cells to a file. A record for each combination of<br />

values defined by VARIABLES and TABLES is written to the file. ALL is available<br />

only in integer mode.<br />

The file contains one record for each cell. Each record contains the following:<br />

Columns Contents<br />

1–4 Split-file group number, numbered consecutively from 1. Note that this is not<br />

the value of the variable or variables used to define the splits.<br />

5–8 Table number. Tables are defined by the TABLES subcommand.<br />

9–16 Cell frequency. The number of times this combination of variable values<br />

occurred in the data, or, if case weights are used, the sum of case weights for<br />

cases having this combination of values.<br />

17–24 The value of the row variable (the one named before the first BY).<br />

25–32 The value of the column variable (the one named after the first BY).<br />

33–40 The value of the first control variable (the one named after the second BY).<br />

41–48 The value of the second control variable (the one named after the third BY).<br />

49–56 The value of the third control variable (the one named after the fourth BY).<br />

57–64 The value of the fourth control variable (the one named after the fifth BY).<br />

65–72 The value of the fifth control variable (the one named after the sixth BY).<br />

73–80 The value of the sixth control variable (the one named after the seventh BY).

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

Saved successfully!

Ooh no, something went wrong!