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 375<br />

• For example, /SUBPOP TABLE = A defines subpopulations based on the levels of variable<br />

A.<br />

• For example, /SUBPOP TABLE = A BY B defines subpopulations based on crossing the levels<br />

of variables A and B.<br />

• A maximum of 16 variables may be specified.<br />

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

• All specified variables must be unique.<br />

• Stratification or cluster variables may be specified, but no other plan file variables are allowed<br />

on the SUBPOP subcommand.<br />

• Tabulation variables may not be specified on the SUBPOP subcommand.<br />

• The BY keyword is used to separate variables.<br />

The DISPLAY keyword specifies the layout of results for subpopulations.<br />

LAYERED Results for all subpopulations are displayed in the same table. This is the default.<br />

SEPARATE Results for different subpopulations are displayed in different tables.<br />

MISSING Subcommand<br />

The MISSING subcommand specifies how missing values are handled.<br />

• All design variables must have valid data. Cases with invalid data for any design variable<br />

are deleted from the analysis.<br />

The SCOPE keyword specifies which cases are used in the analyses. This specification is<br />

applied to tabulation variables but not design variables.<br />

TABLE Each table is based on all valid data for the tabulation variable(s) used in creating<br />

the table. Tables for different variables may be based on different sample<br />

sizes. This is the default.<br />

LISTWISE Only cases with valid data for all tabulation variables are used in creating the<br />

tables. Tables for different variables are always based on the same sample<br />

size.<br />

The CLASSMISSING keyword specifies whether user-missing values are treated as valid.<br />

This specification is applied to tabulation variables and categorical design variables (i.e.,<br />

strata, cluster, and subpopulation variables).<br />

EXCLUDE Exclude user-missing values. This is the default.<br />

INCLUDE Include user-missing values. Treat user-missing values as valid data.

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

Saved successfully!

Ooh no, something went wrong!