Demonstrating causation
First, some reminders on
correlation
low correlation
high correlation
image adapted from Hyndman, R.J., & Athanasopoulos, G. (2021) Forecasting: principles and practice, 3rd edition, OTexts: Melbourne, Australia. OTexts.com/fpp3. Accessed on 20 Jul 2024.
One way to think about the strength of a correlation:
if you know the value of x, how accurately can you predict y?
low correlation
image adapted from Hyndman, R.J., & Athanasopoulos, G. (2021) Forecasting: principles and practice, 3rd edition, OTexts: Melbourne, Australia. OTexts.com/fpp3. Accessed on 20 Jul 2024.
high correlation
Correlations can also be
non-linear
image source: Hyndman, R.J., & Athanasopoulos, G. (2021) Forecasting: principles and practice, 3rd edition, OTexts: Melbourne, Australia. OTexts.com/fpp3. Accessed on 20 Jul 2024.
To demonstrate
causation
you need to:
1
2
3
rule out randomness
show the direction of causality
rule out confounds
1
rule out randomness
1
rule out randomness
(always an argument from probability)
Graph by Tyler Vigen (CC-BY-4.0)
Graph by Tyler Vigen (CC-BY-4.0)
Your correlation might be spurious if…
you searched through lots of variables looking for a correlation (Tyler Vigen’s database contains over 25,000 variables)
…
Graph by Tyler Vigen (CC-BY-4.0)
Your correlation might be spurious if…
your sample size is small
(here, n=6)
…
Graph by Tyler Vigen (CC-BY-4.0)
Your correlation might be spurious if…
you don’t account for outliers
(here, 2014 is an outlier
in both variables)
…
Graph by Tyler Vigen (CC-BY-4.0)
Your correlation might be artificially amplified if…
you use line charts.
…
Graph by Tyler Vigen (CC-BY-4.0)
1
rule out randomness
usually requires a randomized controlled study
and probability models typically only apply to random samples and randomized experiments
because making an argument from probability requires applying a probability model
source: xkcd
CC-BY-NC 2.5
source: xkcd
CC-BY-NC 2.5
source: xkcd
CC-BY-NC 2.5
source: xkcd
CC-BY-NC 2.5
source: xkcd
CC-BY-NC 2.5
2
rule out confounds
To demonstrate
causation
you need to:
(third variables that
affect both A and B)
violent crimes reported
ice cream consumption
correlation: 0.74
violent crimes reported
ice cream consumption
temperature
ruling out confounds requires
deep knowledge of the subject
violent crimes reported
ice cream consumption
temperature
careful study design
To demonstrate
causation
you need to:
3
show the direction of causality
3
show the direction of causality
getting hungry
eating
violent crimes
ice cream consumption
temperature
3
show the direction of causality
global warming
greenhouse gas emissions
3
show the direction of causality
global warming
greenhouse gas emissions
3
show the direction of causality
amount of grass
3
show the direction of causality
amount of grass
new grass seeding
increases
3
show the direction of causality
amount of grass
new grass seeding
increases
increases
3
show the direction of causality
amount of grass
new grass seeding
soil erosion
increases
increases
decreases
decreases
3
show the direction of causality
amount of grass
number of grazers
decreases
increases
3
show the direction of causality
amount of grass
new grass seeding
soil erosion
number of grazers
increases
decreases
increases
increases
decreases
decreases
3
show the direction of causality
show the direction of causality
amount of grass
new grass seeding
soil erosion
number of grazers
increases
decreases
increases
increases
decreases
decreases
hint: it’s usually part of a complex system
takeaway:
we can measure correlation
mathematically
but causation requires
logical / philosophical inference
(i.e. a deep understanding of complex systems,
data, experimental design, and statistics)