TABLES Subcommand (MEANS command)
TABLES specifies
the table list.
- You can specify multiple
TABLESsubcommands on a singleMEANScommand (up to a maximum of 30). The slash between the subcommands is required. You can also name multiple table lists separated by slashes on oneTABLESsubcommand. - The dependent variable is specified first. If the
dependent variable is a string variable,
MEANSproduces only limited statistics (COUNT,FIRST, andLAST). The control (independent) variables follow theBYkeyword and can be numeric (integer or noninteger) or string. - Each use of the keyword
BYin 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 10BYvariable lists for eachTABLESsubcommand. - 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.