Skip to main content
Lippincott Open Access logoLink to Lippincott Open Access
letter
. 2019 Jun 3;30(4):e25–e26. doi: 10.1097/EDE.0000000000001005

An Improvement in Estimation of the Standard Error for the Natural Direct Effect in Causal Mediation Analysis

Xin Gao 1, Li Luo 2,
PMCID: PMC6548599  NIHMSID: NIHMS1522224  PMID: 30829830

Abstract

Supplemental Digital Content is available in the text.

To the Editor:

Mediation analysis serves as a crucial tool to perform causal inferences on the relationship among an exposure, a mediator, and an outcome. Methods for statistical inference of the parameter estimates of the mediation effects are limited and need improvement, relying on Bayesian, bootstrapping or Delta methods.

VanderWeele has developed methods1 and together with Valeri published a SAS macro for estimating the natural direct and indirect effects for time-to-event outcomes.2,3 This approach involves fitting two models to infer the relationship between an exposure and survival outcome with a continuous mediator when an interaction effect exists between the exposure and mediator.1 One is the linear regression model, Inline graphic, Inline graphic, where M, A, and C represent the mediator, exposure, and additional covariates, respectively.1 The other is the survival model, which could employ a Cox proportional hazard model, Inline graphic. Whereas the Cox model requires the assumption of a rare survival outcome, the alternative accelerated failure time model does not require this assumption.2 The natural direct effect can be estimated as Inline graphic.1 The Delta method was proposed as an approximation method to calculate the standard error of the natural direct effect estimate, which requires estimation of the covariance matrix of the list of estimated parameters, including variance of Inline graphic (Inline graphic).2,3

While we agree to use mean squared error (MSE) to estimate Inline graphic, we noticed that the SAS code provided also used MSE (we name it Inline graphic) to estimate Inline graphic.2,3 We think there are severe limitations for Inline graphic, which is a biased estimator in most cases and does not converge to the same limit as Inline graphic does as Inline graphic approaches infinity, where Inline graphic, n is the number of observations, and Inline graphic is the number of the predictor variables in the linear regression model that correlates mediator with exposure.

Our objective is to improve estimation of the standard error for natural direct effect in causal mediation inference, and we propose a new estimator Inline graphic for Inline graphic. We have proved theoretically that it possesses three desired statistical properties (eAppendix; http://links.lww.com/EDE/B497). First, Inline graphic is an unbiased estimator. Second, it achieves the minimum variance. Third, it converges to the same limit as Inline graphic does as Inline graphic approaches infinity.

We also examined the evaluator MSE (MSEeval) for the two estimators. As Inline graphic becomes large, Inline graphic outperforms Inline graphic in a clear manner since MSEeval of Inline graphic converges to 0 and that of Inline graphic converges to Inline graphic (eAppendix; http://links.lww.com/EDE/B497). We acknowledge that the MSEeval of Inline graphic is smaller than that of Inline graphic for small Inline graphic, but Inline graphic is still preferred for its unbiasedness. Also, epidemiologic studies rarely have sample sizes <100.

We performed simulation studies under different scenarios and provide code for reproducing simulation results in the eAppendix; http://links.lww.com/EDE/B497. The standard error of the exponential part of the estimated natural direct effect using our proposed Inline graphic is consistently smaller than that from Inline graphic for large Inline graphic, thereby providing higher statistical power to detect mediation effects. The Table presents an example simulation result for Inline graphic and Inline graphic. We observed that the estimated natural direct effect is very close to the true value with the difference being < 0.01. The 95% confidence interval from Inline graphic (1.3, 3.9) successfully captures true natural direct effect and offers much improved precision over that from Inline graphic.

TABLE.

Simulation Study with σ2 = 1, k = 200, to Compare the Performance of Our Proposed Estimator Wk with Sk = MSE (True Natural Direct Effect = 2.3)

graphic file with name ede-30-e25-g001.jpg

Unlike Bayesian and bootstrapping methods, the Delta method is an approximation approach to obtaining standard error without massive computations. Accurate statistical inference of natural direct effect in mediation analysis requires improvement. We proposed a valid way to improve the estimation of standard error for natural direct effect with the Delta method. Furthermore, our approach also contributes to statistical inference in epidemiology or biostatistics through providing effective estimation of the variance of MSE.

ACKNOWLEDGMENTS

X.G. is grateful to Ronald Christensen for his inspiration on minimum variance unbiased estimator. X.G. also gives special thanks to James Duncan and Victoria J. Gao for their encouragement when he was frustrated.

Supplementary Material

ede-30-e25-s001.pdf (784.3KB, pdf)

Xin Gao
Department of Mathematics and Statistics
College of Arts and Sciences
University of New Mexico
Albuquerque, NM

Li Luo
Division of Epidemiology, Biostatistics and Preventive Medicine
Department of Internal Medicine and UNM Comprehensive Cancer Center
University of New Mexico
Albuquerque, NM
LLuo@salud.unm.edu

Footnotes

Supported in part by the National Cancer Institute (P30CA118100 to L.L.).

The authors report no conflicts of interest.

Supplemental digital content is available through direct URL citations in the HTML and PDF versions of this article (www.epidem.com).

The data and computing code required to replicate the results reported in this work will be available upon request.

REFERENCES

  • 1.VanderWeele TJ. Causal mediation analysis with survival data. Epidemiology. 2011;22:582–585. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Valeri L, VanderWeele TJ. SAS macro for causal mediation analysis with survival data. Epidemiology. 2015;26:e23–e24. [DOI] [PubMed] [Google Scholar]
  • 3.Valeri L, Vanderweele TJ. Mediation analysis allowing for exposure-mediator interactions and causal interpretation: theoretical assumptions and implementation with SAS and SPSS macros. Psychol Methods. 2013;18:137–150. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from Epidemiology (Cambridge, Mass.) are provided here courtesy of Wolters Kluwer Health

RESOURCES