SPSS Independent Samples t-test Screenshot Tutorial

A researcher is interested in the average difference between males and females on a placement exam. Select Analyze -- Compare Means -- Independent Samples T-test.

Select the dependent variable (also known as outcome or Test Variable). Click the purple arrow to move it into the Test Variable(s) box.
Slect the independent variable (also known as the predictor or Grouping Varible). Click the purple arrow to move it into the Grouping Variable Box.

Click Define Groups.

Type in the numeric values you have assigned your grouping variable. In this case 1 = female and 2 = male. Click Continue.

Choose a method for dealing with missing values. The default in SPSS is "Exclude cases analysis by analysis". See the Help button for more information. Click Continue.

Example output. For Annotated Output, see UCLA's page.
SPSS Independent Samples t-test Script
T-TEST GROUPS=Sex(1 2)
/MISSING=ANALYSIS
/VARIABLES=PlacementScore
/CRITERIA=CI(.95).
Additional Questions
For additional questions or assistance, contact Tina Ughrin.