All subjects · Psychology · WPS02 Biological Psychology, Learning Theories and Development

Spearman's rank correlation test

Edexcel IAL Psychology · WPS02 Biological Psychology, Learning Theories and Development

Spearman's rank (rho, rs) is the test of relationship named for Topic C. It tells you whether a correlation is significant (spec 3.2.4 and List B).

Practise this in the app: instant marking and a fix for every mistake. Free, no email needed to start.

Practise this lesson

When to use Spearman's rank

Choose Spearman's rank when:

Levels of measurement: nominal (categories, e.g. yes/no), ordinal (ranked, e.g. ratings out of 10), interval/ratio (equal units, e.g. hours). Spearman's works on ordinal data or above, so it is a non-parametric test.

Calculating rs

1. Rank each co-variable separately (lowest = 1). Tied scores share the average rank.

2. Find d = rank of A minus rank of B for each participant.

3. Square each d and add them: Σd².

4. Use rs = 1 - (6Σd²) / (N(N² - 1)), where N is the number of pairs.

The formula and critical value tables are given in the exam, and you can use a calculator.

Significance

Compare the observed rs (ignoring its sign) with the critical value for your N, level of significance and one- or two-tailed test. For Spearman's: the observed value must be equal to or greater than the critical value to be significant.

NOne-tailed p ≤ .05Two-tailed p ≤ .05Two-tailed p ≤ .01
80.6430.7380.881
100.5640.6480.794
120.5030.5870.727
150.4460.5210.654

Extract from Pearson's Spearman's rank critical values table

Worked data

Ten students: hours of screen time before bed (A) and hours of sleep (B).

PARank ABRank Bdd²
1128.29-749
22.557.16-11
30.518.610-981
44862636
5367.47-11
61.537.98-525
75105.81981
82475-11
93.576.9439
104.596.33636
Σd²320

Worked example

Use the worked data (N = 10) to calculate rs and decide if it is significant for a two-tailed test at p ≤ .05.

  1. Σd² = 320.
  2. rs = 1 - (6 x 320) / (10 x 99) = 1 - 1920 / 990 = -0.939.
  3. Critical value (N = 10, two-tailed, p ≤ .05) = 0.648.
  4. 0.939 ≥ 0.648, so the result is significant: reject the null hypothesis.

Answer: rs = -0.939: a strong, significant negative correlation.

Key idea: Spearman's: relationship + ordinal data. rs = 1 - 6Σd²/(N(N² - 1)). Significant if |rs| ≥ critical value. One-tailed for directional hypotheses.

Check yourself

  1. N = 12 and Σd² = 80. Calculate rs to 3 decimal places.
    Show answer

    0.720. rs = 1 - 480 / (12 x 143) = 1 - 480 / 1716 = 0.720.

  2. For N = 12, rs = 0.720, two-tailed test, p ≤ .05 (critical value 0.587). What do you conclude?
    • Significant: reject the null hypothesis
    • Not significant: keep the null hypothesis
    • Significant only at p ≤ .10
    • The test cannot be used with N = 12
    Show answer

    Significant: reject the null hypothesis. 0.720 ≥ 0.587, so it is significant.

  3. N = 8 and Σd² = 120. Calculate rs to 3 decimal places.
    Show answer

    -0.429. rs = 1 - 720 / (8 x 63) = 1 - 720 / 504 = -0.429.

  4. N = 8, rs = -0.429, one-tailed test at p ≤ .05, critical value 0.643. Is the result significant?
    • Yes, because the value is negative
    • No, because 0.429 is less than 0.643
    • Yes, because N is small
    • No, because Spearman's needs nominal data
    Show answer

    No, because 0.429 is less than 0.643. Ignore the sign: 0.429 < 0.643, so not significant.

  5. A researcher predicts a relationship between ratings of aggression (out of 10) and hours of sleep. Which test should be used?
    • Chi-squared
    • Wilcoxon signed ranks
    • No test is possible
    • Spearman's rank
    Show answer

    Spearman's rank. Relationship plus ordinal data: Spearman's.

  6. Using p ≤ .10 instead of p ≤ .05 makes which error more likely?
    • Type II error
    • Type I error
    • Observer bias
    • Sampling bias
    Show answer

    Type I error. A lenient level makes false positives more likely.

  7. Which hypothesis needs a one-tailed test?
    • There will be a relationship between sleep and aggression
    • Sleep and aggression may be related in some way
    • There is no relationship between sleep and aggression
    • Students who sleep less will report more aggressive tendencies
    Show answer

    Students who sleep less will report more aggressive tendencies. A directional prediction uses a one-tailed test.

  8. Look up the critical value for N = 15, two-tailed, p ≤ .05 in the table. Enter it.
    Show answer

    0.521. 0.521.

Practise with instant feedback

Sources

Last updated 8 November 2026. Spotted a mistake? Tell us.