Hi everyone,
I'm new to SEM and lavaan, and any help would be appreciated. I'm trying to test a complex model through lavaan only with observed variables. From what I could gather in the package website and this forum, I came up with the following model:
model1 <- '
ICA ~ g*PE + c*NAS + e*LHS
NAS ~ b*RD + f*RD.LHS
LHS ~ d*RD
RD ~ a*SJ
# Indirect Effects:
abc := a*b*c
ade := a*d*e
# Conditional Effect:
cond := (a*b*c) + (a*d*e) + f
cond_below := (a*b*c) + (a*d*e) + (-14.81*f)
cond_upper := (a*b*c) + (a*d*e) + (14.81*f)
'
Still, I don't know if my script is correct, especially considering the interaction RD.LHS and the conditional effect, as well as how to probe it. I am aware of semTools, but its functions only work with latent variables, so I looked up in the forum and found the suggestion of doing -1 SD / + 1 SD in the conditional effects (14.81 being the SD of the moderator).
Again, any help would be greatly appreciated.
Cleno Couto