2017
DOI: 10.18637/jss.v076.i11
|View full text |Cite
|
Sign up to set email alerts
|

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… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

3
214
0

Year Published

2017
2017
2024
2024

Publication Types

Select...
10

Relationship

0
10

Authors

Journals

citations
Cited by 233 publications
(229 citation statements)
references
References 58 publications
3
214
0
Order By: Relevance
“…Estimation was done using the medflex package for R. 29 Workplace bullying and longterm sickness absence were included as dichotomous variables in the mediation analysis, while perceived stress were included as a 5-level categorical variable (split on the 20th, 40th, 60th, and 80th percentile).…”
Section: Discussionmentioning
confidence: 99%
“…Estimation was done using the medflex package for R. 29 Workplace bullying and longterm sickness absence were included as dichotomous variables in the mediation analysis, while perceived stress were included as a 5-level categorical variable (split on the 20th, 40th, 60th, and 80th percentile).…”
Section: Discussionmentioning
confidence: 99%
“…The recently released medflex package in R allows for mediation analyses using imputation strategies for the estimation of natural effects. 38 This study contributes to the growing body of evidence showing the long-term health benefits of years of schooling.…”
Section: Discussionmentioning
confidence: 88%
“…We refer the readers to [19], and references therein, for relevant discussions on assumptions needed and analysis conducted in order to avoid, or at least minimize, potential bias due to confounding when conducting mediation analysis. The difference method does not allow for mediator-exposure interaction, and alternative methods to allow for this interaction were previously developed [34, 38, 49]. …”
Section: Discussionmentioning
confidence: 99%