Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 12 General (Unit 3 & 4) Bivariate data analysis 2

Association and causation

20 practice questions 0 video lessons Theory + worked examples

Learn why a strong pattern in data is not the same as cause and effect, for Year 12 General Mathematics in Queensland (QCAA). In a Townsville wet season, umbrella sales and mosquito bites climb together, yet an umbrella has never caused a bite. Spotting the real reason behind a link is a skill you will use whenever you read a news headline or an advertisement.

You will describe associations using \(r\) and \(R^2\), name a confounding (lurking) variable and explain how it drives both variables, and recognise coincidence. You will also see why only a controlled, randomised experiment can support a causal claim, bringing together your bivariate skills to solve practical problems.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A strong association between two variables does not mean one causes the other. This guide for Year 12 General Mathematics in Queensland shows how to describe an association, spot a confounding variable or coincidence, and judge causal claims with evidence from experiments.

Two variables have an association when knowing one helps predict the other: as one changes, the other tends to change in a consistent way. For numerical data, a scatterplot, the correlation coefficient \(r\) and the coefficient of determination \(R^2\) describe how strong it is. For categorical data, clearly different percentages across the groups of a two-way table show an association.

Causation means a change in one variable actually produces a change in the other. An association, however strong, does not prove causation. Two common non-causal explanations are a confounding (lurking) variable, a third variable that both variables respond to, and coincidence, where two unrelated variables happen to move together.

The reliable way to show causation is a controlled experiment, where subjects are randomly allocated to groups and only the explanatory variable is changed. Data that are simply observed (an observational study) can show association but cannot rule out other explanations.

Key idea. Association is not causation. Before accepting a causal claim, ask: could a confounding variable drive both? Could it be coincidence? Was there a randomised experiment?
A confounding variable Hot weather, the confounding variable, has arrows pointing to air-conditioner sales and to pool visits. A dashed line with a question mark joins the two: they are associated, but neither causes the other. Hot weather (confounder) Air-con sales Pool visits ? associated
A confounding variable: hot weather pushes up both air-conditioner sales and pool visits, so the two are associated even though neither causes the other.
A strong association that is not causalSix weeks of air-conditioner sales against pool visits (hundreds), rising together in a strong positive linear pattern with r = 0.99. air-con visits 10 20 30 40 10 20 30 40 50
The data show a strong positive association (\(r = 0.99\)), but buying an air-conditioner does not make people swim. The scatterplot alone cannot tell you why the variables move together.

Strength of a linear association, from the correlation coefficient:

\[|r| \ge 0.75 \text{ strong}, \quad 0.5 \le |r| < 0.75 \text{ moderate}, \quad 0.25 \le |r| < 0.5 \text{ weak}, \quad |r| < 0.25 \text{ none}\]
|r|≥0.75 strong

The coefficient of determination, as a percentage:

\[R^2 = r^2\]
R2=r2

Read \(R^2\) as: "\(R^2 \times 100\%\) of the variation in the response variable can be explained by the variation in the explanatory variable."

Watch the word "explained". In statistics it means the line accounts for that share of the variation. It does not mean the explanatory variable causes the response.

Analysing an association and a causal claim

  1. Describe the association. Give the direction, form and strength, using \(r\) (and \(R^2\) if useful).
  2. Look for a confounding variable. Ask what third factor could make both variables rise or fall together, and explain how it affects each one.
  3. Consider coincidence. If there is no sensible link, especially when both simply change over time, the association may be coincidence.
  4. Judge the claim. Observational data cannot prove causation. Say what controlled, randomised experiment would be needed to test it.
Example 1 β€” Finding a confounding variable
Over two years, a Townsville pharmacy found a strong positive association (\(r = 0.88\)) between the number of umbrellas it sold each month and the number of people it treated for mosquito bites. Does buying umbrellas lead to more mosquito bites? Explain.
Solution

Ask what could push both variables up at the same time.

