Moderated mediation analysis with 2 mediators

108 views
Skip to first unread message

Ava Buxton

unread,
Jun 25, 2026, 2:26:10 AMJun 25
to lav...@googlegroups.com
Hi everyone,

I am conducting a moderated mediation analysis with 2 mediators
How can I create interaction terms for the following model?:
Screenshot 2026-06-24 at 9.19.12 PM.png

Thank you.

Jeremy Miles

unread,
Jun 29, 2026, 12:57:40 PMJun 29
to lav...@googlegroups.com
Is W continuous or categorical?



--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lavaan/CAFUb6P9f_W0i2Rp2mXTsHQywwGb0CxxXvciyTnrS4S6w1LYZhg%40mail.gmail.com.

Ava Buxton

unread,
Jun 29, 2026, 12:59:32 PMJun 29
to lav...@googlegroups.com

ahmad valikhani

unread,
Jul 1, 2026, 6:44:27 AMJul 1
to lav...@googlegroups.com
Interaction between X and W = X scores * W scores 
Interaction between M and W = M scores * W scores

Andries Masenge

unread,
Jul 1, 2026, 8:24:14 AMJul 1
to lav...@googlegroups.com
mean centered X and W scores.





From: lav...@googlegroups.com <lav...@googlegroups.com> on behalf of ahmad valikhani <valik...@gmail.com>
Sent: Wednesday, July 01, 2026 12:44
To: lav...@googlegroups.com <lav...@googlegroups.com>
Subject: Re: Moderated mediation analysis with 2 mediators

This message and attachments are subject to a disclaimer.
Please refer to http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf 
for full details.

Ava Buxton

unread,
Jul 2, 2026, 2:38:26 PMJul 2
to lav...@googlegroups.com
Thank you!

Would I mean center all variables except y?
Since I have 2 mediators, do the following interaction terms make sense?:
 Interaction between X and W = X scores * W scores
 Interaction between M1 and W = M1 scores * W scores
 Interaction between M2 and W = M2 scores * W scores
Is there no term needed that includes y?

Christian Arnold

unread,
Jul 2, 2026, 4:14:35 PMJul 2
to 'Yves Rosseel' via lavaan
Hi Ava, 

please think twice before relying on scores for testing moderation in SEM. Whatever is being recommended here, both the product‑indicator approach and the newer SAM framework offer measurement‑consistent ways to estimate latent interactions in lavaan. A recent BRM paper (https://link.springer.com/article/10.3758/s13428-024-02532-y) shows how to apply SAM for moderarion. If you’re testing moderation with latent variables, PI or SAM will give you a much more defensible solution.

Best, Christian 


Von: lav...@googlegroups.com <lav...@googlegroups.com> im Auftrag von Ava Buxton <avatb...@gmail.com>
Gesendet: Donnerstag, Juli 2, 2026 8:38:29 PM
An: lav...@googlegroups.com <lav...@googlegroups.com>
Betreff: Re: Moderated mediation analysis with 2 mediators

Ava Buxton

unread,
Jul 8, 2026, 12:32:57 PM (14 days ago) Jul 8
to lav...@googlegroups.com
Thank you. Does anyone have advice for bootstrapping? I see variations of code for this but am confused about how to approach it in my case. My model looks like Hayes Model 15 with 2 mediators (all continuous).

Reply all
Reply to author
Forward
0 new messages