GROUPS Subcommand (T-TEST command)
GROUPS specifies
a variable used to group cases for independent-samples t tests.
-
GROUPScan specify only one variable, which can be numeric or string.
Any one of three methods can be used to define
the two groups for the variable specified on GROUPS:
- Specify a single value in parentheses to group all cases with a value equal to or greater than the specified value into one group and the remaining cases into the other group.
- Specify two values in parentheses to include cases with the first value in one group and cases with the second value in the other group. Cases with other values are excluded.
- If no values are specified on
GROUP,T-TESTuses 1 and 2 as default values for numeric variables. There is no default for string variables.