cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
strecher1
Level II

Examining an interaction (moderation effect) using JMP SEM

I'm new to SEM. Is there a way to examine an interaction (moderation effect) using JMP's SEM program?

2 REPLIES 2
LauraCS
Staff

Re: Examining an interaction (moderation effect) using JMP SEM

Hi @strecher1,

 

Moderation in SEM is done in one of 2 ways:

 

  1. Similar to standard regression, one includes an interaction term into the model as a predictor, in addition to the two main effects. If you’ve done this *outside* of JMP, you probably had to create the multiplicative/interaction term manually – JMP is very cool so in Fit Model (and other platforms) it saves you the time of doing that with the “Cross” button –it further centers the terms to create the interaction! However, in SEM, I haven’t (yet) added that time-saving feature (but be on the lookout for the future!). Thus, the easiest way is creating a new formula column (select columns and right-click): 
     

    JMP_Product_Column.jpg

     

    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.

  2. SEM has what’s called “multiple-group analysis” which enables one to explore if/how effects vary across populations. In a nutshell, the exact same model is fit simultaneously to the samples (2 or more) and one tests moderation effects by forcing certain parameter estimates to be equal across the groups and using a chi-square difference test to see if the constraint led the model to fit significantly worse. We will offer multiple-group analysis in JMP Pro 16.

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:

 

JMP_SEM_vs_FitModel_Moderation.jpg

 

So, the multiplicative term is the key to testing moderation effects in SEM. 

 

HTH,

~Laura

Laura C-S
LauraCS
Staff

Re: Examining an interaction (moderation effect) using JMP SEM

@strecher , I'm very excited to share that one of our summer interns, @haleyyaremych 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!):

JMP_J-N_Graphlets.gif

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-...  We hope you'll find this add-in useful!

 

Best,

~Laura

Laura C-S