Unit 3 · Compare groups

How to run a paired-samples t-test in SPSS

Run a paired-samples t-test in SPSS for before-and-after data and report it correctly in APA style.

Pro lessonAbout 5 minutes6 practice questions

Paired-samples t-test

Use it when the same people are measured twice, such as anxiety before and after a course of therapy.

Paired-Samples T Test
Variables
Participant ID [id]
Age in years [age]
Paired Variables:2
PairVariable1Variable2
1anx_pre1anx_post
2
Options…Bootstrap…
✓Estimate effect sizes4
3Use the ↕ button to swap the order within a pair
OKPasteResetCancelHelp
  1. 1
    Pick the pairClick the first measurement, then the second, and move them across together with the arrow.
  2. 2
    Paired VariablesEach row is one pair. SPSS calculates Variable1 minus Variable2 for every person, then tests whether the average difference is zero.
  3. 3
    Order mattersPre − post gives a positive difference when scores go down. Swap them and the sign flips, but the p-value stays the same.
  4. 4
    Estimate effect sizesAdds Cohen's d.

Keep going with Pro

1 more annotated SPSS screen and 6 interactive practice questions are part of Pro, along with every other unit and unlimited hearts.

Unlock with Pro

More in Compare groups