Does a correlation of 0 mean no relationship?

By Jude Wallis · Published

No. A correlation of 0 means no linear relationship, not no relationship. A data set following a perfect symmetric curve can have r exactly 0 while y is completely determined by x. Always look at the scatterplot before concluding that two variables are unrelated.

AP Statistics: Unit 5 (topics 5.1 Graphical Representations Between Two Quantitative Variables, 5.2 Correlation). Making and describing a scatterplot is Unit 5 topic 5.1 of the Fall 2026 AP Statistics course and correlation is topic 5.2, which asks you to interpret r as a measure of linear association only. Unit 5 contains no topic on transforming data to achieve linearity, so a curved pattern is described rather than re-expressed.

r measures one specific thing

The correlation coefficient rr measures the direction and strength of the linear association between two quantitative variables. That word is doing all the work, and it is the word people drop when they summarize.

The formula makes the restriction visible:

r=1n1(xixˉsx)(yiyˉsy)r = \frac{1}{n-1} \sum \left( \frac{x_i - \bar{x}}{s_x} \right) \left( \frac{y_i - \bar{y}}{s_y} \right)

Every term is a product of two standardized deviations. A point above the mean in both variables contributes a positive term, a point above in xx but below in yy contributes a negative term, and rr is essentially the average of those signed products. So rr near 0 means the positive and negative contributions cancel out. Cancellation can happen because there is no pattern at all, or because a strong pattern is arranged so that its two halves cancel exactly. The number cannot tell those two situations apart. Your eyes can.

A data set with r = 0 and a perfect relationship

A ball is launched straight upward at 30 meters per second. Idealizing gravity at 10 meters per second squared, its height above the launch point each second is:

Time tt (s)0123456
Height hh (m)025404540250

Height is exactly determined by time here: every value satisfies h=30t5t2h = 30t - 5t^2, equivalently h=455(t3)2h = 45 - 5(t - 3)^2, with no scatter and no measurement error. If you know the time, you know the height to the meter. That is as strong as a relationship gets.

Run the correlation on these seven points and you get r=0r = 0. Not 0.02, not 0.1. Exactly 0, and therefore r2=0r^2 = 0 as well. The least-squares line is h^=25\hat{h} = 25, a flat line through the mean height, with slope 0.

So here is a data set where yy is a perfect function of xx and where rr reports nothing. Anyone who reads "r=0r = 0, so time and height are unrelated" gets the physics exactly backwards.

Why the arithmetic collapses to zero

The cancellation is easy to see term by term. For the ball data, tˉ=3\bar{t} = 3 and hˉ=25\bar{h} = 25. The products (titˉ)(hihˉ)(t_i - \bar{t})(h_i - \bar{h}) that drive the correlation are:

ttt3t - 3h25h - 25Product
03-325-2575
12-200
21-11515-15
30200
411515
5200
6325-2575-75

The products come in matched pairs with opposite signs: 75 with 75-75, and 15-15 with 15. They sum to 0, so the numerator of rr is 0 and r=0r = 0 regardless of the standard deviations underneath.

That is the general mechanism, and it takes two conditions at once: the xx values placed symmetrically about xˉ\bar{x}, so every point has a partner the same distance away on the other side, and a yy that depends only on that distance. When both hold, the rising half contributes positive products, the falling half contributes equal negative products, and the sum is 0. The ball data satisfy both, which is why the products above pair off so neatly.

A symmetric curve on its own is not enough. Take x=0,1,2,3,6x = 0, 1, 2, 3, 6, so xˉ=2.4\bar{x} = 2.4, with y=(x2.4)2y = -(x - 2.4)^2: the parabola's vertex sits exactly at xˉ\bar{x}, yet r=0.6118r = -0.6118, because those five xx values are not placed symmetrically about 2.4, so no point has a partner an equal distance away on the other side. Respace them symmetrically, as 0,1.2,2.4,3.6,4.80, 1.2, 2.4, 3.6, 4.8, and rr returns to exactly 0.

The relationship is still there, and r can find part of it

