Correlation
By Jude Wallis · Updated
Correlation measures the strength and direction of the linear relationship between two quantitative variables on a unit-free scale from -1 to 1.
Correlation is a single number, written , that reports how tightly the points of a scatterplot cluster around a straight line and which way that line tilts. It is the average product of standardized values, , where (read x-bar) and are the mean and standard deviation of the explanatory variable. Both variables have to be quantitative, and it is the standardizing that strips the units out.
Five afternoons at a drinks stall pair the high temperature in degrees Celsius, 20, 22, 24, 26 and 28, with cups sold, 15, 21, 18, 27 and 30. Those data give . Rewrite the temperatures in Fahrenheit as 68, 71.6, 75.2, 78.8 and 82.4 and is still 0.9150, while the fitted slope drops from 1.8 cups per degree to 1.0. Swap the roles of the two variables so that cups predicts temperature and comes out at 0.9150 again, because the formula treats and symmetrically. The slope does not.
Here is the sentence to stop writing: " is twice as strong as ." Correlation is not on a ratio scale, so the arithmetic of everyday comparison does not apply to it. Squaring turns each value into a share of variation explained, and against , four times as much rather than twice. The same mistake produces " means 90 percent of the points lie on the line", which describes nothing measures.
Two limits matter more than any threshold for what counts as strong. sees straight-line patterns only, so a tight curve can still return a value near 0. And is not resistant: one point far from the rest moves it on its own, which is why you read the scatterplot before you trust the number.
Correlation is topic 5.2 in Unit 5 of the Fall 2026 AP Statistics course. Association is the wider idea that is one measure of, and the two are set against each other on the correlation vs association page.
Correlation is the entire mechanism behind diversification. Combining assets reduces risk only when their returns are less than perfectly correlated, so the value of between two holdings decides whether owning both helps at all: diversification.
Where this comes up
- Correlation vs causation, with real examplesGuide
- Slope vs correlation coefficient in regressionComparison
- Correlation vs regression: how they differComparison
- AP Stats 5.2: Correlation Coefficient rAP topic
- Does a correlation of 0 mean no relationship?Guide
- Correlation and residual plot practice problemsPractice
- Regression and correlation practice problemsPractice
- How to find the correlation coefficient r by handGuide
27 pages on the site use this term.
More regression and correlation terms, or browse the full statistics glossary.