Association and causation
Find out why a strong pattern in data is not the same as cause and effect in Year 12 VCE General Mathematics. On a hot day at a Geelong beach, ice-cream sales and sunburn cases climb together, yet an ice cream has never burnt anyone. Spotting the real reason behind a link is a skill you will use every time you read a health headline or an advertisement.
You will learn to name a confounding variable and explain how it drives both variables, recognise coincidence and cause that runs the other way, and tell an observational study from an experiment. You will see why random allocation lets an experiment establish cause, and design simple experiments yourself, before modelling linear associations with the least squares line.
Theory
A strong association between two variables does not mean one causes the other. This Year 12 General Mathematics guide for students in Victoria shows how to spot a confounding variable or coincidence, tell an observational study from an experiment, and explain why random allocation is needed to establish cause and effect.
Two variables are associated when knowing one helps predict the other. A scatterplot and Pearson’s \(r\) show an association between numerical variables; clearly different percentages show one between categorical variables. Causation (cause and effect) means that changing one variable actually produces a change in the other. An association, however strong, does not by itself show causation.
Other explanations for an association include a confounding variable (a third variable that affects both, so they change together), coincidence (two unrelated variables that happen to move together, often just because both change over time), and cause running the other way (the “response” actually affects the “explanatory” variable).
How the data were collected matters. In an observational study the researcher only records what already happens, so the groups may differ in many ways. In an experiment the researcher sets the explanatory variable, randomly allocates subjects to groups, and keeps everything else the same. Only a well-designed experiment can establish cause and effect.
There is no formula that detects causation. The size of \(r\) describes how strong a linear association is, using the usual guide:
but even \(r\) close to \(1\) or \(-1\) says nothing about cause. The evidence for cause comes from the way the data were collected:
| Observational study | Experiment | |
|---|---|---|
| Explanatory variable | recorded as it is | set by the researcher |
| Groups | chosen by the subjects themselves | formed by random allocation |
| Other variables | may differ between groups | balanced between groups |
| Can show | association only | cause and effect |
How to judge a causal claim
- Describe the association: direction, form and strength, using \(r\) if it is given.
- Check how the data were collected. Did the researcher set the explanatory variable and use random allocation (experiment), or only record what happened (observational study)?
- Look for other explanations. Name a possible confounding variable and say how it affects both variables; consider coincidence and cause running the other way.
- Conclude. Observational data show association only. To establish cause, describe an experiment: random allocation to groups, only the explanatory variable changed, the response measured and compared.
Ask what could push both variables up at the same time.
| \(|r| = 0.84\) | \(\ge\) | \(0.75\) |
| \(\) | \(\Rightarrow\) | \(\text{strong positive}\) |
No. A likely confounding variable is the temperature. In hot weeks more people buy hats to keep the sun off, and more people suffer heat exhaustion. Both variables respond to the heat; a hat does not cause heat exhaustion (if anything, it helps prevent it).
Check whether there is any sensible link, and which variable could be affecting which.
(a) The association is strong, but there is no believable link between electric cars and cafes in one city. Both simply grew over the same years, so the association is most likely coincidence (with time, and population growth, behind both).
(b) People who are already healthy may find it easier to exercise, so good health could lead to more exercise, rather than exercise leading to good health. The data alone cannot tell which way the cause runs.
Study A: \(150\) office workers are asked how many cups of coffee they drink a day, and their typing speeds are recorded.
Study B: \(36\) volunteers are randomly allocated, \(18\) to drink a caffeinated drink and \(18\) to drink an identical caffeine-free drink, and their typing speeds are tested an hour later.
Decide who sets the explanatory variable in each study.
(a) Study A: it only records what the workers already do.
(b) Explanatory: whether the drink contains caffeine (set by the researcher). Response: typing speed.
(c) Study B. Random allocation balances other factors (such as typing experience or sleep) between the groups, and the drinks are identical apart from the caffeine, so caffeine is the only systematic difference. In Study A, heavy coffee drinkers may differ in many other ways, so it can show an association only.
The farmers chose their own fertiliser, so the farms may differ in other ways.
(a) It is an observational study. Farms using the new fertiliser may also have better soil, more rain or more irrigation, and any of these confounding variables could explain the faster growth.
(b) Randomly allocate the \(40\) plots into two groups of \(20\): one group gets the new fertiliser and the other the usual fertiliser. Treat both groups the same in every other way (same water, same grazing, same time), then compare the pasture growth. A clear difference would show that the fertiliser causes the change.
Common pitfalls
Frequently asked questions
What is the difference between association and causation?
An association means two variables tend to change together. Causation means a change in one actually produces a change in the other. Variables can be associated without one causing the other.
What is a confounding variable?
It is a third variable that affects both variables being studied, making them rise or fall together even though neither causes the other. For example, hot weather increases both ice-cream sales and sunburn cases.
What is the difference between an observational study and an experiment?
In an observational study the researcher only records what already happens. In an experiment the researcher sets the explanatory variable, randomly allocates subjects to groups and keeps everything else the same.
Why do you need an experiment to show cause and effect?
Random allocation balances other factors between the groups, so the explanatory variable is the only systematic difference. In an observational study the groups may differ in other ways that explain the result.
Does a high correlation mean one variable causes the other?
No. A high value of r only shows a strong linear association. It could be due to a confounding variable, coincidence, cause running the other way, or a real cause, and the data alone cannot tell which.
What does coincidence mean for an association?
Two unrelated variables can move together by chance, often because both simply increase or decrease over the same period of time. There is no real link between them.