VARIABLES Subcommand (EXAMINE command)

VARIABLES specifies the dependent variables and the cells. The dependent variables are specified first, followed by the keyword BY and the variables that define the cells. Repeated models on the same EXAMINE are discarded.

  • To create cells defined by the combination of values of two or more factors, specify the factor names separated by the keyword BY.

Caution. Large amounts of output can be produced if many cells are specified. If there are many factors or if the factors have many values, EXAMINE will produce a large number of separate analyses.

Example

EXAMINE VARIABLES=SALARY,YRSEDUC BY RACE,SEX,DEPT,RACE BY SEX.
  • SALARY and YRSEDUC are dependent variables.
  • Cells are formed first for the values of SALARY and YRSEDUC individually, and then each by values for RACE, SEX, DEPT, and the combination of RACE and SEX.
  • By default, EXAMINE produces Descriptives tables, stem-and-leaf plots, and boxplots.