cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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!

Recommended Articles