top of page

18.3 Hypothesis Tests for Correlation Coefficients

OCR A-level Maths Statistics and Mechanics Year 2 · H240 · Chapter 18: Further Hypothesis Testing

What is in the full lesson (10 activities)

Every item below opens free in the course.

A free OCR A-level Maths SM Year 2 lesson for OCR A Level Mathematics A (H240) from OBA School: pearson's product-moment correlation coefficient and testing whether the population correlation is zero (OCR H240: 2.05f, 2.05g). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Understand Pearson's product-moment correlation coefficient r as a measure of how close points lie to a straight line, and find it with a calculator
  • Write hypotheses about the population correlation coefficient ρ, one-tailed or two-tailed
  • Test for correlation using a table of critical values or a given p-value
  • Interpret the result in context, knowing that correlation does not imply causation

Key words

  • PMCC: Pearson's product-moment correlation coefficient, r, from −1 to 1. It measures linear association in a sample.
  • ρ (rho): The correlation coefficient of the whole population. A test uses r to decide whether ρ could be 0.
  • Critical value: From tables: reject H₀ when |r| is greater than this value (in the direction of H₁).
  • Bivariate normal: The model behind the tables: the pairs come from a population that gives a roughly elliptical scatter of points.
  • Causation: One variable directly changing another. A significant correlation alone does not show this.

The product-moment correlation coefficient

r = 1 means the points lie exactly on a line with positive gradient, r = −1 on a line with negative gradient, and r close to 0 means no linear relationship. You find r with the statistics mode of your calculator.

Worked example: finding r

Census-style data for 8 local authorities give the percentage of workers who cycle to work, x, and the percentage who drive, y.
x: 2.1, 3.4, 4.0, 5.2, 6.8, 7.5, 9.1, 10.3 y: 71, 68, 66, 62, 60, 55, 54, 49
Enter the pairs into the calculator in two-variable statistics mode and read off r.

Answer: r = −0.990 (3 s.f.): strong negative linear correlation

Hypotheses and critical values

The sample value r estimates the population value ρ. The null hypothesis is always "no correlation in the population". Use the context to choose H₁.

  • positive correlation; H₀ ρ = 0; H₁ ρ > 0; Reject when r > critical value
  • negative correlation; H₀ ρ = 0; H₁ ρ < 0; Reject when r < −(critical value)
  • some correlation; H₀ ρ = 0; H₁ ρ ≠ 0; Reject when |r| > critical value (two-tailed column)
  • 6; 5% one-tail (10% two-tail) 0.7293; 2.5% one-tail (5% two-tail) 0.8114; 1% one-tail (2% two-tail) 0.8822
  • 8; 5% one-tail (10% two-tail) 0.6215; 2.5% one-tail (5% two-tail) 0.7067; 1% one-tail (2% two-tail) 0.7887
  • 10; 5% one-tail (10% two-tail) 0.5494; 2.5% one-tail (5% two-tail) 0.6319; 1% one-tail (2% two-tail) 0.7155
  • 12; 5% one-tail (10% two-tail) 0.4973; 2.5% one-tail (5% two-tail) 0.5760; 1% one-tail (2% two-tail) 0.6581
  • 14; 5% one-tail (10% two-tail) 0.4575; 2.5% one-tail (5% two-tail) 0.5324; 1% one-tail (2% two-tail) 0.6120
  • 20; 5% one-tail (10% two-tail) 0.3783; 2.5% one-tail (5% two-tail) 0.4438; 1% one-tail (2% two-tail) 0.5155
  • 30; 5% one-tail (10% two-tail) 0.3061; 2.5% one-tail (5% two-tail) 0.3610; 1% one-tail (2% two-tail) 0.4226

Worked example: a one-tailed test

Using the data above, test at the 1% level whether there is negative correlation between the percentage who cycle and the percentage who drive.
H₀: ρ = 0, H₁: ρ < 0, where ρ is the population correlation coefficient
n = 8, 1% one-tailed: critical value 0.7887
r = −0.990 < −0.7887, so the result is significant: reject H₀

Answer: There is evidence at the 1% level of negative correlation between the percentage of workers who cycle and the percentage who drive.

Two-tailed tests and p-values

For H₁: ρ ≠ 0, use the two-tailed column. Software often gives a p-value instead: compare it with the significance level. A two-tailed p-value is double the one-tailed p-value for the same data.

Worked example: any correlation?

For 20 students, the correlation between hours of part-time work and mock exam mark is r = 0.41. Test at the 5% level for correlation.
H₀: ρ = 0, H₁: ρ ≠ 0; critical value for n = 20, 5% two-tailed: 0.4438
0.41 < 0.4438: not significant. (Software gives a two-tailed p-value of 0.0726 > 0.05.)

Answer: There is insufficient evidence at the 5% level of correlation between hours of part-time work and mock exam mark.

Exam tip: With a one-tailed H₁: ρ > 0 the critical value would be 0.3783, and 0.41 > 0.3783 would be significant. Choose the test before collecting data.

Interpreting the result

  • A significant result is evidence of a linear relationship, not of cause and effect: a third variable may drive both.
  • The test assumes a random sample from a bivariate normal population. Check that the scatter diagram is roughly elliptical.
  • One outlier can change r a lot. A curved relationship can give a small r even though the variables are strongly related.
  • Larger samples have smaller critical values, so a weak correlation can be significant if n is large.

Worked example: how big a sample?

A researcher expects r = 0.5. Using the 5% one-tailed critical values 0.5494 (n = 10), 0.5214 (n = 11) and 0.4973 (n = 12), find the smallest sample for which r = 0.5 would be significant.
Need 0.5 > critical value: 0.5 < 0.5214 for n = 11, but 0.5 > 0.4973 for n = 12

Answer: n = 12

Common mistakes

  • Writing hypotheses about r instead of ρ.
  • Using the one-tailed column for a two-tailed test (or the other way round).
  • For H₁: ρ < 0, comparing a negative r with a positive critical value without the sign: compare |r|, and check the direction.
  • Concluding that one variable causes the other.
  • Writing "there is correlation" instead of "there is evidence of correlation" in context.

Revision questions

Try these, then check your answers below each one.

Question 1. A researcher wants to test whether there is positive correlation between hours of revision and test score in the population. Which hypotheses should she use? (Choose from: H₀: ρ = 0, H₁: ρ > 0; H₀: ρ = 0, H₁: ρ ≠ 0; H₀: r = 0, H₁: r > 0; H₀: ρ > 0, H₁: ρ = 0.)

Answer: H₀: ρ = 0, H₁: ρ > 0

Working: H₀: no correlation in the population. H₁: positive correlation, one-tailed.

Question 2. A sample of 10 pairs gives r = 0.62. For a one-tailed test at the 5% level the critical value is 0.5494. Is there evidence of positive correlation?

Answer: Yes

Working: Yes. 0.62 > 0.5494, so reject H₀: there is evidence of positive correlation.

Question 3. A sample of 15 pairs gives r = −0.45. For a two-tailed test at the 5% level the critical value is 0.5140. Is there evidence of correlation?

Answer: No

Working: No. 0.45 < 0.5140: do not reject H₀. There is insufficient evidence of correlation.

Related lessons

Continue in the full course

This lesson is section 18.3 of our free OCR A-level Maths Statistics and Mechanics Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.

Continue lesson 18.3 in the free course →

 

 

 

 

 

 

 

bottom of page