Lesson 2 of 6 · 13 min
The t-test for a Pearson correlation
A sample correlation is never exactly zero, so convert it into a t-statistic with n − 2 degrees of freedom and ask whether it is too large to be sampling noise.
In short
- Test statistic: , t-distributed with n − 2 degrees of freedom.
- It is a parametric test: both variables are assumed to be normally distributed.
- The sign of t is the sign of r; t grows as |r| rises and as n rises.
- Two-sided test: reject if t is beyond . One-sided test: put all of in the tail named by .
- Rejecting means the evidence is sufficient to say the correlation differs from zero; failing to reject does not prove it is zero.
Unlock this lesson free for 7 days
Create a free account to get 7 days of full access — every lesson, video, flashcard, mock and the question bank. No card needed.