Lesson 2 of 6 · All lessons in this module
- Parametric vs non-parametric tests, and correlation hypotheses
- The t-test for a Pearson correlation
- Sample size, p-values and many correlations at once
- The Spearman rank correlation testVideo lesson
- Contingency tables and the chi-square test of independenceVideo lesson
- Interpreting the result: standardized residuals and mosaics
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 free: every lesson, video and flashcard, and the question bank. No card needed.