Explain how a correlation coefficient is tested
The idea
A sample correlation can be non-zero purely by chance, so a test is needed before concluding that two variables are related. The null is that the population correlation is zero, and the test statistic follows a t distribution with n - 2 degrees of freedom. The statistic rises with both the sample correlation and the sample size, which is why a weak correlation can be statistically significant in a large sample while a strong one is not significant in a small one. Significance answers whether a relationship exists, never whether it is large enough to act on.
Formulas
Test statistic for a correlation coefficient
t = r × √(n − 2) ÷ √(1 − r²)
- r
- the sample correlation
- n
- the number of paired observations
Tests whether a correlation differs from zero, with n − 2 degrees of freedom. A small correlation becomes significant on a large enough sample, which is why significance and importance are not the same finding.
A practice question
What is the null hypothesis in a standard test of a correlation coefficient?
- That the population correlation is zero — correct
- That the sample correlation is zeroWhy not: The sample correlation is observed, not hypothesised — you can simply look at it. The test is about the population value behind it.
- That the two variables are causally relatedWhy not: No correlation test addresses causation, and a null is normally the absence of an effect rather than its presence.
The test asks whether the observed sample correlation is large enough to rule out a population correlation of zero. It concerns the population, not the sample already in hand.
A harder one
A correlation of 0.08 is found to be statistically significant in a sample of 5,000. What does this tell an analyst?
- The relationship is strong enough to trade onWhy not: Significance says the relationship is probably not zero. At 0.08 it explains about 0.6% of the variation, which is unlikely to survive costs.
- A relationship almost certainly exists, but it is very weak — correct
- The sample must contain an errorWhy not: This is the expected result for a large sample. Detecting tiny effects reliably is what a sample of 5,000 is good at.
Large samples detect tiny effects reliably. Significance establishes existence; the coefficient itself says the relationship explains well under 1% of the variation.
The hardest tier
A correlation of 0.04 is significant in a sample of a million. What should an analyst conclude?
- That it exists and is too weak to use — correct
- That the relationship is strongWhy not: It explains about 0.16% of the variation. Significance is confidence that it is not zero, not a claim about size.
- That the test has failedWhy not: The test worked exactly as designed. A million observations can detect an effect this small, which is a feature rather than a fault.
A relationship almost certainly exists, and it is far too weak to act on. Significance answers whether a relationship exists, never whether it is large enough to matter.
In the app: 9 practice questions on this outcome, a narrated walkthrough with diagrams, spaced review that brings it back before you forget it.
Take the free diagnostic →More in Estimation and Hypothesis Testing
- Explain what a confidence interval around a population mean tells you
- Say what the central limit theorem states and what follows from it
- Contrast ways of sampling and explain sampling error
- Set up the null and the alternative hypothesis
- Explain what a p-value means and the two kinds of testing error
- Choose the right test for a hypothesis concerning a mean
- Contrast parametric with non-parametric tests and recognise when each is appropriate