Is a correlation significant? The t-test of correlation
Test H₀: ρ = 0 with t = r√(n − 2) ÷ √(1 − r²), which has n − 2 degrees of freedom (df). If |t| exceeds the critical value, the correlation is statistically significant. The same correlation becomes more significant as the sample grows, so always look at both r and n.
Watch the lesson 16 min
The video follows this page: the same examples, then the checkpoint questions.
Before this: How a hypothesis test works: four steps from claim to decision, Covariance and correlation
On the exam
- Explain hypothesis testing and its components, including statistical significance, Type I and Type II errors, and the power of a test; construct appropriate hypothesis tests; and interpret the results
Explain the parametric test of a correlation and determine whether H₀: ρ = 0 is rejected at a given level. Expect to compute t from r and n, then compare it with a critical value the question supplies. One option usually uses n − 1 or leaves out the √(1 − r²) term.
How deeply to learn each part
- Know the idea
- Understand it in general. It frames other topics, but you will not calculate with it.
- Use it
- Understand it well enough to solve a question with it. Recognize when it applies.
- Memorize
- Learn it by heart. The exam will not give it to you.
You know this one. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still do.
You tested strong here. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still know it.
What does the t-test of a correlation test?
It tests whether the true population correlation, , differs from zero, given only the sample correlation coefficient you measured. A sample of paired returns will almost never show exactly zero correlation, even for unrelated series. The question is whether the you see is too far from zero to be luck.
This is a parametric test of correlation : it assumes both variables are approximately normally distributed. It is the test of the Pearson correlation coefficient , the ordinary correlation . The usual hypotheses are two-tailed.
How do you compute the t-statistic?
Scale the correlation by the square root of the degrees of freedom and divide by the square root of what the correlation leaves unexplained.
The t-statistic for a correlation follows a t-distribution with degrees of freedom . If is larger than the critical value, reject and call the correlation statistically significant .
Questions also turn the formula around: they give and and ask for , or give and and ask how many observations were used.
A sample of 36 observations has a correlation of 0.42. The t-statistic for H₀: ρ = 0 is closest to:
0.42 × √34 ÷ √(1 − 0.1764) = 2.6986
Test statistic, t2.6986
- 0.42×34√x÷(1−0.42x²)√x=
√x square root · x² square
- 0.42ENTER34g√x×1ENTER0.42ENTER×−g√x÷
ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root
Try this 0 of 3
- Keep r at 0.42 and α at 5%. Find the smallest sample in which it is still significant.
- Make a weak correlation (|r| of 0.15 or less, not zero) significant at 5%.
- Load the worked example (n 36, r 0.42) and switch α to 1%.
n = 36, r = 0.42: t = 2.70 with 34 degrees of freedom against a critical value of ±2.032 at 5%, so the correlation is statistically significant. At this sample size any |r| above 0.329 would be significant; that threshold falls toward zero as n grows.
Your sample: 36 months, r = 0.42
Smallest significant |r| at 5%
- Smallest significant |r|
- Your |r|: significant
Show working
H₀: ρ = 0 (no correlation in the population); Hₐ: ρ ≠ 0. Two-tailed test.
t = r√(n − 2) ÷ √(1 − r²) = 0.42 × √34 ÷ √(1 − 0.1764) = 2.4490 ÷ 0.9075 = 2.6986.
Degrees of freedom = n − 2 = 36 − 2 = 34. Critical value at 5%, two-tailed: ±2.032.
|t| = 2.70 > 2.032, so reject H₀: the correlation is statistically significant (p = 0.0108).
Same test, turned around: the smallest significant |r| at n = 36 is t_c ÷ √(t_c² + n − 2) = 2.032 ÷ √(4.1300 + 34) = 0.329.
A significant correlation still says nothing about cause: both series may simply respond to a third factor.
- 0.42×34√x÷(1−0.42x²)√x=t = 2.6986
√x square root · x² square
- 0.42ENTER34g√x×1ENTER0.42ENTER×−g√x÷t = 2.6986
ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root
Display: 2.6986
Why does sample size matter so much?
Because sits inside the numerator. Keep fixed and every extra observation makes larger, so a weak correlation that is noise in a small sample becomes significant in a big one.
The larger the sample, the smaller the correlation needed to reject . In very large data sets almost any correlation passes.
- |t| greater than the critical value Memorize a large t is far from zero
- Reject H₀ the correlation is statistically significant
-
- |t| at or below the critical value Memorize the sample could easily be noise
- Fail to reject H₀ not significant, which is not the same as proving ρ = 0
-
Exam tip Failing to reject is not proof that the correlation is zero. It only means this sample is not strong enough evidence. Never write “accept ”.
How do you read a correlation matrix?
Use it
Fund selectors test every pair in a correlation matrix . Take four funds with 48 monthly returns each. The two-tailed 5% critical value for 46 degrees of freedom is 2.013.
| Pair | r | t | Significant at 5%? |
|---|---|---|---|
| A–B | 0.62 | 5.36 | yes |
| A–C | 0.41 | 3.05 | yes |
| A–D | 0.18 | 1.24 | no |
| B–C | 0.35 | 2.53 | yes |
| B–D | 0.09 | 0.61 | no |
| C–D | 0.27 | 1.90 | no |
Three pairs are significant. The pairs whose correlation is not significantly different from zero (A–D, B–D, C–D) are the ones that offer the clearest diversification, though not significant is not the same as zero.
There is a shortcut. With one critical value and a fixed , the smallest significant correlation is . Here that is 2.013 ÷ √(2.013² + 46) = 0.285, so any |r| above about 0.285 is significant, and no calculation per pair is needed.
Go deeper Statistical significance is not economic significance
A significant correlation can still be too weak to build a trade or a hedge on, as the huge-sample example shows. Conversely, a large correlation in a tiny sample can fail the test. Report both the size of and the evidence behind it. And remember the test says nothing about cause: two series can move together because of a third factor or by coincidence.
Go deeper Link to simple regression
If you regress one variable on the other with a single explanatory variable, the t-statistic of the slope coefficient is exactly the same number as the t-statistic for the correlation, with the same degrees of freedom. Testing “the slope is zero” and “the correlation is zero” are the same hypothesis seen from two sides. You meet the regression version in Learning Module 10, simple linear regression.
Memorize this
MemorizeThe correlation t-test
| Item | Value |
|---|---|
| Null hypothesis | (two-tailed, ) |
| Statistic | |
| Degrees of freedom | |
| Decision | critical value → reject |
Memory hook Same df as a one-variable regression, which estimates two coefficients (intercept and slope): n − 2. The root of 1 − r² is the "noise" under the line.
Know it cold Reject only when |t| beats the critical value the question gives. Never "accept" H₀.
- |t| greater than the critical value Memorize a large t is far from zero
- Reject H₀ the correlation is statistically significant
-
- |t| at or below the critical value Memorize the sample could easily be noise
- Fail to reject H₀ not significant, which is not the same as proving ρ = 0
-
Quick example
A correlation of 0.52 from 34 observations. t = 0.52 × √32 ÷ √(1 − 0.2704) = 2.94 ÷ 0.854 = 3.44, with 32 degrees of freedom.
- 0.52×32√x÷(1−0.52x²)√x= 3.4438
√x square root · x² square
- 0.52ENTER32g√x×1ENTER0.52ENTER×−g√x÷ 3.4438
ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root
How it is asked
-
Compute t, then decide
r = 0.42 from 36 observations, critical value 2.032. Conclusion?
t = 0.42 × √34 ÷ √(1 − 0.1764) = 2.70 > 2.032: reject H₀. Option using n − 1 gives 2.74, a near-miss trap.
-
Same r, different n
The correlation is unchanged but the sample doubles. What happens to t?
√(n − 2) grows, so t rises and the correlation is more likely to be significant.
-
Degrees of freedom
Correlation of two return series, 45 observations. Degrees of freedom?
n − 2 = 43. The trap is 44 (n − 1).
-
Correlation matrix
48 months, critical 2.013: which pairs are significant?
Compute t for each r, or compare |r| with 0.285. Not significant does not mean zero.
Exam traps
- Using n − 1 (or n) instead of n − 2 degrees of freedom.
- Forgetting the √(1 − r²) in the denominator.
- Concluding that a significant correlation means one variable causes the other.
- Treating a small correlation from a huge sample as economically important: significant is not the same as large.
Checkpoint
5 exam-style questions. About 90 seconds each.
1A sample of 62 observations has a correlation of 0.28 between two return series. The t-statistic for H₀: ρ = 0 is closest to:
2An analyst tests H₀: ρ = 0 with 62 observations and gets a t-statistic of 2.26. The two-tailed 5% critical value is 2.000. The analyst should:
3Holding the sample correlation constant, increasing the sample size will most likely:
4An analyst finds a correlation of 0.35 between two series with 20 observations. With a two-tailed 5% critical value of 2.101, the t-statistic and the conclusion are closest to:
5With 2,000 monthly observations, the correlation between a currency's returns and a stock index's returns is 0.06, and the t-statistic is 2.69 against a critical value of about 1.96. The best conclusion is that the correlation is:
Key takeaways
- t = r√(n − 2) ÷ √(1 − r²), with n − 2 degrees of freedom.
- Bigger samples make the same r more significant.
- Significance is not causation, and not size.
Quick example
A correlation of 0.52 from 34 observations. t = 0.52 × √32 ÷ √(1 − 0.2704) = 2.94 ÷ 0.854 = 3.44, with 32 degrees of freedom.
- 0.52×32√x÷(1−0.52x²)√x= 3.4438
√x square root · x² square
- 0.52ENTER32g√x×1ENTER0.52ENTER×−g√x÷ 3.4438
ENTER enter (on the HP, puts the number on the stack) · g blue shift key · √x square root
All Quantitative Methods formulas, every lesson
Practice exam-style questions on Estimation and Hypothesis Testing
Questions about this lesson?
Where this comes back
- Spearman rank correlation: the non-parametric test Estimation and Hypothesis Testing
- Portfolio Return and Risk Quantitative Methods
- Simple Linear Regression in Finance Quantitative Methods
Questions candidates ask
How do you test if a correlation is significant?
State H₀: ρ = 0, compute t = r√(n − 2) ÷ √(1 − r²) with n − 2 degrees of freedom, and compare |t| with the critical value. If |t| is larger, reject H₀ and call the correlation statistically significant.
Why does the correlation t-test use n − 2 degrees of freedom?
Two quantities are estimated from the data before the test can be run, which uses up two degrees of freedom and leaves n − 2. It is the same count as in simple regression, where the intercept and the slope are estimated, and the correlation test gives the same t as the slope test.
Can a small correlation be statistically significant?
Yes. With a large sample, even r = 0.12 gives a big t because √(n − 2) is large. Significance says the correlation is unlikely to be zero, not that it is large or useful. Judge economic importance separately.
Spotted an error? Tell us and we will fix it.