No. A likely confounding variable is rainfall (the wet season). In wet months more people buy umbrellas, and the standing water lets mosquitoes breed, so there are more bites. Both variables respond to the rain; an umbrella does not cause a bite.

Example 2 β€” Coincidence
Over eight years, Queensland's annual strawberry harvest and the number of Brisbane library members both increased, with \(r = 0.91\). A blogger claims that joining the library makes people eat more strawberries. Give a non-causal explanation.
Solution

Check whether there is any sensible link between the two variables.

The association is strong, but there is no believable connection between library membership and the size of the strawberry harvest. Both just happened to grow over the same years, so the association is most likely coincidence. (Time, through population growth, may also act as a lurking variable.) It does not show that one causes the other.

Example 3 β€” Analyse, then judge the claim
For six Queensland primary schools, the table shows the number of computers and the number of students who passed a spelling test. A supplier claims: "More computers cause more students to pass." Describe the association using \(r\) and \(R^2\), then evaluate the claim.
Computers, \(x\)203550608085
Students passing, \(y\)314062588590
Solution

Use the calculator's statistics mode for \(r\), then square the unrounded value.

\(S_{xx}\)\(=\)\(3200\)
\(S_{yy}\)\(=\)\(2768\)
\(S_{xy}\)\(=\)\(2920\)
\(r\)\(=\)\(\dfrac{S_{xy}}{\sqrt{S_{xx} \times S_{yy}}}\)
\(r\)\(=\)\(\dfrac{2920}{\sqrt{3200 \times 2768}}\)
\(r\)\(\approx\)\(0.98\)
\(R^2\)\(\approx\)\(0.96\)
r≈0.98
Example 3 scatterplotStudents passing a spelling test against the number of computers at six schools, a strong positive linear pattern. computers passes 20 40 60 80 20 40 60 80 100

There is a strong positive linear association (\(r \approx 0.98\)): schools with more computers tend to have more students passing. About \(96\%\) of the variation in the number of students passing can be explained by the variation in the number of computers.

This does not support the claim. A likely confounding variable is the number of students enrolled: bigger schools have more computers and more students sitting the test, so more pass. Comparing the percentage who pass would be fairer.

Example 4 β€” Observational study or experiment?
A survey of mango farms near Bowen found that farms using a new fertiliser had higher yields than farms that did not. (a) Why does the survey not prove the fertiliser works? (b) Describe a study that could test it.
Solution

An observational study cannot control other differences between the farms.

(a) This is an observational study: the farmers chose whether to use the fertiliser. Farms that use it may also have better soil, more irrigation or more experienced growers, and any of these confounding variables could explain the higher yields.

(b) Run a controlled experiment. Take a large number of similar trees on the same farms and randomly allocate half to receive the fertiliser. Treat both groups the same in every other way, then compare the mean yields. Random allocation spreads the other factors evenly, so a clear difference would support causation.

Common pitfalls

A strong \(r\) is not proof. Even \(r = 0.99\) only shows the variables move together. Strength of association says nothing about why.
"Explained" is not "caused". In the \(R^2\) sentence, "can be explained by" is a statistical phrase. Avoid writing that \(x\) causes the variation in \(y\).
Name and explain the confounder. It is not enough to write "another variable". Name a specific variable and say how it affects both variables.

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. Association can exist without causation.

What is a confounding or lurking 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 air-conditioner sales and pool visits.

Does a high correlation mean one variable causes the other?

No. A high correlation coefficient only shows a strong linear association. It could be due to a confounding variable, coincidence, or a cause, and the data alone cannot tell which.

How can you prove causation in statistics?

Use a controlled experiment: randomly allocate subjects to groups, change only the explanatory variable, keep everything else the same, and compare the results.

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.

Does R squared tell you that x causes y?

No. R squared tells you the percentage of the variation in the response that can be explained by the variation in the explanatory variable, in a statistical sense only. It says nothing about cause.