Cut the same data at the peak and the correlation reappears immediately.

  • Only the way up, t=0t = 0 to t=3t = 3: r=0.9583r = 0.9583, a strong positive linear association.
  • Only the way down, t=3t = 3 to t=6t = 6: r=0.9583r = -0.9583, equally strong and negative.

Same ball, same seven points. Restricting the range flips rr from 0 to nearly ±1\pm 1. This is worth remembering as a second lesson: rr describes the data over the range you fed it, and it can change dramatically when that range changes.

It also shows what r=0r = 0 over the full range actually reported. It did not say "no association". It said "no net linear trend", which is true: a straight line fitted to all seven points really is flat, because the rise and the fall balance.

The fix: plot first, always

There is no numerical repair for this within the tools of this course. No statistic you will compute on the AP exam distinguishes a formless cloud from a perfect parabola if both have r=0r = 0; that is why the course puts the scatterplot before the correlation, not after.

Two habits handle it:

  1. Make the scatterplot before you compute anything. If the points trace a curve, rr is the wrong summary and you say so instead of quoting it.
  2. Check the residual plot after fitting a line. A clear curve or U shape in the residuals is evidence the linear model is wrong even when the numbers look acceptable. For the ball data, the residuals from the flat line are 25,0,15,20,15,0,25-25, 0, 15, 20, 15, 0, -25, an unmistakable arch. Reading those plots is covered in how to interpret residual plots.

The same warning runs the other way too: rr near ±1\pm 1 does not guarantee a line is appropriate, and a high r2r^2 can sit on top of a badly curved fit. That case is worked out in what is a good r-squared value.

What to write on the AP exam

Unit 5 of the Fall 2026 course covers scatterplots (5.1), correlation (5.2), linear regression models (5.3), residuals (5.4), and least-squares regression (5.5). The course has no topic on transforming data to achieve linearity, so when a pattern is curved the expected response is to describe it and to say that a linear model is not appropriate, not to re-express the variables.

Phrasing that earns credit:

  • "There is no linear association between xx and yy (r=0r = 0), but the scatterplot shows a strong curved association, so rr is not an appropriate measure here."

Phrasing that loses credit:

  • "r=0r = 0, so there is no association between xx and yy."

Also keep the independence claim out of your answer. Zero correlation does not mean the variables are independent; the ball data are the counterexample, since knowing the time pins the height exactly. Independence is a probability idea, checked with the rules for independent events, not with rr.

Computing r for the ball data and confirming it is zero

Using the seven ball-toss points (0,0)(0, 0), (1,25)(1, 25), (2,40)(2, 40), (3,45)(3, 45), (4,40)(4, 40), (5,25)(5, 25), (6,0)(6, 0), compute rr and r2r^2, find the least-squares line, and state what they do and do not tell you.

  1. Find the means: tˉ=0+1+2+3+4+5+67=217=3\bar{t} = \frac{0 + 1 + 2 + 3 + 4 + 5 + 6}{7} = \frac{21}{7} = 3 and hˉ=0+25+40+45+40+25+07=1757=25\bar{h} = \frac{0 + 25 + 40 + 45 + 40 + 25 + 0}{7} = \frac{175}{7} = 25.

  2. Find the sample standard deviations: st=2.1602s_t = 2.1602 seconds and sh=18.7083s_h = 18.7083 meters. Both are positive, so neither variable is constant and rr is defined.

  3. Sum the cross products (ti3)(hi25)(t_i - 3)(h_i - 25): 75+0+(15)+0+15+0+(75)=075 + 0 + (-15) + 0 + 15 + 0 + (-75) = 0.

  4. Since rr is that sum divided by (n1)stsh(n - 1)s_t s_h, and the sum is 0 while the denominator is positive, r=0r = 0 exactly. Then r2=0r^2 = 0 as well.

  5. Find the slope: b=rshst=0×18.70832.1602=0b = r \cdot \frac{s_h}{s_t} = 0 \times \frac{18.7083}{2.1602} = 0.

  6. Find the intercept: a=hˉbtˉ=250(3)=25a = \bar{h} - b\bar{t} = 25 - 0(3) = 25, so the least-squares line is h^=25\hat{h} = 25.

  7. Compute the residuals as observed minus predicted: 025=250 - 25 = -25, 2525=025 - 25 = 0, 4025=1540 - 25 = 15, 4525=2045 - 25 = 20, 4025=1540 - 25 = 15, 2525=025 - 25 = 0, 025=250 - 25 = -25.

  8. Those residuals rise then fall in a clean arch, which is the graphical confirmation that a line is the wrong model, not that the variables are unrelated.

