cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
jswislar
Level III

How do I create 3-way interactions in linear regression?

I'm trying to create a model with a 3-way interaction term. I selected the variables and clicked on "cross" per JMP instructions for 2 or more variables. But JMP gives me the following warning:

 

"The model is missing an effect

X1*X2*X2*X1"

 

Which is especially odd since what I entered into the model, and what appears in the dialog box, is:

X1

X2

X3

X4

X5

X1*X2*X3

 

Any thoughts on how to resolve this?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How do I create 3-way interactions in linear regression?

If you want the term X1*X2*X3, then you must also include X1*X2, X1*X3, and X2*X3 to maintain the linear model hierarchy, even if these lower order terms are not significant.

View solution in original post

2 REPLIES 2

Re: How do I create 3-way interactions in linear regression?

If you want the term X1*X2*X3, then you must also include X1*X2, X1*X3, and X2*X3 to maintain the linear model hierarchy, even if these lower order terms are not significant.

jswislar
Level III

Re: How do I create 3-way interactions in linear regression?

Ahhh, you're right! I was thinking that only the lower order terms needs to be included. Thanks!