PAIRS Subcommand (T-TEST command)
PAIRS requests
paired-samples t tests.
- The minimum specification for a paired-samples test
is
PAIRSwith an analysis list. Only numeric variables can be specified on the analysis list. The minimum analysis list is two variables. - If keyword
WITHis not specified, each variable in the list is compared with every other variable on the list. - If keyword
WITHis specified, every variable to the left ofWITHis compared with every variable to the right ofWITH.WITHcan be used withPAIREDto obtain special pairing. - To specify multiple analysis lists, use multiple
PAIRSsubcommands, each separated by a slash. KeywordPAIRSis 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-TESTcompares TEACHER with CONSTRUC, TEACHER with MANAGER, and CONSTRUC with MANAGER. - The second
T-TESTcompares 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-TESTcompares TEACHER with CONSTRUC and MANAGER with ENGINEER.