cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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