Within-subjects parallel mediation model with one moderator

Hello RStudio community,

I'm trying to run a within-subjects parallel mediation model with one moderator on my data. My variables are as follows:

  • X : independent variable; within-subjects with 2 levels
  • M1 : first mediator; within-subjects and continuous
  • M2 : second mediator; within-subjects and continuous
  • Z : moderator; between-subjects and continuous
  • Y : dependent variable; within-subjects and continuous

Here's a model diagram with this information:

Do you have any suggestions for how to run this model? I appreciate any insights you have and I thank you for your time and consideration!

This is likely a use case for the mediation package

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.