Keep pairs aligned
Each X value is paired with the corresponding Y value in the same order.
Loading the interactive tool…
Explore linear association in paired observations.
Positive linear association
in these sample pairs.
| Number of pairs (n) | 5 |
| Mean of X values | 3 |
| Mean of Y values | 4 |
| X | Y |
|---|---|
| 1 | 2 |
| 2 | 4 |
| 3 | 5 |
| 4 | 4 |
| 5 | 5 |
Keep pairs aligned. Constant X or Y gives undefined r. Correlation does not establish causation.
Each X value is paired with the corresponding Y value in the same order.
We use the Pearson correlation formula on the paired values.
Look for a linear pattern, outliers or unusual features in the points.
Low linear correlation can hide a curved relationship. Outliers can change the coefficient.
No. A nonlinear pattern can still be present; inspect the points.
The coefficient divides by the spread of each list. With no variation, Pearson’s r is undefined.
Yes. Each X value needs its corresponding Y observation. Keep the original observation order aligned.