Examples (T-TEST command)
One-Sample Test
T-TEST
/TESTVAL=322
/VARIABLES=brake
/CRITERIA=CIN (.90).
- The procedure compares the mean of brake with the test value 322.
- CRITERIA requests a 90% confidence interval for the mean difference.
Independent-Samples Test, using specific values
T-TEST GROUPS=insert(0 1)
/MISSING=ANALYSIS
/VARIABLES=dollars
/CRITERIA=CIN(.95).
- The procedure compares the means of the two groups defined by values 0 and 1 of insert for variable dollars.
- All other options are set to their default values.
Paired-Samples Test
T-TEST PAIRS=TEACHER CONSTRUC MANAGER.
- This paired-samples t test compares the means of TEACHER with CONSTRUC, TEACHER with MANAGER, and CONSTRUC with MANAGER.