medflex: An R Package for Flexible Mediation Analysis using Natural Effect Models
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 o...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Foundation for Open Access Statistics
2017-02-01
|
Series: | Journal of Statistical Software |
Subjects: | |
Online Access: | https://www.jstatsoft.org/index.php/jss/article/view/3044 |
id |
doaj-ba72108e8d704dd2a85a0ffeba3ff1da |
---|---|
record_format |
Article |
spelling |
doaj-ba72108e8d704dd2a85a0ffeba3ff1da2020-11-25T00:23:59ZengFoundation for Open Access StatisticsJournal of Statistical Software1548-76602017-02-0176114610.18637/jss.v076.i111087medflex: An R Package for Flexible Mediation Analysis using Natural Effect ModelsJohan SteenTom LoeysBeatrijs MoerkerkeStijn VansteelandtMediation 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.https://www.jstatsoft.org/index.php/jss/article/view/3044causal inferencemediation analysisdirect effectindirect effectnatural effect modelsmedflexR |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Johan Steen Tom Loeys Beatrijs Moerkerke Stijn Vansteelandt |
spellingShingle |
Johan Steen Tom Loeys Beatrijs Moerkerke Stijn Vansteelandt medflex: An R Package for Flexible Mediation Analysis using Natural Effect Models Journal of Statistical Software causal inference mediation analysis direct effect indirect effect natural effect models medflex R |
author_facet |
Johan Steen Tom Loeys Beatrijs Moerkerke Stijn Vansteelandt |
author_sort |
Johan Steen |
title |
medflex: An R Package for Flexible Mediation Analysis using Natural Effect Models |
title_short |
medflex: An R Package for Flexible Mediation Analysis using Natural Effect Models |
title_full |
medflex: An R Package for Flexible Mediation Analysis using Natural Effect Models |
title_fullStr |
medflex: An R Package for Flexible Mediation Analysis using Natural Effect Models |
title_full_unstemmed |
medflex: An R Package for Flexible Mediation Analysis using Natural Effect Models |
title_sort |
medflex: an r package for flexible mediation analysis using natural effect models |
publisher |
Foundation for Open Access Statistics |
series |
Journal of Statistical Software |
issn |
1548-7660 |
publishDate |
2017-02-01 |
description |
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. |
topic |
causal inference mediation analysis direct effect indirect effect natural effect models medflex R |
url |
https://www.jstatsoft.org/index.php/jss/article/view/3044 |
work_keys_str_mv |
AT johansteen medflexanrpackageforflexiblemediationanalysisusingnaturaleffectmodels AT tomloeys medflexanrpackageforflexiblemediationanalysisusingnaturaleffectmodels AT beatrijsmoerkerke medflexanrpackageforflexiblemediationanalysisusingnaturaleffectmodels AT stijnvansteelandt medflexanrpackageforflexiblemediationanalysisusingnaturaleffectmodels |
_version_ |
1725354548531298304 |