Introduction to Causal Inference
Anyone with even a passing familiarity with research has heard that ‘correlation does not equal causation,’ and every year thousands of observational human and veterinary medical studies are published that detail risk factors for a variety of outcomes like cardiovascular disease, cancer, or death. Unfortunately, there is often little to no consideration of whether those risk factors truly have any causal relationship to the outcome under study and thus no answers to whether modifying those risk factors would result in any improvement in outcomes. It does not have to be this way.
Causal inference is a discipline that aims to understand the underlying causes of various outcomes by combining data with causal models. Causal models are merely stated assumptions that any researcher or clinician may hold about the potential causal relationships between two or more variables being investigated. These assumptions are based in their areas of expertise and general knowledge within their field of study. These models are often diagrammed in the form of directed acyclic graphs (DAGs) consisting of nodes representing different variables and arrows from one node to another representing how one variable is thought to possibly exert an effect on the other. DAGs describe the variables which can potentially affect or be affected by the primary exposure and outcome variables of interest. In their simplest form, for example, representing an experiment under controlled conditions – a DAG can consist of two nodes, X and Y, representing an exposure and outcome with an arrow pointing from X to Y (Figure 1). This DAG would represent an assumption – based on prior knowledge – that a change in X, such as the vertical force exerted on a ball tossed straight up into the air, causes a change in Y, namely, the peak height of the ball. DAGs describing more complicated real world phenomena, such as the pathophysiology of different diseases, can have many simple and complicated variables in their construction.
Any set of three variables in a DAG – exposure, outcome, and a third variable – can be connected in three ways (Table 1). One connection type is called a chain (Table 1A). In a chain, an exposure exerts an effect on a third variable, and the third variable exerts an effect on the outcome (in such cases, the exposure may also exert an independent direct effect on the outcome under study). Thus, the third variable acts to mediate the effect of the exposure on the outcome. The second connection type is called a fork (Table 1B). In a fork, one variable exerts an independent effect on two other variables. When a third variable affects both the exposure of interest and the outcome of interest, it is called a confounder because it makes it unclear whether a causal pathway actually exists between the exposure of interest and the outcome of interest.
As an example, consider we are trying to determine the effect of receiving a cardiac medication on the likelihood of experiencing a myocardial infarction (MI), or heart attack, in the general population of people. In this case, age may confound the relationship because it both affects the likelihood of receiving cardiac medication and the likelihood of experiencing a MI. If we do not account for age in some way, either by stratifying the data by age or controlling for age in a regression analysis, we may erroneously conclude that not receiving the medication is associated with a reduced likelihood of a MI; this would be because the youngest patients, who typically would not be receiving the medicine, had the lowest baseline risk of MI. In middle-aged to older people, however, receiving the cardiac medication may be associated with reduced likelihood of MI. By adjusting for the age confounder, we could then determine that, for any given age, the risk of MI is lower in the medically treated group.
Lastly, the third connection type is called a collider (Table 1C). In a collider, two variables independently affect a third variable; often, this is the exposure and outcome variables affecting a third variable. When this collider is not recognized or appreciated, it may cause an erroneous understanding of the causal relationships at play. Consider the same example as above, a study of the relationship between receiving a cardiac medication and likelihood of experiencing a heart attack in the general population. Let’s assume, out of convenience, we have opted to use hospitalized patients – both receiving and not receiving cardiac medication – for our study. This is potentially problematic, however, because both being on heart medications and having a MI independently affect how likely a person is to be hospitalized. Someone receiving cardiac medications (and possibly other medications) is more likely to be monitored by a clinician and to have comorbidities requiring hospitalization than the average person not receiving cardiac medications. Similarly, a person who has just experienced a MI is more likely to be hospitalized than someone who hasn’t. Thus, hospitalization is a collider. When we adjust, or condition, on hospitalization by only including hospitalized patients in our study, the causal relationship between receiving heart medications and the likelihood of MI in the general population is distorted, even when adjusting for confounders. A better strategy would be to sample randomly from the general adult population.
Causal diagrams are especially useful for planning one’s data analysis. They promote good statistical practice by requiring investigators to think about the topic of interest and define their hypotheses about causal links a priori, which limits both the number of statistical tests that are performed and the typical post-hoc rationalizations given when unexpected associations are found. Causal diagrams also allow identification of non-causal pathways linking the exposure-outcome dyad of interest, which are said to be “open” if confounders (or fork connections) of the exposure-outcome are not adjusted for or if collider variables are adjusted for, which would result in selection bias and distortion of the causal relationship in an exposure-outcome pair of interest.1 Mediator variables, the middles of chain connections, are often left unadjusted, because investigators are usually interested in the total effect of an exposure on an outcome.
For example, let’s return to our study which aims to determine whether receiving a heart medication changes the likelihood of experiencing a myocardial infarction in the general population. According to our DAG (Table 1A), the heart medication has some direct effect on MI incidence, but it also affects blood pressure, which itself affects the likelihood of developing a MI. During the data analysis, if the investigator unwittingly adjusts for blood pressure by including it in a multiple regression analysis as a potential confounding variable, they are only evaluating the direct effects of the drug on likelihood of MI, which could be so small as to be inconsequential. If the data are analyzed this way, the investigator might erroneously conclude that the heart medication is useless for their patients. Had the investigator analyzed the data without adjusting for blood pressure, which is more relevant for assessing the total effect of the medication, they might have found a marked reduction in the likelihood of MI due to the mediating effect of lowered blood pressure. This second way of analyzing the data is more relevant for answering the clinical question at hand, but it can be easy to choose the first method if a causal model was not employed.