I'm new to SEM. Is there a way to examine an interaction (moderation effect) using JMP's SEM program?
Hi @strecher1,
Moderation in SEM is done in one of 2 ways:
Note that if you want the interaction to be created with mean-centered terms (which is usually desired to avoid multicollinearity), you should first select New Formula Column > Distributional > Center, and then create the product variable with the centered terms.
Both of these approaches are good. One usually recommends #2 when sample sizes for each group are large (definition of "large" depends on how complex the model is), otherwise #1 is the way to go. Although SEM is much more flexible than regression, I’d like to illustrate an example of estimating an interaction in SEM and comparing with Fit Model so you can see the similarities. Running the attached script will show you the Fit Model and SEM results and will compute the interaction term with centered terms. As you can see below, the results are the same:
So, the multiplicative term is the key to testing moderation effects in SEM.
HTH,
~Laura
@strecher , I'm very excited to share that one of our summer interns, @Haley_Yaremych PhD student at Vanderbilt, wrote a fantastic add-in for testing and visualizing interaction effects in SEM! You can test for basic moderation or moderated mediation. I think you'll find it very helpful! The add-in is for observed variable interactions and produces plots for simple slopes, including an interactive Johnson-Neyman plot (it's super cool!):
You can download the add-in here: https://community.jmp.com/t5/JMP-Add-Ins/Moderation-and-Mediation-Add-In/ta-p/527203
And learn more about how to use it with this blog post (which happens to use an example about finding meaning in one's work): https://community.jmp.com/t5/JMPer-Cable/Who-what-why-and-how-Tools-for-modeling-and-visualizing/ba-p/527173 We hope you'll find this add-in useful!
Best,