One of the most important concepts to master in your research is causality. Many research questions ultimately boil down to causal puzzles:
Understanding causation is the key to designing accurate studies, drawing robust conclusions and making credible recommendations.
It’s not enough to simply observe that two things happen together.
You need to understand why.
This article explains how to design experiments that reveal true cause-and-effect relationships, drawing inspiration from Judea Pearl’s insightful book, “The Book of Why: The New Science of Cause and Effect.”
Correlations, causality and confounders
For years, scientists warned about the health risks of drinking coffee. Early studies linked coffee drinking to heart disease and other health problems. However, as the scientific methods improved, researchers discovered something unexpected about these findings.
The findings revolve around three key scientific concepts. The first is correlations, which happens when two things occur together. For example, people who eat more ice cream also tend to get more sunburns. The second concept, causality, indicates that one thing directly causes another, such as sunny weather leading to increased ice cream consumption. The third concept, confounders, involves hidden factors that can trick us into seeing false connections. In this case, it’s not the ice cream (correlation), but the sunny weather (confounder), that causes sunburns.
In the case of coffee, scientists noticed something odd in their data. Coffee drinkers seemed to have more health problems. To understand why, they examined people’s daily habits more closely and identified the confounding factor.
Smoking.
People who smoked tended to drink more coffee, and smoking caused heart disease. Coffee wasn’t harming anyone. Instead, its reputation suffered because of the higher prevalence of smokers among coffee drinkers.
This demonstrates how understanding statistical concepts like correlation, causation, and confounding factors is essential in scientific research. The coffee-health relationship is a classic example of how overlooking confounding factors can trick us into seeing false connections. It reminds us to carefully examine the complex relationships between all factors before drawing definitive conclusions about causality.
Understanding causality
At its core, scientific inquiry seeks to understand what happens around us and why it happens. Causal reasoning goes beyond spotting correlations to uncover the true pathways through which one thing (a cause) triggers another (an effect). Techniques such as creating cause-effect diagrams and employing counterfactuals enable us to understand how things connect and influence each other.
Counterfactuals
Counterfactuals in research experiments refer to hypothetical scenarios exploring “what would have happened if” (an experimental condition had been different).
Imagine you’re studying whether a new teaching method improves student test scores. The counterfactual would be those same students’ scores if they hadn’t received the new teaching method. Of course, it’s impossible to observe both scenarios with the same students at the same time. This is known as the “fundamental problem of causal inference.”
To address this, researchers use various methods to approximate counterfactuals:
If studying the impact of a job training program, we can’t observe both what happens when someone takes the program AND what would have happened if they hadn’t. Instead, we might compare participants to a similar group who didn’t participate, using careful matching to create a credible counterfactual.
Good counterfactuals help us isolate the true effect of our intervention by showing what would have occurred without it. This helps distinguish correlation from causation.
Causal diagrams

Causal diagrams offer researchers a structured approach to map and understand complex relationships across their studies. These visual frameworks can work as a foundation for planning and executing experimental research by connecting outcomes and influencing factors in a clear, organized system.
During planning, researchers map control variables and spot potential confounding factors. The diagrams show which variables to measure in the design phase and how different factors connect. For analysis, these diagrams help researchers trace results back to their sources and spot gaps for future studies. The diagrams also excel at documenting research decisions by showing theoretical frameworks and experimental controls in an accessible format that research teams can share and understand.
Why causal reasoning matters
Causal reasoning is critical for scientific thinkers for several key reasons:
Judea Pearl argues in “The Book of Why” that causal reasoning is central to creating intelligent systems that reason about the world like humans do. Many modern AI approaches heavily rely on pattern recognition and statistical learning from data without understanding the causal “why” behind patterns.
A brief history of causal thinking
The drive to understand causality has deep historical roots. Key milestones include:
Types of causal relationships
Not all causes are equal. Key distinctions include:
Establishing Causality: Pearl’s Ladder of Causation
Pearl’s “The Book of Why” proposes three levels for establishing causal relationships:
Example: Berkeley admissions
Berkeley admissions data initially showed a correlation between gender and acceptance rates, with men more likely to get in (level 1). However, analyzing admissions within each department, this correlation vanished. The bias appeared because women applied to more competitive departments (level 2). To ask the counterfactual, “What would the admissions outcome have been for a female applicant had she been male?” researchers would model the causal effect of gender on acceptance rates per department (level 3).

Graph created with SigmaPlot 16 of Berkeley admissions data (Bubble and Scatter plot with symbols).
From a causal perspective, this example of Simpson’s paradox reveals that naive statistical associations can be misleading about true causal relationships. This is why causal inference frameworks (like Pearl’s do-calculus or potential outcomes) emphasize the importance of proper conditioning on variables and understanding the causal structure underlying the data.

Simpson’s paradox occurs when a trend appears in several groups of data but disappears or reverses when these groups are combined. This phenomenon highlights how confounding variables can drastically alter our interpretation of data.
Designing effective causal experiments
Researchers can design robust causal experiments with a few key principles:
To cement these abstract ideas, consider a few concrete examples:
Controlled experiments are like adjusting individual ingredients in a recipe and observing the result, while causal inference tries to unveil the underlying composition from observed flavours. Causal diagrams map these influences, showing how each ingredient affects the final taste. They tell us which variables directly change others, which ones work together, and which ones we need to control to understand specific relationships.
Bottom line
Understanding how the world works requires causal reasoning. Pearl and others leading the “causal revolution” gave us tools to uncover causal relationships behind correlations. By carefully considering the underlying mechanisms and confounding factors, we can move beyond mere associations to identify the true drivers of observed phenomena. They guide us in setting up experiments that expose true causes and effects. Causal inference is powerful and you too can use it. Seeing two things together doesn’t mean one caused the other. With the right approaches, you can find the hidden causal structures and understand how things work.

