Theoretically I have two competing mediators (M1 and M2), each of which possibly mediates the relationship between my independent (X) and dependent (Y) variable. I implemented two different mediation analyses using the lavaan package in R with bootstrapping technique for the same dataset: one with the mediator M1, and one with the mediator M2. The coefficient estimate for the mediating effect (i.e. the indirect effect a1*b1) of M2 (β=0.199) is higher than that of M1 (β=0.170). How can I find out if the mediating effects of these two mediators are statistically significant? If it is so, it can be concluded that M2 has a stronger mediating effect than M1 on the relationship between X and Y, can't it?
I have tried to find some information on comparing the coefficients of different mediators for the same statistical model, but what I could get was related only to comparing the coefficients of different independent variables for the same or different models but not mediators.
My model is a moderated mediation model, but at the moment what I am interested in is to compare the mediation effects, not the effects of moderated mediation.
Hopefully I am not taking anybody's time in vain.
I would very much appreciate if someone could help me in this issue. Thanks a lot in advance.
Here's my code:
# For Mediator 1 M1
ModMediation1 <- ' M1 ~ a1*RD + a2*PD + a3*RDXPD + a4*FA +
a5*FS + a6*FG + a7*T
Perf ~ b1*M1 + b2*FA + b3*FS + b4*FG + b5*T +
c2*PD + c3*RDXPD
# indirect effect
IndEff := a1*b1
# index of moderated mediation
IndModMed := a3*b1
'
ModMediation1_fit <- lavaan::sem(ModMediation1, data = p2_df, se = "bootstrap", bootstrap = 10000)
summary(ModMediation1_fit, fit.measures = TRUE, rsq = TRUE, standardized = TRUE, ci = TRUE)
parameterestimates(ModMediation1_fit, boot.ci.type = "bca.simple", standardized = TRUE, level = 0.95)
# For Mediator 2 M2
ModMediation2 <- ' M2 ~ a1*RD + a2*PD + a3*RDXPD + a4*FA +
a5*FS + a6*FG + a7*T
Perf ~ b1*M2 + b2*FA + b3*FS + b4*FG + b5*T +
c2*PD + c3*RDXPD
# indirect effect
IndEff := a1*b1
# index of moderated mediation
IndModMed := a3*b1
'
ModMediation2_fit <- lavaan::sem(ModMediation2, data = p2_df, se = "bootstrap", bootstrap = 10000)
summary(ModMediation2_fit, fit.measures = TRUE, rsq = TRUE, standardized = TRUE, ci = TRUE)
parameterestimates(ModMediation2_fit, boot.ci.type = "bca.simple", standardized = TRUE, level = 0.95)