O1 - Correlation hypothesis tests

O1 - Correlation hypothesis tests

Interpret a supplied correlation coefficient and test for population linear correlation using a supplied critical value or p-value. Learn why strength, significance and causation answer different questions, and state what the evidence can reasonably support.

Correlation measures straight-line closeness

Can a sample coefficient of r=0r=0 accompany a perfectly predictable relationship? Yes: a U-shaped pattern can have no overall linear direction. A correlation coefficient measures closeness to a straight line, so the shape of the relationship matters.

For example, the paired values with x=−2,−1,0,1,2x=-2,-1,0,1,2 and y=x2y=x^2 have supplied coefficient r=0r=0. Each positive xx has a matching negative xx with the same yy. Their upward and downward linear contributions cancel, even though knowing xx determines yy exactly.

You already know

A scatter diagram shows paired quantitative observations. Positive correlation means larger values tend to occur together; negative correlation means larger values of one variable tend to accompany smaller values of the other. A hypothesis test uses a sample to investigate a population claim, with a stated risk of incorrect rejection.

Use a plot to check the shape before interpreting a single summary number. An outlier can also have a large influence on a coefficient.

Sample and population correlation

The sample product moment correlation coefficient, rr, measures the direction and closeness to a straight line in observed paired data. The population correlation coefficient, ρ\rho, describes population linear correlation. Both lie between −1-1 and 11. A magnitude of 11 represents exact straight-line alignment; zero represents no linear correlation, rather than no possible relationship.

The sign gives direction; the magnitude gives closeness to a line. Thus r=−0.92r=-0.92 represents closer alignment than r=0.40r=0.40, because 0.92>0.400.92>0.40. A negative number is not automatically a weak correlation. Nor is rr a gradient: converting a length from metres to centimetres changes a graph's gradient but leaves its correlation coefficient unchanged. These interpretations are not in the formula booklet: learn them.

Paired-data plots with positive linear alignment, negative linear alignment, and an exactly symmetric curved relationship with zero correlation

The third panel answers the opening puzzle visually. It has a relationship, but a straight line cannot describe its U shape. Zero correlation therefore does not establish independence. For this course, correlation coefficients are given; you do not need a method for calculating them.

Key idea

Read the sign as direction and the magnitude as straight-line closeness. A coefficient does not describe every kind of relationship.

The next question separates linear strength from the direction of the relationship.

Hypotheses about population correlation

A sample coefficient usually differs from zero even when the population has no linear correlation. The test asks whether the observed coefficient is sufficiently unusual under the population claim ρ=0\rho=0.

Write hypotheses using ρ\rho, rather than the already observed rr. As with a proportion test, choose the direction from the investigation before seeing the sample.

Investigative claimHypothesesRelevant direction
Positive population linear correlationH0:ρ=0H_0:\rho=0, H1:ρ>0H_1:\rho>0Large positive rr
Negative population linear correlationH0:ρ=0H_0:\rho=0, H1:ρ<0H_1:\rho<0Large negative rr in magnitude
Population linear correlation in either directionH0:ρ=0H_0:\rho=0, H1:ρ≠0H_1:\rho\ne0Large $

These hypothesis conventions are not in the formula booklet: learn them. The exact null distribution used for the usual PMCC test assumes that paired observations form an independent random sample from a bivariate Normal population. This means a joint Normal model for the two variables; it is stronger than merely having two separate bell-shaped histograms. You need to state or assess the assumption, not calculate a bivariate density.

Repeated measurements from the same person may be dependent. A volunteer sample may fail to represent the intended population. A numerical comparison can still be performed, but those weaknesses limit the resulting inference.

Worked example 1: a negative direction

Question. A researcher investigates whether students with longer journeys to school tend to sleep for fewer hours. Define the parameter, state hypotheses and name the distribution assumption for the usual PMCC test.

Plan. Name the population relationship, then translate “longer journey, less sleep” into its sign.

ρ=population correlation between journey duration and sleep durationH0:ρ=0no population linear correlationH1:ρ<0the proposed negative direction\begin{aligned} \rho&=\text{population correlation between journey duration and sleep duration} \\ H_0&:\rho=0 &&\text{no population linear correlation} \\ H_1&:\rho<0 &&\text{the proposed negative direction} \end{aligned}

Why use ρ\rho? The claim concerns all students in the intended population; rr only describes the observed sample.

Answer. Use a negative one-tailed test of H0:ρ=0H_0:\rho=0 against H1:ρ<0H_1:\rho<0, assuming an independent random sample of pairs from a bivariate Normal population.

Check. Larger journey durations paired with smaller sleep durations describe negative, rather than positive, linear correlation.

Example 2 changes only the investigative claim. There is now no predicted direction, so both tails matter.

Worked example 2: either direction

Question. The researcher instead investigates whether journey duration and sleep duration have population linear correlation in either direction. State the parameter, hypotheses and model assumption.

Plan. Keep the same population coefficient, but allow either sign in the alternative.

ρ=population correlation between journey duration and sleep durationH0:ρ=0same reference claimH1:ρ≠0both signs now relevant\begin{aligned} \rho&=\text{population correlation between journey duration and sleep duration} \\ H_0&:\rho=0 &&\text{same reference claim} \\ H_1&:\rho\ne0 &&\text{both signs now relevant} \end{aligned}

Why is the alternative not a sample coefficient? It specifies which population departures count as evidence before the sample is observed.

Answer. Use a two-tailed test, with the same independent random sampling and bivariate Normal assumptions.

Check. Both ρ=−0.4\rho=-0.4 and ρ=0.4\rho=0.4 satisfy the alternative; zero does not.

The sample coefficient determines the evidence, not the value to put into a population alternative.

Watch out

Wrong: after observing r=−0.63r=-0.63, write H0:r=0H_0:r=0, H1:r=−0.63H_1:r=-0.63. The first error uses a sample statistic in population hypotheses; the second makes the alternative an observed exact value. Right, for a pre-specified negative test: H0:ρ=0H_0:\rho=0, H1:ρ<0H_1:\rho<0.

Use the purpose of the study to correct the following positive-tail test.

Using supplied critical values and p-values

A critical value tells you how far the sample coefficient must lie from zero for rejection. Use the value supplied for the sample size, significance level and tail. There is no universal cutoff such as 0.50.5.

The Mathematics formula booklet has no statistical tables. AQA supplies the required critical value, a relevant extract, or a p-value. Do not calculate a PMCC or introduce an additional test statistic. The comparison rules themselves are not in the formula booklet: learn them.

For a positive one-tailed test, reject for sufficiently large positive rr. For a negative one-tailed test, reject for sufficiently negative rr. If a positive critical magnitude cc is supplied for that negative test, its signed boundary is −c-c. For a two-tailed test, compare ∣r∣|r| with the supplied two-tailed critical magnitude.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account