Alternative Measures of Direct and Indirect Effects
Abstract.
There are a number of measures of direct and indirect effects in the literature. They are suitable in some cases and unsuitable in others. We describe a case where the existing measures are unsuitable and propose new suitable ones. We also show that the new measures can partially handle unmeasured treatment-outcome confounding, and bound long-term effects by combining experimental and observational data.
1. Introduction
Consider the following causal graph studied in [1, 2], where , and represents an applicant’s gender, qualifications and hiring, respectively.
The edge represents that the hirer questions applicants about their gender, and that their answers may have an effect on hiring them. Pearl imagines a policy maker who may be interested in predicting the gender mix in the work force, if it were illegal for the hirer to question applicants about their gender. This quantity corresponds to the effect of gender on hiring mediated by qualifications. Pearl argues that the answer to this question lies in deactivating the direct path . He also argues that the answer can be realized by computing the average natural (or pure) indirect effect:
which is the difference between the expected outcomes under no exposure when the mediator takes the value it would under exposure and non-exposure, respectively. We agree with the answer to the question (i.e., deactivating ) but not with its realization (i.e., deactivating by computing ), because the reference value affects the outcome in this realization of the answer. This is problematic because it means that the direct path is not really deactivated and, moreover, the answer depends on the level chosen as reference. In other words, this realization of the answer does not really correspond to the no-questioning policy being evaluated. The problems discussed here are shared by other classical measures of indirect effect such as the average total and controlled indirect effects, as well as by the interventional indirect effect measure proposed by Geneletti [3]:
which compares the expected outcome under no exposure when is drawn from the distributions and of and .111Although and do not coincide in general, they coincide for the causal graph under study [4]. However, this does not mean that these measures should be abandoned. Quite the opposite. They are informative when the reference value is clear from the context. For instance, if women suspect being discriminated by the hirer, then they may want to know if the probability of a woman getting hired would remain unchanged had she a man’s qualifications. This is measured by with reference value set to “woman”. In summary, the existing measures of indirect effect are suitable in some cases and unsuitable in others. In this paper, we propose a new measure that does not require selecting a reference value.
More recently, [5] have introduced the population intervention indirect effect to measure the indirect effect of on through the mediator :
which is the difference between the expected outcomes when the exposure and mediator take natural (observed) values and when the exposure takes natural value but the mediator takes the value it would under no exposure. Therefore, this measure is suitable when the exposure is harmful (e.g., smoking) and, thus, one may be more interested in elucidating the effect (e.g., disease prevalence) of eliminating the exposure rather than in contrasting the effects of exposure and non-exposure. The latter is considered irrelevant, because it is inconceivable that everyone will be exposed. In this paper, though, we are interested in the latter because it may be informative even when the interventions are inconceivable. For instance, the two interventions being contrasted in the gender discrimination example above (everyone is male and everyone is female) are both inconceivable, but their contrast is instrumental to decide whether the no-questioning policy should be introduced or not, as argued in [1, 2] (see also the previous paragraph).
The rest of the paper is organized as follows. We present our new measure of indirect effect in Section 2. We also present a new measure of direct effect. We illustrate them with an example. Moreover, we show that they can partially handle unmeasured treatment-outcome confounding, and bound long-term effects by combining experimental and observational data. Finally, we close with some discussion in Section 3.
2. Alternative Measures
Consider again the causal graph below, where , and represents an applicant’s gender, qualifications and hiring, respectively.
We assume that the direct path is actually mediated by an unmeasured random variable that is left unmodelled. This arguably holds in most domains. In the example above, may represent the hirer’s predisposition to hire the applicant. However, the identity of is irrelevant. Let denote the causal graph below, i.e. the original causal graph refined with the addition of .
Now, deactivating the direct path in the original causal graph can be achieved by adjusting for in , i.e. . Unfortunately, is unmeasured. We propose an alternative way of deactivating . Let denote the causal graph below, i.e. the result of reversing the edge in .
The average total effect of on in can be computed by the front-door criterion [2]:
(1) |
Note that and are distribution equivalent, i.e. every probability distribution that is representable by is representable by and vice versa [2]. Then, evaluating the second line of the equation above in or gives the same result. If we evaluate it in , then it corresponds to the part of association between and that is attributable to the path . If we evaluate it in , then it corresponds to the part of in that is attributable to the path , because in equals the association between and , since has only directed paths from to . Therefore, the second line in the equation above corresponds to the part of in the original causal graph that is attributable to the path , thereby deactivating the direct path . We propose to use the second line in the equation above as a measure of the indirect effect of on in the original causal graph:
only considers the path to propagate the value of . This is unlike , which considers both paths from to : The path propagates the value , whereas the path propagates the value that takes under and . As shown in Section 2.3, provided that is binary, can be written as , which some may find natural. It moreover coincides with the indirect effect in linear structural equation models.
Likewise, we propose to measure the direct effect of on as the part of in the original causal graph that remains after deactivating the path . This is achieved by simply adjusting for :
For the same reasons as above, this is unlike the measure proposed in [1, 2], namely the average natural (or pure) direct effect .
Finally, note that and can be computed from the observed data distribution . This is also true for and [1, 2]. Note also that the sum of and does not equal in the original causal graph, due to interactions in the outcome model. This is also true for the sum of and [1, 2, 6, 7].
2.1. Example
Consider the following example from [8], where the causal graph is
such that represents a drug treatment, the presence of a certain enzyme in a patient’s blood, and recovery. Moreover, we have that
Pearl imagines a scenario where someone proposes developing a cheaper drug that is equal to the existing one except for the lack of effect on enzyme production. To evaluate the new drug’s performance, he computes and , and concludes that the new drug will reduce the probability of recovery by , i.e. . We can repeat the analysis using instead of :
which implies that . An interval is returned because is not given in the original example (it is not needed to compute or ). Therefore, we conclude that the new drug will reduce the probability of recovery by between and , depending on .
The new drug development scenario described above corresponds to the following alternative causal graph:
where the edge means that there is an edge or . The former represents that the presence of enzyme may have an effect on the patient taking the treatment, and the latter represents the potential existence of an unmeasured confounder between them. The drug performance in this alternative causal graph is simply , which can be computed by adjusting for , and thus it coincides with in the original causal graph, since the two graphs are distribution equivalent. In other words, it is rather than that should be used to answer the original question. Note that if and only if , i.e. everyone is untreated. This is no coincidence because in the original causal graph coincides with the average effect of the treatment among the untreated in the alternative graph [9],222[9] prove the equivalence when , but the proof also applies when . rather than with which is the correct answer to the original question.
Pearl also imagines a scenario where someone proposes developing a cheaper drug that is equal to the existing one except for the lack of direct effect on recovery, i.e. it just stimulates enzyme production as much as the existing drug. To evaluate the new drug’s performance, he computes and , and concludes that the new drug will reduce the probability of recovery by , i.e. .333The small disagreements with the results in [8] are due to rounding. We can repeat the analysis using instead of :
which implies that . Therefore, we conclude that the new drug will reduce the probability of recovery by between and , depending on .
The latest new drug development scenario corresponds to the following alternative causal graph:
where the edge represents the potential existence of an unmeasured treatment-outcome confounder. The drug performance in this alternative causal graph is simply , which can be computed by the front-door criterion, and thus it coincides with in the original causal graph, under our assumption that the direct path in the original graph is mediated by an unmeasured random variable (recall the previous section). In other words, it is rather than that should be used to answer the original question. Note that if and only if . Again, this is no coincidence because in the original causal graph coincides with the average effect of the treatment among the untreated in the alternative graph [1, 10], rather than with which is the correct answer to the original question.
2.2. Unmeasured Confounding
In this section, we study the following extension of the original causal graph with an unmeasured treatment-outcome confounder .
Now, neither nor nor their total and controlled counterparts are identifiable from the observed data distribution [1, 2]. However, can be computed pretty much like before. First, we add the unmeasured mediator . The edge means that there may be an edge or .
Then, we group and . Note that every probability distribution that is representable by the graph above is representable by the graph below, since all the independencies entailed by the latter hold in the former.
Finally, we apply the front-door criterion.
Like and its total counterpart, is not identifiable from the observed data distribution in the extended causal graph under consideration. However, it may be bounded if is binary and a binary proxy of is measured. The causal graph under consideration is then as follows.
In the literature, there are many cautionary tales about the bias that adjusting for the proxy of an unmeasured confounder introduces to the estimation of a causal effect [11, 12, 13]. For instance, [14] constructs an example where adjusting for the proxy is worse than not adjusting at all. However, there are conditions under which the opposite is true [15, 16, 17, 18]. We use some of these conditions here.
Recall that is the part of in the causal graph that remains after deactivating the path . This is achieved by simply adjusting for :
where is the average total effect of on in the stratum . Let us define the observed or partially adjusted average total effect of on in the stratum as
Note that it can be computed from the observed data distribution . Rephrasing the results in [16, 17] to our scenario, if and are one nonincreasing and the other nondecreasing in for all and , then for all . On the other hand, if and are both nonincreasing or both nondecreasing in for all and , then for all . Note that the antecedents of these rules are testable from the observed data distribution . Not in all but in many cases, these rules enable us to bound and even determine its sign. Specifically,
where is 1 (respectively, 0) if and are one nonincreasing and the other nondecreasing (respectively, both nonincreasing or both nondecreasing) in for all and .
2.3. Long-Term Effects
This section addresses a problem of randomized controlled trials, namely long-time effect estimation from typically short-lived trials. Consider the following causal graph, where and are unmeasured.
We assume that the mediator is a short-term effect of the treatment , whereas is a long-term effect of . Randomized controlled trials are typically short-lived due to cost considerations and, thus, they are typically conducted to estimate short-term effects but not longer ones. Observational data, on the other hand, is much cheaper to obtain and, thus, they may include long-term outcome observations. Unfortunately, observational data is typically subject to unmeasured confounding, and mismeasurements due to self-reporting. Therefore, we assume that a randomized controlled trial was conducted to estimate , but not or . We also assume that the probability distribution was estimated from observational data, where represents the self-reported treatment, which may differ from the actual unmeasured treatment . Our goal is computing . Unfortunately, this cannot be done from the information available. However, the fact that implies, as we show below, that can be bounded sometimes.
Our setup above is similar to the one by [19] with the difference that they assume no unmeasured confounding. Our setup is also close to the one by [20] with the difference that they consider linear and partial linear structural equation models, while we consider non-parametric models. Moreover, unlike us, these two works assume that the true treatment is available in the observational data.
Provided that is binary, we have that
Let us define the observed or partially adjusted average total effect of on as
Note that it can be computed from the observed data distribution . If and are one nonincreasing and the other nondecreasing in for all , then [16, 17]. On the other hand, if and are both nonincreasing or both nondecreasing in for all , then [16, 17].444In the proofs of these results, is a parent of . The results also hold when is a child of , since (i) every probability distribution that is representable when is a child of is also representable when is a parent of and vice versa [2], and (ii) and give each the same result in both cases. Note that the antecedents of these rules are testable from the observed data distribution . Not in all but in many cases, these rules together with the knowledge of enable us to bound and even determine its sign. Specifically,
where is 1 (respectively, 0) if and are one nonincreasing and the other nondecreasing (respectively, both nonincreasing or both nondecreasing) in for all , and is 1 if and 0 otherwise.
Finally, note that the last equation also holds if we add the edge to the causal graph under study. To see it, simply pre-process the graph with the three transformations at the beginning of Section 2.2.
3. Discussion
We have proposed new measures of direct and indirect effects. They are based on contrasting the effects of exposure and non-exposure and they do not require selecting a reference value. This makes them unlike the existing measures in the literature and, thus, suitable in cases where the existing ones are unsuitable. The opposite is also true. The new measures assume that the direct path from expose to outcome is mediated by an unmeasured random variable. Its identity is irrelevant. This arguably holds in most domains.
When there is unmeasured treatment-outcome confounding, we have shown that the new measure of indirect effect still applies, whereas the new measure of direct effect can be bounded in some cases. This also sets them apart from the existing measures. Finally, we have shown how the new measure of indirect effect can be used to sometimes bound long-term effects by combining experimental and observational data.
References
- Pearl [2001] J. Pearl. Direct and Indirect Effects. In Proceedings of the 17th Conference on Uncertainty in Artificial Intelligence, pages 411–420, 2001.
- Pearl [2009] J. Pearl. Causality: Models, Reasoning, and Inference. Cambridge University Press, 2009.
- Geneletti [2007] S. Geneletti. Identifying Direct and Indirect Effects in a Non-Counterfactual Framework. Journal of the Royal Statistical Society Series B, 69:199–215, 2007.
- VanderWeele et al. [2014] T. J. VanderWeele, S. Vansteelandt, and J. M. Robins. Effect Decomposition in the Presence of an Exposure-Induced Mediator-Outcome Confounder. Epidemiology, 25:300–306, 2014.
- Fulcher et al. [2020] I. R. Fulcher, I. Shpitser, S. Marealle, and E. J. Tchetgen Tchetgen. Robust Inference on Population Indirect Causal Effects: The Generalized Front Door Criterion. Journal of the Royal Statistical Society Series B, 82:199–214, 2020.
- VanderWeele [2013] T. J. VanderWeele. A Three-Way Decomposition of a Total Effect into Direct, Indirect, and Interactive Effects. Epidemiology, 24:224–232, 2013.
- VanderWeele [2014] T. J. VanderWeele. A Unification of Mediation and Interaction: A Four-Way Decomposition. Epidemiology, 25:749–761, 2014.
- Pearl [2012] J. Pearl. The Causal Mediation Formula - A Guide to the Assessment of Pathways and Mechanisms. Prevention Science, 13:426–436, 2012.
- Ogburn and VanderWeele [2012a] E. L. Ogburn and T. J. VanderWeele. Analytic Results on the Bias Due to Nondifferential Misclassification of a Binary Mediator. American Journal of Epidemiology, 176:555–561, 2012a.
- Shpitser and Pearl [2009] I. Shpitser and J. Pearl. Effects of Treatment on the Treated: Identification and Generalization. In Proceedings of the 25th Conference on Uncertainty in Artificial Intelligence, pages 514–521, 2009.
- Austin and Brunner [2004] P. C. Austin and L. J. Brunner. Inflation of the Type I Error Rate when a Continuous Confounding Variable is Categorized in Logistic Regression Analyses. Statistics in medicine, 23:1159–1178, 2004.
- Altman and Royston [2006] D. G. Altman and P. Royston. The Cost of Dichotomising Continuous Variables. BMJ, 332:1080, 2006.
- Chen et al. [2007] H. Chen, P. Cohen, and S. Chen. Biased Odds Ratios from Dichotomization of Age. Statistics in medicine, 26:3487–3497, 2007.
- Brenner [1997] H. Brenner. A Potential Pitfall in Control of Covariates in Epidemiologic Studies. Epidemiology, 9:68–71, 1997.
- Gabriel et al. [2022] E. E. Gabriel, J. M. Peña, and A. Sjölander. Bias Attenuation Results for Dichotomization of a Continuous Confounder. Journal of Causal Inference, 10:515–526, 2022.
- Ogburn and VanderWeele [2012b] E. L. Ogburn and T. J. VanderWeele. On the Nondifferential Misclassification of a Binary Confounder. Epidemiology, 23:433–439, 2012b.
- Peña [2020] J. M. Peña. On the Monotonicity of a Nondifferentially Mismeasured Binary Confounder. Journal of Causal Inference, 8:150–163, 2020.
- Sjölander et al. [2022] A. Sjölander, J. M. Peña, and E. E. Gabriel. Bias Results for Nondifferential Mismeasurement of a Binary Confounder. Statistics & Probability Letters, 186:109474, 2022.
- Athey et al. [2019] S. Athey, R. Chetty, G. W. Imbens, and H. Kang. The Surrogate Index: Combining Short-Term Proxies to Estimate Long-Term Treatment Effects More Rapidly and Precisely. Technical Report 26463, National Bureau of Economic Research, 2019.
- Van Goffrier et al. [2023] G. Van Goffrier, L. Maystre, and C. M. Gilligan-Lee. Estimating Long-Term Causal Effects from Short-Term Experiments and Long-Term Observational Data with Unobserved Confounding. In Proceedings of the 2nd Conference on Causal Learning and Reasoning, 2023.
- Peña et al. [2021] J. M. Peña, S. Balgi, A. Sjölander, and E. E. Gabriel. On the Bias of Adjusting for a Non-Differentially Mismeasured Discrete Confounder. Journal of Causal Inference, 9:229–249, 2021.