Correlation coefficient
By Jude Wallis · Published
The correlation coefficient r measures the direction and strength of a linear relationship between two quantitative variables, always between -1 and 1.
The correlation coefficient reports two things and nothing else: which way a cloud of points tilts, given by its sign, and how tightly the cloud hugs a straight line, given by its size. It is confined to the interval from to , and it reaches either end only when every point lies exactly on one line. It has no units and it does not change if you swap which variable is explanatory.
Six students study 1, 2, 3, 4, 5 and 6 hours and score 60, 72, 65, 78, 71 and 86. For these points , a fairly strong positive linear association, and squaring it gives , so the least-squares line accounts for about 66 percent of the variation in the scores.
Two readings of 0.8107 are wrong. It is not a percentage of points on the line, and is not on a ratio scale, so " is twice as strong as " fails. Halve this correlation to and the variation explained falls from 0.657 to 0.164, roughly a quarter as much rather than half. Strength comparisons belong to , not to .
The boundary is the word linear. An near 0 rules out a net straight-line trend and rules out nothing else. When the -values are spaced symmetrically about (x-bar) and depends only on the distance from that center, as on a parabola with its vertex at , the positive and negative contributions cancel exactly and while is a perfect function of . The symmetry is part of the condition, not decoration: the -values 0, 1, 2, 3, 6 have , and the parabola centered there gives instead. That case is worked through in does a correlation of zero mean no relationship.
Correlation is topic 5.2 in Unit 5, Regression Analysis.
Where this comes up
More regression and correlation terms, or browse the full statistics glossary.