📊 Statistics & Data

SPSS for Beginners: How to Run a T-Test

Don't let the SPSS output window scare you. Here is how to run a test and write the result.

If you are taking a statistics class for Nursing, Psychology, or Business, you have probably been told to "run a t-test in SPSS." The problem is, nobody actually explains what to click or how to read the output.

Here is a step-by-step guide to running an Independent Samples T-Test and understanding what the output actually means.

Step 1: When to use a T-Test

You use an Independent Samples T-Test when you want to compare the averages (means) of two different groups. For example: "Is there a difference in test scores between males and females?" or "Does Group A have a higher blood pressure than Group B?"

Step 2: Running the Test

  1. Click on Analyze in the top menu.
  2. Go to Compare Means > Independent-Samples T Test.
  3. Move your dependent variable (e.g., "Test Score") into the Test Variable(s) box.
  4. Move your grouping variable (e.g., "Gender") into the Grouping Variable box.
  5. Click Define Groups and enter the codes for your groups (e.g., 1 for Male, 2 for Female).
  6. Click OK.

Step 3: Reading the Output

You will get a table with two main rows: Equal variances assumed and Equal variances not assumed.

  • Look at the column labeled Sig. (This is your p-value).
  • If the Sig. is less than 0.05, there is a statistically significant difference between your two groups.
  • If the Sig. is greater than 0.05, there is no significant difference.

Step 4: Writing the APA Result

Professors want to see this written in APA format. Here is the template:

"An independent-samples t-test was conducted to compare [Variable 1] for [Group 1] and [Group 2]. There was a significant difference in the scores for [Group 1] (M = [Mean], SD = [SD]) and [Group 2] (M = [Mean], SD = [SD]); t([df]) = [t-value], p = [p-value]."


Still Stuck on Your SPSS Output?

SPSS is notorious for being counter-intuitive. If your output doesn't make sense, or you don't know which test to run for your dataset, we can help.

We offer live 1-on-1 SPSS tutoring. You share your screen, and we help you run the test, interpret the output, and write the APA result. We don't just give you the answer; we teach you what the numbers mean.

💬 Get Statistics Tutoring on WhatsApp