SUBPOP Subcommand (CSTABULATE command)
The SUBPOP subcommand specifies subpopulations for which analyses are to be
performed.
- The set of subpopulations is defined by specifying
a single categorical variable, or two or more categorical variables,
separated by the
BYkeyword, whose values are crossed. - For example,
/SUBPOP TABLE = Adefines subpopulations based on the levels of variable A. - For example,
/SUBPOP TABLE = A BY Bdefines subpopulations based on crossing the levels of variables A and B. - A maximum of 16 variables may be specified.
- Numeric or string variables may be specified.
- All specified variables must be unique.
- Stratification or cluster variables may be specified,
but no other plan file variables are allowed on the
SUBPOPsubcommand. - Tabulation variables may not be specified on the
SUBPOPsubcommand. - The
BYkeyword is used to separate variables.
The DISPLAY keyword specifies the layout of results for subpopulations.
LAYERED. Results for all subpopulations are displayed in the same table. This is the default.
SEPARATE. Results for different subpopulations are displayed in different tables.