medflex: Flexible Mediation Analysis Using Natural Effect Models

Run flexible mediation analyses using natural effect models as described in Lange, Vansteelandt and Bekaert (2012) <doi:10.1093/aje/kwr525>, Vansteelandt, Bekaert and Lange (2012) <doi:10.1515/2161-962X.1014> and Loeys, Moerkerke, De Smet, Buysse, Steen and Vansteelandt (2013) <doi:10.1080/00273171.2013.832132>.

Version: 0.6-6
Depends: R (≥ 3.1.2), multcomp (≥ 1.3-6)
Imports: boot (≥ 1.3-8), car (≥ 2.0-21), Matrix (≥ 1.1-4), graphics (≥ 3.1.2), sandwich (≥ 2.3-2), stats (≥ 3.1.2), utils (≥ 3.1.2)
Suggests: arm (≥ 1.7-05), gam (≥ 1.09.1), glmnet (≥ 1.9-8), mice (≥ 2.22), mitools (≥ 2.3), rpart (≥ 4.1-8), SuperLearner (≥ 2.0-15), VGAM (≥ 1.0-0)
Published: 2018-09-03
Author: Johan Steen [aut, cre], Tom Loeys [aut], Beatrijs Moerkerke [aut], Stijn Vansteelandt [aut], Joris Meys [ctb] (technical support), Theis Lange [ctb] (valuable suggestions), Joscha Legewie [ctb], Paul Fink [ctb]
Maintainer: Johan Steen <johan.steen at>
License: GPL-2
NeedsCompilation: no
Citation: medflex citation info
Materials: NEWS
In views: Psychometrics
CRAN checks: medflex results


Reference manual: medflex.pdf
Vignettes: Flexible mediation analysis in R using natural effect models
Sandwich estimator derivations for natural effect model parameters
Package source: medflex_0.6-6.tar.gz
Windows binaries: r-devel:, r-devel-gcc8:, r-release:, r-oldrel:
OS X binaries: r-release: medflex_0.6-6.tgz, r-oldrel: medflex_0.6-6.tgz
Old sources: medflex archive


Please use the canonical form to link to this page.