sciandu
Mathematics

Mathematics

Scatter plots & correlation

Two quantities move together. But does one cause the other? The most common false conclusion in statistics.

So far you have looked at single data series: a mean, a , a distribution. But often something else is interesting: do two quantities move together? Do students who study longer do better? Does electricity use rise as it gets colder? For questions like these there is a picture of their own and a term of their own.

The scatter plot

For each person or each day you have two numbers. One is plotted to the right, the other upwards, and you get a point. All the points together form a cloud. Its shape is the real answer: if the points lie roughly along a rising line, both quantities grow together. If they fall, they move in opposite directions. If they form a shapeless cloud, there is no relationship.

Scatter view
Temperature (°C)Sales10
Strong positive correlation

But correlation is not causation: the ice cream does not warm the weather, summer drives both.

Three real patterns side by side. For ice cream sales the points clearly rise with temperature, a strong positive correlation. For heating costs they fall the warmer it gets, so negative. For shoe size there is a shapeless cloud, so no relationship at all. Watch the line: it summarises the cloud, but never replaces looking at the individual points.

Strength and direction

Two things describe a . The direction is positive or negative, depending on whether the cloud rises or falls. The strength says how tightly the points hug a line. It is measured with a number between 1-1 and +1+1, the coefficient. At +1+1 all the points sit exactly on a rising line, at 0 there is no linear relationship, at 1-1 they all sit exactly on a falling one.

1r+1-1 \leq r \leq +1
The sign gives the direction, the size gives the strength of the relationship.

A relationship is not a cause

Now comes the most important sentence of this topic. A correlation only says that two quantities occur together. It does not say that one causes the other. For every observed correlation there are four possible explanations, and only one of them is the obvious one.

First: A really does cause B. Second: B causes A, so the direction is reversed. Third: a third quantity causes both. Fourth: pure coincidence. The classic example is ice cream sales and the number of swimming accidents. Both rise together, but ice cream does not cause accidents. The third quantity is warm weather, and it drives both.

Exercises

0 of 6 solved

Time to try it yourself. You can't break anything, every attempt counts.

What does a scatter plot show?

The number of sunglasses sold and the number of sunburns rise together. What follows from that?

Which statement about correlation and causation is correct?

If both quantities rise together, you speak of a correlation.

A correlation coefficient always lies between two fixed numbers. What is the largest possible value?

Match each value of the correlation coefficient to the right point cloud.

r+0.9r \approx +0.9
r0r \approx 0
r0.9r \approx -0.9