rmedsem - Statistical Mediation Analysis for SEMs
Conducts mediation analysis for structural equation models
(SEM) estimated with 'lavaan', 'blavaan', 'cSEM', 'plssem', or
'modsem'. Implements the Baron and Kenny (1986)
<doi:10.1037/0022-3514.51.6.1173> and Zhao, Lynch & Chen (2010)
<doi:10.1086/651257> approaches to determine the presence and
type of mediation. Supports covariance-based SEM, partial least
squares SEM, Bayesian SEM, and moderated mediation and mediated
moderation models. Tests indirect effects with the Sobel,
Delta, Monte-Carlo, and bootstrap methods or, for Bayesian
models, with posterior summaries and equal-tailed or highest
density credible intervals. Reports the effect size measures
RIT, RID, and Upsilon of Lachowicz, Preacher and Kelley (2018)
<doi:10.1037/met0000165>. Results can be summarized, extracted
with standard methods such as summary(), coef() and confint(),
and plotted.