TABLES Subcommand (MEANS command)
TABLES
specifies
the table list.
- You can specify multiple
TABLES
subcommands on a singleMEANS
command (up to a maximum of 30). The slash between the subcommands is required. You can also name multiple table lists separated by slashes on oneTABLES
subcommand. - The dependent variable is specified first. If the
dependent variable is a string variable,
MEANS
produces only limited statistics (COUNT
,FIRST
, andLAST
). The control (independent) variables follow theBY
keyword and can be numeric (integer or noninteger) or string. - Each use of the keyword
BY
in a table list adds a dimension to the table requested. Statistics are displayed for each dependent variable by each combination of values and the totals of the control variables across dimensions. There is a maximum of 10BY
variable lists for eachTABLES
subcommand. - The order in which control variables are displayed
is the same as the order in which they are specified on
TABLES
. The values of the first control variable defined for the table appear in the leftmost column of the table and change the most slowly in the definition of groups. - More than one dependent variable can be specified in a table list, and more than one control variable can be specified in each dimension of a table list.