Abstract
Although medical research frequently involves an exposure variable with three or more discrete levels, detailed presentations of mediation techniques for dealing with multicategorical (multilevel) exposures are sparse. In this paper, we study two causal mediation approaches applicable to such a type of exposure for continuous mediator and outcome: the closed-form regression-based approach of Valeri and VanderWeele, and the marginal structural model-based approach of Lange, Vansteelandt, and Bekaert. While the consideration of multicategorical exposures is found explicitly addressed in the literature for the latter approach, this is, to our knowledge, not yet the case for the former. We first illustrate the application of the two aforementioned approaches to assess the dose–response relationship between maternal intake of inhaled corticosteroids and birthweight, where this relationship is potentially mediated by gestational age. More specifically, we provide a precise roadmap for the application of the regression-based approach and of the marginal structural model-based approach on our cohort of pregnancies. Expressions for the natural direct and indirect effects associated with our categorical exposure are provided and, for the regression-based approach, analytic formulas for standard error calculation using the delta method are presented for these effects. Second, a simulation study which mimics our data is presented to add to current knowledge on these causal mediation techniques. Results from this study highlight the relevance to assess robustness of mediation results obtained from multicategorical exposures, most notably for the least prevalent of exposure categories.
Keywords
1 Introduction
Mediation analysis approaches, including those grounded in the causal inference framework, are typically introduced using binary or continuous exposure (treatment) variables. In fact, detailed presentations of mediation techniques for dealing with multicategorical (multilevel) exposures cannot easily be found in the literature. 1 One remarkable exception is the Hayes and Preacher paper, 2 which has attracted considerable attention with more than 1700 Google Scholar citations since its publication. Because generalizations of mediation approaches to accommodate multicategorical exposures are often relatively straightforward to establish, such a type of exposure is nonetheless addressed in some statistical macros or packages. For example, causal mediation analyses with multicategorical exposures can currently be implemented with the R packages mediation 3 (also available in Stata 4 with more limited functionality) and medflex. 1 Mplus also allows for a multicategorical exposure; see the HPV vaccination trial example in section 8.1.8 of the book Regression and mediation analysis using Mplus, 5 where the intervention has more than two categories. Still, not all available macros or software can do so: the popular SAS and SPSS macros by Valeri and VanderWeele 6 and the newer SAS CAUSALMED procedure 7 are currently limited to continuous or binary exposures only.
Medical research frequently involves an exposure or a treatment variable with three or more discrete levels. In pharmacoepidemiology for instance, an often relevant objective is to investigate the association between a drug exposure and an outcome of interest, by several drug concentrations or doses corresponding to clinical thresholds. Motivated by the dearth of studies investigating the dose–response relationship between inhaled corticosteroids (ICS) and perinatal outcomes, Samoilenko et al. 8 targeted birthweight as outcome of interest and assessed the effect of maternal exposure to different average ICS daily doses during pregnancy on birthweight. In that study, the average treatment effects for ordinal ICS daily categories of doses on birthweight were estimated using both a multilevel generalized propensity scores approach and a conventional multivariable approach based on standard regression modeling. No association between ICS daily doses and birthweight were found using generalized propensity scores or the conventional multivariable approach in the primary analyses. In a sensitivity analysis, a statistically significant reduction in birthweight of 50 g was, however, found for the highest ICS doses > 250 versus 0 μg/day when adjusting for gestational age in the multivariable approach. These analyses prompted us to study the dose–response relationship between ICS and birthweight when gestational age is formally considered as a potential mediator between exposure to ICS and birthweight.
To tackle the aforementioned problem, in this study, we implement two mediation counterfactual-outcome approaches with our multicategorical ICS exposure: the closed-form regression-based approach of Valeri and VanderWeele 6 and the marginal structural model approach for mediation (MSMM) of Lange et al. 9 From a general mediation perspective, Steen et al. 1 advocated for more published applications: not only to answer subject matter issues but also to establish common best practices for conducting analyses. This is especially apropos for multicategorical exposures since practitioners do not yet have the same modeling and software resources as when dealing with binary or continuous exposures. An additional motivation to investigate these two approaches is to parallel what was done in Samoilenko et al., 8 namely to implement one approach based on propensity score weighting and one approach based on conventional regression models to compare and ascertain results. Indeed, on top of the multicategorical exposure topic, the broader issue of how well propensity score (weighting)-based mediation approaches compare to more conventional regression-based approaches is also viewed as important. 10
The main objective of our paper is to comprehensively describe the application of the Valeri and VanderWeele 6 and Lange et al. 9 causal mediation approaches for an exposure variable with four categories with a continuous mediator and outcome. Carefully describing the models and providing the associated SAS code is particularly relevant for the regression-based approach by Valeri and VanderWeele 6 as, to our knowledge, no publicly available code handling such a type of exposure is currently available for this approach. While the MSMM of Lange et al. 9 is implemented for multicategorical exposures in medflex, 1 the R primer presentation is done more on a command line level than on a modeling level. Herein, in addition to addressing modeling, we provide our own SAS code as based on the original paper 9 to accommodate clustered pregnancy data. A secondary objective is to provide simulation-based evidence regarding the performance of these two methods for estimating natural direct and indirect effects for simulated data mimicking our cohort data. Moreover, as it is always possible to break down a multicategorical exposure mediation analysis in a series of binary analyses (one analysis for each nonreference level), it is reasonable to believe that there are practical and statistical advantages in using approaches specifically conceived to handle such a type of exposure. We, thus, also verify this claim in the context of our simulation study.
2 Methods
2.1 Causal mediation: definitions of effects
Researchers usually target two specific effects when performing causal mediation analyses to explain the effect of an exposure on an outcome of interest: the natural direct effect (NDE) and the natural indirect effect (NIE). We define these effects in a general exposure context first.
Let A denote the exposure, Y the outcome, and M the potential mediator under consideration. Moreover, let
Natural direct and indirect effects involve two particular mediator levels,
Moreover, under the composition assumption,
12
the conditional total effect
The corresponding marginal effects
As mentioned previously, our substantive objective was to distinguish between two possible pathways of action of ICS doses on birthweight in our cohort: 1) a pathway where the effect of ICS on birthweight results from an increase or decrease in gestational age (indirect effect) and 2) a pathway where the effect of ICS on birthweight does not arise due to a variation in gestational age (direct effect). Let take A, M, and Y to represent ICS exposure, gestational age, and birthweight, respectively. Herein,
In what follows, we describe the data and the two causal mediation approaches used herein to estimate natural direct and indirect effects with our multicategorical ICS exposure variable. In order to identify these effects, it is assumed that there are no unmeasured confounders for the exposure–outcome, exposure–mediator, and mediator–outcome relationships, and that there are no variables which are effects of the exposure that confound the mediator–outcome relationship. One should also assume the consistency and composition assumptions. Details on mediation assumptions can be found elsewhere.9,11–13
2.2 Application
2.2.1 Data
We used a cohort of pregnant women with asthma constructed from administrative databases from Quebec (Canada) to study the effect of exposure to ICS during pregnancy on birthweight when gestational age is considered as a potential mediator. Full details regarding the cohort and the data (variables) can be found in Samoilenko et al. 8 ; only a brief summary is given below.
The cohort is constituted of a total of n = 7374 pregnancies from 6197 asthmatic women who gave birth between 1998 and 2008. The baby’s weight and gestational age at birth (measured in grams and completed weeks, respectively) were available for each pregnancy. Average ICS daily dose (in fluticasone-propionate equivalent) was measured with an algorithm based on prescription renewals and was subsequently categorized according to the following four ICS daily dose categories: 0, >0 to 125, >125 to 250, and >250 μg/day. Twenty-seven adjustment variables, among which a number can be viewed as potential confounders, were identified for the analyses. Our list of adjustment variables includes important risk factors for low birthweight and preterm birth, such as chronic and pregnancy-induced diabetes and hypertension, surrogates for socioeconomic status (e.g., receipt of social assistance) as well as several asthma-related variables, which reflect asthma control and severity prior or during pregnancy.
2.2.2 Regression-based approach to mediation with multicategorical exposure
In this section, we describe the Valeri and VanderWeele 6 closed-form regression-based approach to mediation as it was applied to our data. This approach to causal mediation expresses the natural direct and indirect effects directly in terms of the regression coefficients associated with the models for the outcome and the mediator.
Following Samoilenko et al.,
8
we used dummy coding to define the regression-based estimators for the NDE and NIE in the case of our multicategorical exposure variable A with four levels
Then,
The effects
2.2.3 MSMM with a multicategorical exposure
Propensity scores offer alternative estimation procedures for the analysis of nested counterfactuals. The MSMM proposed by Lange et al. 9 was presented as a simple and unified technique for estimating the natural direct and indirect effects of an exposure. This weighting-based approach relies on a model for the exposure given potential confounding variables and a mediator model given the exposure and variables, where the weighting according to the latter model enables one to disentangle between direct and indirect effects. The MSMM is implemented in the medflex package, 1 together with a mediation imputation-based approach which uses a working model for the outcome mean.
In what follows, we detail that the MSMM used for estimating the natural direct and indirect effects of positive ICS dose categories as opposed to the reference level (0 μg/day). Let Based on all observations, fit a multinomial logistic model including only an intercept term to estimate the probability Based on all observations, fit a multinomial logistic model including the adjustment variables to estimate the probability For each unit Based on all observations, fit the mediator linear regression model (4). Construct an expanded data set Sexp by repeating each observation of the cohort S four times and creating an additional variable For each unit
by applying the model fitted in step 4 to the expanded data Sexp of step 5.
7. For each unit 8. Calculate the overall weights wij
9. Using all observations from Sexp and weights wij calculated in step 8, fit a weighted linear regression model
10. Estimate the natural direct and indirect effects according to
where by default all dummies are equal to zero except dj = 1 if
for
While MSMM standard errors can be obtained using a robust variance estimator, in our application they were obtained using bootstrap. As for the regression-based approach, percentile cluster bootstrap was applied to calculate 95% confidence intervals. In our simulations, in which observations were generated independently, we compared two possible ways to calculate standard errors for MSMMs (robust and bootstrap).
We refer the reader to Supplemental Material B for more details on MSMMs in the case of a binary exposure and on how expressions for NDE and NIE can be extended for an arbitrary number of exposure levels.
2.2.4 Statistical analyses on our cohort
Basic statistics were obtained to report on the characteristics of the pregnancies and describe birthweight and gestational age at birth as a function of ICS dose categories.
In accordance with STROBE Statement,
15
both crude and adjusted natural direct and indirect effects of ICS doses on birthweight were obtained using the regression-based approach and MSMM (as described in the previous two subsections), where for the crude analyses we took
We refer the reader to the Supplemental Material for the computer code (SAS macros) that we used to implement the closed-form regression approach and MSMM with our multicategorical exposure variable.
Approval from the Commission d’accès à l’information du Québec was obtained prior to requesting and linking the information from the Maintenance et exploitation des données pour l’étude de la clientèle hospitalière and the Régie de l’assurance maladie du Québec databases. These analyses were approved by the ethics committee of the Hôpital du Sacré-Coeur de Montréal.
2.3 Simulations
We conducted a simulation study to appreciate the performance of both causal mediation approaches with an exposure variable with four categories. To our knowledge, this is the first reported simulated investigation on these approaches with a multicategorical exposure; as such the simulation design was kept simple and did not introduce model misspecification. In other words, the exposure, mediator, and/or outcome models were fitted using the correct models. Our primary objective was to get insights on the application and appropriateness of each method individually rather than aiming for a formal and extensive comparison between the two approaches. Notably, special attention was given to standard error calculation for the MSMMs given the fact that it relies on replicated observations (recall that sample size is artificially increased as a function of the number of exposure levels).
As mentioned previously, it is possible to break down a multicategorical exposure analysis in a number of binary analyses (one analysis for each nonreference level). These simulations also, therefore, provided a unique opportunity to verify whether there are any advantages to using the multicategorical exposure version of studied approaches.
2.3.1 Data generating process
We developed simulation scenarios with three binary variables considered as potential confounding variables in our application: age of the mother at the beginning of pregnancy (C1; age >34-year old vs. age
We generated our ICS exposure variable with the same categories as in our application using the following multinomial model
For completeness, we also considered an outcome model which featured an interaction term between our multicategorical exposure and mediator. In this case, birthweight was generated according to a normal with mean
2.3.2 Simulation analyses
For every sample size considered, the bias, standard deviation, root mean square error (RMSE), and coverage probability of the regression-based and MSMM estimators for NDE and NIE were estimated for each of the two outcome models (no-interaction, interaction) described previously. For both mediation approaches, the models fitted on the data corresponded to the ones that were used to generate the data. Hence, no model misspecification was introduced at the analysis stage. For the closed-form regression approach, the coverage probability was computed using both the Delta method and the bootstrap. Theoretical expressions pertaining to the Delta method in the context of the regression-based approach with four levels of exposure are presented in Supplemental Material C. For the MSMM, the coverage probability was computed using both robust standard errors and the bootstrap. All MSMM analyses were subsequently redone to allow for a truncation of the 5% largest weights.
Finally, we performed sequential binary analyses based on the samples generated with size n = 1000. Specifically, for each approach and sample, we ran three separate binary analyses using only the individuals for a given nonreference category aj, j = 1, 2, 3, versus reference category a0. A single exposure dummy (instead of three) was, therefore, included in the outcome and mediator models of the regression-based approach each time. For the MSMM, we fitted a standard logistic exposure model to calculate the exposure weights wA. Duplicated observations instead of quadrupled observations were used to fit the structural model which only considered exposure dummies Dj and
3 Results
3.1 Application results
Descriptive statistics on the cohort of pregnancies are presented in Table 1. The gestational age distribution is very similar across ICS doses, with mean gestational ages at birth varying between 38.4 and 38.6 weeks. The birthweight distribution is also similar for all doses except for the highest category (>250 µg/day) which shows overall slightly smaller values. For this exposure category, the mean birthweight is approximately 100 g smaller than that of the lower dose categories.
Descriptive statistics for birthweight (g) and gestational age at birth (completed weeks) by average ICS doses (μg/day a ) during pregnancy (n = 7374).
STD: standard deviation.
aFluticasone-propionate equivalent.
The mediation results obtained using the closed-form regression approach are presented in Table 2. First, results obtained with and without the interaction term between exposure and mediator in the outcome model are very similar; hence, the following interpretation applies to both sets of results. Independently of the mediation effect considered, all point estimates are relatively small. In fact, the largest difference observed concerns the unadjusted total effect, which shows a decrease in birthweight close to 100 g for pregnancies exposed to moderate-to-high doses of ICS (>250 µg/day) as compared to unexposed. This crude result for the total effect is primarily due to a detrimental direct effect of about 70 g for the highest dose category of ICS. Adjusting for the covariates in these regression analyses slightly moved the estimates positively. Interestingly, the total effect of ICS for the highest dose category is no longer significant when adjusting for the potential confounders, although the direct effect (NDE) still remains significant.
Crude and adjusted mediation effects of ICS average daily doses on birthweight mediated by gestational age: estimation using the closed-form regression-based approach.
CI: confidence interval; TE: total effect.
aConfidence intervals calculated using cluster bootstrap [16] based on 5000 bootstrap samples.
The mediation results obtained using the MSMM are presented in Table 3. The crude results obtained using this approach (without weight truncation) are similar to those obtained using the closed-form regression approach. Larger discrepancies between approaches are observed when comparing the adjusted results. In particular, differences of >100 g in the point estimates for the direct and total effects are seen for the highest dose category of ICS (>250 µg/day). Compared to the regression approach, the confidence intervals obtained using MSMMs are also much wider for these two effects.
Crude and adjusted mediation effects of ICS average daily doses on birthweight mediated by gestational age: estimation using the marginal structural model mediation approach.
CI: confidence interval; TE: total effect.
aConfidence intervals calculated using cluster bootstrap 16 based on 5000 bootstrap samples; for the adjusted analyses, 6000 bootstrap samples were initially generated, and then 5000 samples were randomly selected from 5724 bootstrap samples without convergence failure in the exposure model to construct 95% CI.
The mediation results obtained using the MSMM with a 5% right truncation on the weights
Crude and adjusted mediation effects of ICS average daily doses on birthweight mediated by gestational age: estimation using the marginal structural model mediation approach with 5% largest weights truncation.
CI: confidence interval; TE: total effect.
aConfidence intervals calculated using cluster bootstrap [16] based on 5000 bootstrap samples; for the adjusted analyses, 6000 bootstrap samples were initially generated, and then 5000 samples were randomly selected from 5724 bootstrap samples without convergence failure in the exposure model to construct 95% CI.
3.2 Simulation results
Tables 5 and 6 present the simulation results comparing the closed-form regression approach and the MSMM (with and without truncation) for the data generated with equations (12) to (14) (i.e., no-interaction outcome model scenario) with samples of size n = 1000 and n = 2000, respectively. From these tables, we see that the regression approach and the MSMM (without truncation) have small empirical biases, as expected by the consideration of correctly specified models and adequate covariate adjustment. For a given sample size, we see that both approaches have similar standard deviation and root mean squared error, except for the direct and total effects for the highest ICS dose category. For this exposure category, which was the least prevalent in our simulation, the standard deviation of the regression approach was considerably smaller than that of the MSMM. Unexpectedly, we observed significant undercoverage for the robust standard error calculation for the indirect effect (NIE) in the MSMM, with coverage probabilities similarly poor for both sample sizes considered. The coverage for the MSMM was, however, appropriate (i.e., close to nominal 95% level) when the standard errors were calculated using the bootstrap. No large differences in the truncated versus untruncated MSMM results were observed from the simulations, except for the highest ICS dose category. For this category, the truncated analyses yielded mediation effect estimates that were noticeably more biased but less variable than those obtained from the untruncated analyses.
Monte Carlo simulations: adjusted closed-form regression and marginal structural model mediation approaches without exposure–mediator interaction, n = 1000.
CP: coverage probability; STD: standard deviation.
aDelta method was used to estimate standard errors in regression-based approach and robust standard error estimation was used in MSMM.
bConfidence intervals calculated using bootstrap.
Monte Carlo simulations: adjusted closed-form regression and marginal structural model mediation approaches without exposure–mediator interaction, n = 2000.
CP: coverage probability; STD: standard deviation.
aDelta method was used to estimate standard errors in regression-based approach and robust standard error estimation was used in MSMM.
bConfidence intervals calculated using bootstrap.
The results obtained on the basis of data generated from equations (12), (13), and (15) (i.e., interaction outcome model scenario) are presented in Tables 7 and 8 for n = 1000 and n = 2000, respectively. The interpretation of results is overall similar to the previous scenario which did not incorporate exposure–mediator interaction terms in the outcome model. The NIE undercoverage seen in MSMM under robust standard error calculation was less pronounced in this scenario than in the no-interaction scenario, but coverage probabilities were still smaller than acceptable. Additional simulations that provide insight on the MSMM robust standard errors are presented in the Supplemental Material D.1 (see Tables D.1 and D.2). As shown therein, the undercoverage observed in our simulation can be partially explained by the exposure category imbalance and the relatively weak magnitudes of indirect effects.
Monte Carlo simulations: adjusted closed-form regression and marginal structural model mediation approaches with exposure–mediator interaction, n = 1000.
CP: coverage probability; STD: standard deviation.
aDelta method was used to estimate standard errors in regression-based approach and robust standard error estimation was used in MSMM.
bConfidence intervals calculated using bootstrap.
Monte Carlo simulations: adjusted closed-form regression and marginal structural model mediation approaches with exposure–mediator interaction, n = 2000.
CP: coverage probability; STD: standard deviation.
aDelta method was used to estimate standard errors in regression-based approach and robust standard error estimation was used in MSMM.
bConfidence intervals calculated using bootstrap.
Tables 9 and 10 present the results for the closed-form regression approach and the MSMM when the data were fitted using a sequence of binary exposure analyses. For the no-interaction scenario (Table 9), we obtained a small systematic increase in standard deviation and RMSE when the regression approach estimates were obtained separately for each non-reference exposure level rather than simultaneously (to compare with Table 5). Gains for the multicategorial perspective were especially noticeable for the direct and total effects for the highest ICS dose category. The separate and simultaneous perspectives yielded overall similar results for the MSMM, although the RMSE for the direct and indirect effects were globally slightly larger for the separate perspective for the two least prevalent dose categories (see Table 9). The same conclusions were reached for the interaction scenario (Table 10).
Monte Carlo simulations: adjusted closed-form regression and marginal structural model mediation approaches without exposure–mediator interaction, binary exposure analyses, n = 1000.
CP: coverage probability; STD: standard deviation.
aDelta method was used to estimate standard errors in regression-based approach and robust standard error estimation was used in MSMM.
bConfidence intervals calculated using bootstrap.
Monte Carlo simulations: adjusted closed-form regression and marginal structural model mediation approaches with exposure–mediator interaction, binary exposure analyses, n = 1000.
CP: coverage probability; STD: standard deviation.
aDelta method was used to estimate standard errors in regression-based approach and robust standard error estimation was used in MSMM.
bConfidence intervals calculated using bootstrap.
We also investigated other simulation scenarios for general sensitivity analyses; one considered a different type of confounder (continous) and another one modified the prevalence of confounders. Results for these scenarios are presented in the Supplemental Material D.2 (see Tables D.3 and D.4). We found no meaningful impact of considering a continuous versus binary maternal age confounder in our simulations. However, modified prevalence of confounders was observed to change the precision of estimates.
4 Discussion
In this paper, we have presented a comprehensive description of two causal mediation methods for a continuous mediator and outcome in the case of a multicategorical exposure variable. Using a cohort of pregnancies from women with asthma, we have illustrated the application of the closed-form regression-based approach by Valeri and VanderWeele 6 and the MSMM by Lange et al. 9 to assess the dose–response relationship between ICS and birthweight, possibly mediated by gestational age. As expanded below, our contribution adds to the extant literature in different ways.
To our knowledge, this is the first detailed theoretical presentation of the studied closed-form regression-based approach for multicategorical exposure variables provided to practitioners. Up until now, analysts desiring to apply this popular approach on such exposure variables had been offered the following choices: 1) to implement it without related documentation, 2) use available tools by assuming, consciously or not, ordinal exposure categories as continuous, or 3) perform serial binary exposure analyses. As pointed out by Preacher, 17 substantive researchers often think that statistical procedures derived in the binary or continuous variable case can be applied directly to the multicategorical case. While this can sometimes be true, mediation analysis with categorical exposure or treatment variables requires special attention, as was described herein. Our step-by-step presentation and associated computer code will help researchers implementing this regression-based causal mediation approach when they find unreasonable to believe in the linearity of exposure effect categories on the mediator and outcome or when they do not want to implement separate binary analyses. As seen in our work, a multicategorical perspective to the closed-form regression estimator is easy to implement and can also be more efficient than when exposure categories are not simultaneously accounted for in the model.
Our paper also promotes the utilization of different mediation approaches to assess the robustness of natural direct and indirect effect estimates. Contrasting the results between the closed-form regression approach and MSMM was deemed pertinent since they rely on different modeling assumptions (to distinguish from mediation assumptions). For instance, in the closed-form regression approach, the posited linearity of the mediator effect in the outcome model was assumed not hold in our application: it is well known that the effect of an increase in one week in gestational age on birthweight is not constant across pregnancy timeline. This assumption was not made in the MSMMs we have implemented. On the other hand, our MSMMs assumed the normality of gestational age given treatment and covariates to calculate the mediator weights (recall Step 6 in MSMM implementation of Section 2.2). A normal quantile–quantile graph for the gestational age residual (not presented) revealed important departure from this assumption; this was not unexpected since the gestational age distribution is recognized for its left skewness as preterm births stretch out the lower left-hand tail. Although our MSMM results could have been sensitive to this departure, the gestational age distribution did not vary much across ICS dose categories (as seen in Table 1) and the misspecification arising in the numerator and denominator of equation (8) likely canceled out for the most part, even for pregnancies with smaller gestational age values. Finally, the MSMM but not the regression-based approach, relied on the correct specification of the exposure model given covariates, which we assumed to take a multinomial form in our analyses. In summary, while studied approaches did not use the same working models and both featured apparent model misspecification, in our case, marked differences between them were only seen in adjusted analyses for the least prevalent exposure category (7.5% of pregnancies). This difference was moreover seen to vanish when applying a 5% right weight truncation in the MSMMs.
From our simulation results, we found that both causal mediation approaches investigated and implemented with our SAS macros generally behaved as expected with a multicategorical exposure variable and correctly specified working models. One noteworthy finding, however, is that the robust standard error technique was not conservative enough to construct valid confidence intervals for MSMM indirect effects associated with four levels of exposure. The undercoverage of the 95% robust confidence interval for the NIE has also been observed elsewhere, for survival outcome MSMMs notably, 18 which suggests that this phenomenon is not specific to our studied context. As in Reaume, 18 bootstrap was found herein an adequate alternative; bootstrap is also suggested by default in the medflex R package.
In conclusion, we believe that our contribution usefully adds to the mediation literature from both methodological and applied sides, by helping establishing common best practices for conducting such a type of analyses and discussing issues directly relevant to the important case of multicategorical exposure or treatment variables. While in our simulations we did not consider misspecification of the outcome, mediator, and exposure models for simplicity, multiply-robust semiparametric estimators such as those introduced in Tchetgen Tchetgen and Shpitser 14 or Zheng and van der Laan 19 could be used when possible misspecification of these models is a concern in practice. Since these more complex approaches were introduced with a binary exposure, providing a detailed roadmap for their application in the context of a multicategorical exposure might be of interest in the future.
Supplemental Material
SMM902794 Supplemental Material - Supplemental material for Comparing two counterfactual-outcome approaches in causal mediation analysis of a multicategorical exposure: An application for the estimation of the effect of maternal intake of inhaled corticosteroids doses on birthweight
Supplemental material, SMM902794 Supplemental Material for Comparing two counterfactual-outcome approaches in causal mediation analysis of a multicategorical exposure: An application for the estimation of the effect of maternal intake of inhaled corticosteroids doses on birthweight by Mariia Samoilenko, Nadia Arrouf, Lucie Blais and Geneviève Lefebvre in Statistical Methods in Medical Research
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: MS was funded by a scholarship from the Natural Sciences and Engineering Research Council of Canada (NSERC). NA was the recipient of a CAnadian Network for Advanced Interdisciplinary Methods for comparative effectiveness research (CAN-AIM) scholarship. GL was supported by the National Sciences and Engineering Research Council of Canada and the Fonds de recherche Québec -- Santé (Chercheur-Boursier program).
Supplemental Material
Supplemental material for this article is available online.
Two files containing the computer programs used to obtain our mediation results are provided in the paper’s Supplemental Material: (1) Mediation_regression_model and (2) Mediation_marginal_structural_model. The first file contains an SAS macro (with description) for implementing the Valeri and VanderWeele 6 approach with a multicategorical exposure variable with four levels. The second file contains an SAS macro (with description) for implementing the Lange et al. 9 approach with the same type of multicategorical exposure variable. For both computer programs, it is possible to obtain mediation results from clustered data and confidence intervals using bootstrap. For the first approach, confidence intervals with delta method standard errors are returned by default; for the second, confidence intervals with robust standard errors are also possible. For the second approach, a right (largest) weight truncation at a user-defined cut-off is given in option.
References
Supplementary Material
Please find the following supplemental material available below.
For Open Access articles published under a Creative Commons License, all supplemental material carries the same license as the article it is associated with.
For non-Open Access articles published, all supplemental material carries a non-exclusive license, and permission requests for re-use of supplemental material or any part of supplemental material shall be sent directly to the copyright owner as specified in the copyright notice associated with the article.
