Charta is on Google Play: practise on the go. Get the app

Explain how a correlation coefficient is tested

CFA® Level I · Quantitative Methods · Estimation and Hypothesis Testing · QM.7.d

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

From the question bank, with the reason each wrong option is wrong.

What is the null hypothesis in a standard test of a correlation coefficient?

  1. That the population correlation is zero - correct
  2. 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.
  3. 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.

You can see the correlation in your sample directly, so there is nothing to hypothesise about it. The real question is whether the two variables are linked in the whole population. The null hypothesis says there is no linear link: population correlation = 0. The test statistic is t = r x square root(n - 2) / square root(1 - r²), where r is the sample correlation. If it is large enough, we reject the null. It does not prove cause and effect.

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?

  1. 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.
  2. A relationship almost certainly exists, but it is very weak - correct
  3. 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.

Statistically significant only means the true correlation is probably not zero. With 5,000 observations, even a tiny link can be detected reliably. The size is a separate matter. R² = Correlation² = 0.08² = 0.0064, so the two variables share only about 0.6% of their movement. So a relationship almost certainly exists, but it is very weak, and likely too small to trade on once costs are paid.

The hardest tier

Two analysts test whether a stock's return is correlated with a sector index, each at the 5% level using a two-tailed test of zero population correlation. Analyst 1 finds a sample correlation of 0.50 from 10 observations. Analyst 2 finds 0.20 from 102 observations. The critical t-values are 2.306 for 8 degrees of freedom and 1.984 for 100 degrees of freedom. In which sample is the correlation significantly different from zero?

  1. Only the firstWhy not: A larger sample correlation does not by itself mean significance. For r = 0.50 and n = 10, t = 1.63, which is below the 2.306 critical value.
  2. NeitherWhy not: A small correlation can still be significant in a large sample. For r = 0.20 and n = 102, t = 2.04, which exceeds the 1.984 critical value.
  3. Only the second - correct

To test a correlation r from n observations: t = r x square root(n - 2) / square root(1 - r²), with n - 2 degrees of freedom. Analyst 1: t = 0.50 x square root(8) / square root(0.75) = 1.414 / 0.866 = 1.63, below 2.306, so not significant. Analyst 2: t = 0.20 x square root(100) / square root(0.96) = 2.0 / 0.980 = 2.04, above 1.984, so significant. A bigger sample makes even a weak correlation easier to confirm. Significant does not mean large: 0.20 explains only 4% of the variation.

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