Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Johan Steen, Tom Loeys, Beatrijs Moerkerke, Stijn Vansteelandt
Title: Medflex: An R Package for Flexible Mediation Analysis Using Natural Effect Models
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.


Page views:: 231. Submitted: 2015-09-25. Published: 2019-05-06.
Paper: Medflex: An R Package for Flexible Mediation Analysis Using Natural Effect Models     (Downloads: 0)
Supplements:
medflex_0.6-0.tar.gz: R source package Download (Downloads: 27; 1MB)
medflex_replication_code.R: R example code from the paper Download (Downloads: 60; 4KB)
medflex-tex+bib+fig.zip: Replication material Download (Downloads: 29; 198KB)
ReplyToReviewsJSS1534.pdf: Reply to the reviewers Download (Downloads: 128; 159KB)


by
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.