medflex : an R package for flexible mediation analysis using natural effect models
- Author
- Johan Steen (UGent) , Tom Loeys (UGent) , Beatrijs Moerkerke (UGent) and Stijn Vansteelandt (UGent)
- Organization
- Project
- Abstract
- Mediation analysis is routinely adopted by researchers from a wide range of applied disciplines as a statistical tool to disentangle the causal pathways by which an exposure or treatment affects an outcome. The counterfactual framework provides a language for clearly defining path-specific effects of interest and has fostered a principled extension of mediation analysis beyond the context of linear models. This paper describes medflex, an R package that implements some recent developments in mediation analysis embedded within the counterfactual framework. The medflex package offers a set of ready-made functions for fitting natural effect models, a novel class of causal models which directly parameterize the path-specific effects of interest, thereby adding flexibility to existing software packages for mediation analysis, in particular with respect to hypothesis testing and parsimony. In this paper, we give a comprehensive overview of the functionalities of the medflex package.
- Keywords
- mediation analysis, R, causal inference, direct effect, indirect effect, medflex, natural effect models, SENSITIVITY-ANALYSIS, CAUSAL MECHANISMS, INFERENCE, IDENTIFICATION, EXPOSURE, DECOMPOSITION, CONFOUNDER, IMPUTATION, VARIABLES, FORMULA
Downloads
-
v76i11.pdf
- full text
- |
- open access
- |
- |
- 774.33 KB
Citation
Please use this url to cite or link to this publication: http://hdl.handle.net/1854/LU-7088198
- MLA
- Steen, Johan, et al. “Medflex : An R Package for Flexible Mediation Analysis Using Natural Effect Models.” JOURNAL OF STATISTICAL SOFTWARE, vol. 76, no. 11, 2017, doi:10.18637/jss.v076.i11.
- APA
- Steen, J., Loeys, T., Moerkerke, B., & Vansteelandt, S. (2017). medflex : an R package for flexible mediation analysis using natural effect models. JOURNAL OF STATISTICAL SOFTWARE, 76(11). https://doi.org/10.18637/jss.v076.i11
- Chicago author-date
- Steen, Johan, Tom Loeys, Beatrijs Moerkerke, and Stijn Vansteelandt. 2017. “Medflex : An R Package for Flexible Mediation Analysis Using Natural Effect Models.” JOURNAL OF STATISTICAL SOFTWARE 76 (11). https://doi.org/10.18637/jss.v076.i11.
- Chicago author-date (all authors)
- Steen, Johan, Tom Loeys, Beatrijs Moerkerke, and Stijn Vansteelandt. 2017. “Medflex : An R Package for Flexible Mediation Analysis Using Natural Effect Models.” JOURNAL OF STATISTICAL SOFTWARE 76 (11). doi:10.18637/jss.v076.i11.
- Vancouver
- 1.Steen J, Loeys T, Moerkerke B, Vansteelandt S. medflex : an R package for flexible mediation analysis using natural effect models. JOURNAL OF STATISTICAL SOFTWARE. 2017;76(11).
- IEEE
- [1]J. Steen, T. Loeys, B. Moerkerke, and S. Vansteelandt, “medflex : an R package for flexible mediation analysis using natural effect models,” JOURNAL OF STATISTICAL SOFTWARE, vol. 76, no. 11, 2017.
@article{7088198,
abstract = {{Mediation analysis is routinely adopted by researchers from a wide range of applied disciplines as a statistical tool to disentangle the causal pathways by which an exposure or treatment affects an outcome. The counterfactual framework provides a language for clearly defining path-specific effects of interest and has fostered a principled extension of mediation analysis beyond the context of linear models. This paper describes medflex, an R package that implements some recent developments in mediation analysis embedded within the counterfactual framework. The medflex package offers a set of ready-made functions for fitting natural effect models, a novel class of causal models which directly parameterize the path-specific effects of interest, thereby adding flexibility to existing software packages for mediation analysis, in particular with respect to hypothesis testing and parsimony. In this paper, we give a comprehensive overview of the functionalities of the medflex package.}},
author = {{Steen, Johan and Loeys, Tom and Moerkerke, Beatrijs and Vansteelandt, Stijn}},
issn = {{1548-7660}},
journal = {{JOURNAL OF STATISTICAL SOFTWARE}},
keywords = {{mediation analysis,R,causal inference,direct effect,indirect effect,medflex,natural effect models,SENSITIVITY-ANALYSIS,CAUSAL MECHANISMS,INFERENCE,IDENTIFICATION,EXPOSURE,DECOMPOSITION,CONFOUNDER,IMPUTATION,VARIABLES,FORMULA}},
language = {{eng}},
number = {{11}},
pages = {{46}},
title = {{medflex : an R package for flexible mediation analysis using natural effect models}},
url = {{http://doi.org/10.18637/jss.v076.i11}},
volume = {{76}},
year = {{2017}},
}
- Altmetric
- View in Altmetric
- Web of Science
- Times cited: