Moderation within SEM in lavaan

Dear community,

I hope you can help me out. I want to do a moderation within a SEM in lavaan.

The idea is that the variable "OK" moderates the each influence of sB, aeB and vB on LMX.

This is the basic model:

LMX ~ sB+ aeB+ vB + sB

I tried to add OK as a moderator by writing:

LMX ~ sB+sB xOK + aeB +aeB xOK + vB+vB xOK + sB+sB xOK

But that did not work out. It justed added OK as another predictor and not a moderator. Can anybody help me out?

Best regards,
Stephan

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.