PAIRS Subcommand (T-TEST command)
PAIRS
requests
paired-samples t tests.
- The minimum specification for a paired-samples test
is
PAIRS
with an analysis list. Only numeric variables can be specified on the analysis list. The minimum analysis list is two variables. - If keyword
WITH
is not specified, each variable in the list is compared with every other variable on the list. - If keyword
WITH
is specified, every variable to the left ofWITH
is compared with every variable to the right ofWITH
.WITH
can be used withPAIRED
to obtain special pairing. - To specify multiple analysis lists, use multiple
PAIRS
subcommands, each separated by a slash. KeywordPAIRS
is required only for the first analysis list; a slash can be used to separate each additional analysis list.
(PAIRED). Special pairing
for paired-samples test. PAIRED
must be enclosed in parentheses and must be used with keyword WITH
. When PAIRED
is specified, the first variable before WITH
is compared with the first variable after WITH
, the second variable before WITH
is compared with the second variable
after WITH
, and so forth. The
same number of variables should be specified before and after WITH
; unmatched variables are ignored and
a warning message is issued. PAIRED
generates an error message if keyword WITH
is not specified on PAIRS
.
Example
T-TEST PAIRS=TEACHER CONSTRUC MANAGER.
T-TEST PAIRS=TEACHER MANAGER WITH CONSTRUC ENGINEER.
T-TEST PAIRS=TEACHER MANAGER WITH CONSTRUC ENGINEER (PAIRED).
- The first
T-TEST
compares TEACHER with CONSTRUC, TEACHER with MANAGER, and CONSTRUC with MANAGER. - The second
T-TEST
compares TEACHER with CONSTRUC, TEACHER with ENGINEER, MANAGER with CONSTRUC, and MANAGER with ENGINEER. TEACHER is not compared with MANAGER, and CONSTRUC is not compared with ENGINEER. - The third
T-TEST
compares TEACHER with CONSTRUC and MANAGER with ENGINEER.