I'd like to ask you for some guidance in specifying properly a mediated moderation model in lavaan.
Following Hayes PROCESS macro templates i'm setting model 14:
X is experimental condition coded as 0 - 1, V, M and Y are all continues (mean scores of discrete questionnaire items).
I mean centered all but Y, computed a product of M * V and now I'd like to code all the effects.
mod14 <- '
M ~ a*X
Y ~ c*X + b*M + V + MV
indirect:= a * b
direct := c
total := c + (a*b)'
What I'd like to add here is what output from PROCESS macro calls:
- Conditional effects of the focal predictor at values of the moderator(s):
- Conditional effect of focal predictor at values of the moderator
- Conditional indirect effects of X on Y
- Index of moderated mediation
I woud appreciate some help,