Professor Turing

Study guides

Correlation and causation, explained

Last updated: 2026-11-23

Two things are correlated when they tend to rise and fall together. One causes the other only if changing the first would change the second. The usual way to tell them apart is to ask what else differs between the cases you are comparing, because a third thing that affects both can create a link that neither one causes.

Start learning No account needed

1. Answer three questions first

Before you read the example, write your answer to each of these, even a rough one. Here is the situation. A beach town counts 100 summer days. On days when more ice cream is sold, more people get sunburned.

  1. Does selling ice cream cause sunburn? Say yes or no, and give your reason.
  2. What else could be going on that would make both rise on the same days?
  3. Using only the 100 days, what would you compare to test your idea from question 2?

Writing a guess down first matters, because you will then notice exactly where the example changes your mind or confirms it.

2. A worked example: ice cream and sunburn

These counts are invented for the example, chosen so the arithmetic is easy to check. Of the 100 days, 50 were hot and 50 were cool. On 50 days a lot of ice cream was sold, and on the other 50 only a little was. Sunburn cases were counted for each day as "some" or "none." Here is the whole 100 days, split by weather:

  • Hot days with a lot of ice cream sold: 40 days, and 24 of them had sunburn cases.
  • Hot days with only a little ice cream sold: 10 days, and 6 of them had sunburn cases.
  • Cool days with a lot of ice cream sold: 10 days, and 1 of them had sunburn cases.
  • Cool days with only a little ice cream sold: 40 days, and 4 of them had sunburn cases.

The correlation. Add the hot and cool days together. On the 50 days with a lot of ice cream, 25 had sunburn cases, which is 50%. On the 50 days with only a little, 10 did, which is 20%. So the two move together, which is what you saw in the situation above.

Compare like with like. Now look at hot days only. With a lot of ice cream, 24 of 40 days had sunburn cases, which is 60%. With only a little, 6 of 10, which is also 60%. On cool days only, 1 of 10 is 10% with a lot of ice cream, and 4 of 40 is 10% with only a little. Inside each kind of weather, ice cream makes no difference to how often sunburn shows up.

What happened. Heat is a confounder: it makes people buy more ice cream and it makes sunburn more likely, and that produced the link in the combined numbers. Selling more ice cream did not cause the extra sunburn. If you answered question 2 with the weather, or the sun, you found the confounder yourself. If you answered with something else, check whether it would also explain the hot-day and cool-day split above.

3. Three reasons two things move together

  • One causes the other. Sun exposure causes sunburn, and a sunburned beachgoer might buy something cold, so the arrow can run in either direction and the data alone does not say which.
  • A third thing causes both. That is the confounder in the example above.
  • Chance. With a small number of days, two unrelated counts can line up by coincidence. Statistics courses cover how to judge whether a pattern is likely to be chance; see can you learn statistics on your own.

Your question 3 is the core of a causal check: hold the suspected third thing fixed and see whether the link survives. When the groups are formed by random assignment, the weather and other third things are spread across the groups by chance, which is why a randomized comparison supports a causal claim in a way a pile of observed days does not.

4. Check that you understand it

Close this page and explain the ice cream example to someone else, or to an empty room, in three or four sentences. Say what the two numbers 50% and 20% show, what the hot-day numbers show, and why the first pair is misleading by itself. Then pick a claim from the news that says one thing is linked to another and name one third thing that might affect both. If a step was missing, reopen section 2 and find the line that covers it. For the general method, see how to test yourself.

Can a correlation show that one thing causes another?

By itself, no. It is a reason to look for a cause, and the checks above are how you look.

What this page rests on, and its limits

The example is invented, and you can check each count in it by adding the four lines in section 2. It shows how a confounder produces a correlation. It does not show how common confounders are in real data, and we cite no study here, so treat the three reasons in section 3 as a standard way to organize the question and not as a finding.

How Professor Turing helps

Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start.

Bring the three questions from section 1, or a claim from your statistics course. Its first reply asks what you already know before it teaches anything. If you answer with a bare guess, such as "ice cream is a cause," it asks how you got there instead of saying right or wrong, and when you stay stuck it tries another explanation and makes the next step smaller. It does not read or mark a written answer, and it does not write your explanation for you, so the explanation has to be yours. You must be 18 or older, and conversations are deleted after 7 days.

FAQ

Can a correlation show that one thing causes another? By itself, no. A correlation tells you the two move together, and it is a reason to look for a cause. Comparing groups that were assigned at random, or comparing like with like as we did with hot days and cool days, is what supports a causal claim.

What is a confounder? A third thing that affects both of the things you are comparing. In our example, a hot day makes people buy ice cream and also makes sunburn more likely, so it creates a link between the two that neither one causes.

Can the tutor mark my answers to the three questions? No. It does not take a written answer to mark. It can ask you the questions and ask how you got your answer, and you write the explanation yourself.

Start with what you're working on

Tell the tutor which topic you are studying and let it ask you the questions.

Start learning No account needed

See also: all study guides