r=0r = 0, r2=0r^2 = 0, and the least-squares line is the flat h^=25\hat{h} = 25. The correct conclusion is that there is no linear relationship between time and height. The relationship itself is perfect: every height satisfies h=30t5t2h = 30t - 5t^2 exactly, and the arched residual pattern says so.

Splitting the same data restores a strong correlation

Take only the first four ball-toss points, (0,0)(0, 0), (1,25)(1, 25), (2,40)(2, 40), (3,45)(3, 45), then only the last four, (3,45)(3, 45), (4,40)(4, 40), (5,25)(5, 25), (6,0)(6, 0). Compute rr for each half and explain the contrast with r=0r = 0 for all seven.

  1. First half means: tˉ=0+1+2+34=1.5\bar{t} = \frac{0 + 1 + 2 + 3}{4} = 1.5 and hˉ=0+25+40+454=27.5\bar{h} = \frac{0 + 25 + 40 + 45}{4} = 27.5.

  2. First half correlation: r=0.9583r = 0.9583, so r2=0.9184r^2 = 0.9184. A line explains about 91.84% of the variation in height over that range.

  3. Second half means: tˉ=3+4+5+64=4.5\bar{t} = \frac{3 + 4 + 5 + 6}{4} = 4.5 and the same hˉ=45+40+25+04=27.5\bar{h} = \frac{45 + 40 + 25 + 0}{4} = 27.5.

  4. Second half correlation: r=0.9583r = -0.9583, with the same r2=0.9184r^2 = 0.9184. The strength matches; only the direction flips.

  5. The fitted slopes are +15+15 meters per second going up and 15-15 meters per second coming down, mirror images about the vertex at t=3t = 3.

  6. Over the full flight the rising and falling halves contribute cross products that cancel term for term, which is why all seven points together give r=0r = 0.

r=0.9583r = 0.9583 on the way up and r=0.9583r = -0.9583 on the way down, against r=0r = 0 for the whole flight. The association never disappeared; the full-range correlation is 0 only because a rising half and a falling half of equal strength cancel.

Frequently asked questions

Does r = 0 mean the two variables are independent?

No. Independence is much stronger. The ball-toss data have r=0r = 0 while height is a deterministic function of time, so knowing the time tells you the height exactly. Independence implies zero correlation, but zero correlation does not imply independence.

Can a curved relationship really give r exactly 0, not just close to 0?

Yes, when the scatterplot is symmetric about the vertical line x=xˉx = \bar{x}, meaning the xx values sit symmetrically about xˉ\bar{x} and yy depends only on the distance from it. Then the cross products cancel in matched pairs and rr is exactly 0. The ball data are one example. Real data are rarely that tidy, so in practice you see rr near 0 with an obvious curve in the plot.

If r = 0, should I still fit a least-squares line?

You can, but it tells you nothing useful. The slope is rsy/sxr \cdot s_y / s_x, which is 0 when rr is 0, so the line is flat at yˉ\bar{y} and predicts the same value for every xx. Describe the curved pattern instead.

What does r = 0 look like on a residual plot?

With a flat fitted line, the residuals are just yyˉy - \bar{y}, so the residual plot has the same shape as the scatterplot. For the ball data that is an arch running 25,0,15,20,15,0,25-25, 0, 15, 20, 15, 0, -25, which is exactly the curvature that says a linear model is inappropriate.

How do I tell a genuine no-relationship r = 0 from a curved one?

Only by looking. A formless cloud of points and a perfect parabola can both return r=0r = 0, and no other statistic in this course separates them. Make the scatterplot first; if it shows a pattern, report the pattern rather than the correlation.