MathsFurther Statistics 2 › Testing a correlation coefficient

Testing a correlation coefficient

A sample correlation is almost never exactly zero, even when the population one is. Tables of critical values say how far from zero counts as evidence, and the threshold depends on how much data you have.

Year FMEDEXCEL 9FM0 FS2

Builds on Correlation coefficients and Hypothesis testing: correlation.

IN THIS TOPIC

  • State hypotheses about a population correlation coefficient correctly.
  • Read a critical value from the tables and reach a conclusion in context.
  • Explain the condition the product moment test needs and why the rank test avoids it.

WHAT YOU PROBABLY THINK

A sample correlation of 0.5 is moderately strong, so it is significant evidence of a real relationship.

Hypotheses about the population

The sample coefficient r estimates a population coefficient, written ρ for the product moment version and ρs for the rank version. The null hypothesis is always that the population value is zero, and the alternative is one-tailed or two-tailed according to what the question asks. Hypotheses must be written in terms of ρ, never r: the sample value is what you measured, not what you are testing.

Whether a given r counts as evidence depends entirely on the sample size. With n = 10 a coefficient of 0.5 falls short of the 5% critical value; with n = 30 it is comfortably significant. So the opening claim treats a number as meaningful without the one piece of information that gives it meaning.

Testing a correlation coefficient with n = 10 at 5% in one tail: the critical value is 0.5494−1010.5494r = 0.680.68 beats 0.5494, so reject the null hypothesis
FIG. 1The critical region for n = 10 at 5% in one tail, with an observed 0.68 falling inside it.

WORKED EXAMPLE

A one-tailed test

A sample of 10 pairs gives r = 0.68. Test at the 5% level whether there is positive correlation in the population.

H0: ρ = 0; H1: ρ > 0. One-tailed, 5%, n = 10.

From the tables the critical value is 0.5494.

Since 0.68 > 0.5494 the result lies in the critical region, so reject H0: there is evidence at the 5% level of positive correlation between the two variables.

Sample size changes everything

Critical values fall steadily as n grows, because a large sample makes a chance correlation less likely. At 5% in one tail the threshold drops from about 0.73 at n = 6 to about 0.31 at n = 30. That is why a strong-looking coefficient from five points proves very little, and a modest one from thirty proves rather a lot.

The product moment test carries a condition: the critical values assume the pairs come from a bivariate normal population. Formal checking is not required, but the condition should be stated. Spearman's test makes no such assumption, since it uses only the ranks, which is a second reason to prefer it for skewed data or for small samples with an outlier.

Critical values for the product moment correlation coefficient at 5% in one tail, falling as the sample grows0.7293n = 60.5494n = 100.3783n = 200.3061n = 30a bigger sample convicts on weaker evidence
FIG. 2Critical values at 5% in one tail for four sample sizes, falling from 0.73 to 0.31 as n grows.

YOUR TURN

A rank test

Two judges rank eight competitors and Spearman's coefficient is 0.905. Test at the 5% level whether there is positive agreement, given a critical value of 0.6429.

Show the working

H0: ρs = 0; H1: ρs > 0. One-tailed, 5%, n = 8.

The observed 0.905 exceeds the critical 0.6429, so the result is in the critical region.

Reject H0: there is evidence at the 5% level that the two judges agree in their rankings.

No assumption about the shape of the underlying distribution was needed, since only the orders were used.

THE EXAM BIT

  • Write the hypotheses using ρ or ρs, not r or rs; the sample value belongs in the comparison, not the hypothesis.
  • State the tail, the level and the sample size before quoting a critical value.
  • Conclude twice: once about the null hypothesis, once about the variables in context.
  • For the product moment test, mention the bivariate normal condition; for the rank test, say that no such condition applies.

CHECK YOURSELF

A sample of 20 pairs gives r = 0.35. The 5% one-tailed critical value is 0.3783. What do you conclude?

Show a hint

Compare, then say what it means for the variables.

Show the answer

0

.

3

5

<

0

.

3

7

8

3

,

s

o

t

h

e

r

e

s

u

l

t

i

s

n

o

t

i

n

t

h

e

c

r

i

t

i

c

a

l

r

e

g

i

o

n

.

D

o

n

o

t

r

e

j

e

c

t

H

:

t

h

e

r

e

i

s

i

n

s

u

f

f

i

c

i

e

n

t

e

v

i

d

e

n

c

e

a

t

t

h

e

5

%

l

e

v

e

l

o

f

p

o

s

i

t

i

v

e

c

o

r

r

e

l

a

t

i

o

n

i

n

t

h

e

p

o

p

u

l

a

t

i

o

n

.

Hypotheses are about the population coefficient ρ or ρs, tested against a critical value that depends on n, the tail and the level.

Critical values fall as n grows, and the product moment test assumes a bivariate normal population while the rank test assumes nothing.

WORKBOOK

Printable practice for this topic: original exam-style questions with room to work, and a fully worked answer book. Free to use; please do not redistribute or sell.

CHECK YOUR PROGRESS

Rate how confident you feel with each objective for this lesson. Ratings are saved in this browser, on this device only.

  • State hypotheses about a population correlation coefficient correctly.
  • Read a critical value from the tables and reach a conclusion in context.
  • Explain the condition the product moment test needs and why the rank test avoids it.

Open the full revision checklist to see every objective in the course in one place.

No animated video for this topic yet; these notes stand alone.