VARIABLES Subcommand (T-TEST command)
VARIABLES
specifies the dependent variables to be tested in a one-sample or
an independent-samples t test.
-
VARIABLES
can specify multiple variables, all of which must be numeric. - When specified along with
TESTVAL
, the mean of all cases for each variable is compared with the specified value. - When specified along with
GROUPS
, the means of two groups of cases defined by theGROUPS
subcommand are compared. - If both
TESTVAL
andGROUPS
are specified, a one-sample test and an independent-samples test are performed on each variable.