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.

CSTABULATE 373<br />

on the left defines the row dimension in a two-way crosstabulation, and the variable to the<br />

right defines the column dimension. For example, TABLES VARIABLES = A B BY C displays<br />

two tables: A by C and B by C.<br />

• Numeric or string variables may be specified.<br />

• Plan file and subpopulation variables may not be specified on the TABLES subcommand.<br />

• Within the variable list, all specified variables must be unique. Also, if a variable is specified<br />

after the BY keyword, then it must be different from all variables preceding the BY<br />

keyword.<br />

VARIABLES Specifies the tabulation variables.<br />

CELLS Subcommand<br />

The CELLS subcommand requests various summary value estimates associated with the table<br />

cells.<br />

If the CELLS subcommand is not specified, then CSTABULATE displays the population size<br />

estimate for each cell in the defined table(s), as well as for all marginals. However, if the<br />

CELLS subcommand is specified, then only those summary values that are requested are<br />

displayed.<br />

POPSIZE The population size estimate for each cell and marginal in a table. This is default<br />

output if the CELLS subcommand is not specified.<br />

ROWPCT Row percentages. The population size estimate in each cell in a row is expressed<br />

as a percentage of the population size estimate for that row. Available<br />

for two-way crosstabulations. For one-way frequency tables, specifying<br />

this keyword gives the same output as the TABLEPCT keyword.<br />

COLPCT Column percentages. The population size estimate in each cell in a column<br />

is expressed as a percentage of the population size estimate for that column.<br />

Available for two-way crosstabulations. For one-way frequency tables,<br />

specifying this keyword gives the same output as the TABLEPCT keyword.<br />

TABLEPCT Table percentages. The population size estimate in each cell of a table is expressed<br />

as a percentage of the population size estimate for that table.<br />

STATISTICS Subcommand<br />

The STATISTICS subcommand requests various statistics associated with the summary value<br />

estimates in the table cells.<br />

If the STATISTICS subcommand is not specified, then CSTABULATE displays the standard<br />

error for each summary value estimate in the defined table(s) cells. However, if the STATIS-<br />

TICS subcommand is specified, then only those statistics that are requested are displayed.<br />

SE The standard error for each summary value estimate. This is default output<br />

if the STATISTICS subcommand is not specified.<br />

CV Coefficient of variation.

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

Saved successfully!

Ooh no, something went wrong!