4.6 Article

medflex: An R Package for Flexible Mediation Analysis using Natural Effect Models

Journal

JOURNAL OF STATISTICAL SOFTWARE
Volume 76, Issue 11, Pages -

Publisher

JOURNAL STATISTICAL SOFTWARE
DOI: 10.18637/jss.v076.i11

Keywords

causal inference; mediation analysis; direct effect; indirect effect; natural effect models; medflex; R

Funding

  1. Research Foundation Flanders (FWO) [G.0111.12]

Ask authors/readers for more resources

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.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available