Unit 4 · Relationships
How to run a Pearson correlation in SPSS
Run a Pearson correlation in SPSS, read the correlation matrix and report r in APA style.
Quick answer: How do you run a Pearson correlation in SPSS?
- Click Analyze › Correlate › Bivariate.
- Move two or more Scale variables into the Variables box.
- Keep Pearson ticked and click OK.
- Read r and Sig. (2-tailed) off the diagonal.
Report it in APA style: There was a strong positive correlation between revision hours and exam score, r(48) = .54, p < .001.
What is a Pearson correlation?
Pearson’s correlation coefficient, r, measures the strength and direction of the straight-line relationship between two Scale variables. It runs from −1 (perfect negative) through 0 (no linear relationship) to +1 (perfect positive).
When to use it
- Two Scale variables measured on the same people.
- You expect a linear relationship.
- If data are ordinal, skewed or have outliers, use Spearman’s rho.
How it works
r looks at whether people who are above average on one variable tend to be above (or below) average on the other. Technically it’s the covariance of the two variables divided by the product of their SDs, which puts it on a −1 to +1 scale. Squaring r gives the proportion of variance the variables share: r = .55 means about 30% shared variance. Rough guide: .10 small, .30 medium, .50 large.
Assumptions
- Both variables are Scale.
- The relationship is linear: check a scatterplot.
- No extreme outliers.
- Roughly normal distributions for significance testing.
Worked example
Revision hours and exam score were strongly positively correlated, r(48) = .54, p < .001: students who revised more tended to score higher, sharing about 30% of variance.
Key terms
- Correlation coefficient (r)
- Strength and direction of a linear relationship.
- Positive correlation
- Both variables rise together.
- Negative correlation
- One rises as the other falls.
- r²
- Proportion of shared variance.
Common mistakes
- Treating correlation as proof of causation.
- Missing a curved relationship that r reports as near zero: always plot first.
- Letting one outlier create or hide a correlation.
How to do it in SPSS
The SPSS syntax
Prefer typing to clicking? Open File › New › Syntax, paste this in, select it and choose Run › Selection. Every dialog's Paste button writes the same kind of code.
CORRELATIONS
/VARIABLES=hours score
/PRINT=TWOTAIL NOSIG
/MISSING=PAIRWISE.Practice data
Download the file used in this lesson and run it yourself in SPSS: you should get the same results as the screens above.
- exam_hours.savRevision hours, exam score and motivation (N = 50)
Now practise it interactively →
Reading is only half of it. Tap through the real SPSS menus, read the output and pick the right write-up in 7 quick questions, with instant feedback on every answer.
Practice for this lesson is part of Pro, with every unit, unlimited hearts and saved progress.