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
thayermo07
Level I

Linear and quadratic contrasts with unequally spaced treatments

I am using the contrasts specification window with + and - buttons. However, when treatments are unequally spaced, the simple + and - isn't working. Here's my specific example:

 

Treatment doses: 0, 1, 2, 4 

 

These doses are NOT equally spaced so we can not use the typical 4 level linear and quadratic contrasts. I calculated appropriate coefficients as shows in this link. 

 

https://real-statistics.com/one-way-analysis-of-variance-anova/trend-analysis-polynomial-contrast-co...

 

From my calculations, the linear coefficients should be -7, -3, 1, 9. In JMP, -0.7, -0.3, 0.1, and 0.9 satisfy the JMP requirements of adding up to 0 and absolute value less than 2. 

 

My issue is with quadratic coefficients. From my calculations, the quadratic coefficients should be 224, -128, -256, 160. How do I get these quadratic coefficients into JMP 16 Pro?

 

Thank you for any and all advice!! 

11 REPLIES 11
MRB3855
Super User

Re: Linear and quadratic contrasts with unequally spaced treatments

Yes, it can be confusing.  It is how the model is parameterized. Yes, it looks funny...but once you realize how the model is parameterized it's just addition to get the contrasts/comparisons/estimates/etc. of interest.

Here is some detail: https://www.jmp.com/support/help/en/17.1/index.shtml#page/jmp/nominal-factors.shtml#ww65535.

Now, you can also see another parameterization if you look at the "indicator function parameterization" results in the Fit Model platform (compare those to the "parameter estimates"). They look different, but they are equivalent. That, however, won't change the parameterization in the Custom Test dialog. I'd take some time looking at your parameter estimates to make sure you understand them, and their respective p-values (i.e., what the null hypotheses are).  One way to help is to select "Show Prediction Expression" to see how the model actually looks.

MRB3855
Super User

Re: Linear and quadratic contrasts with unequally spaced treatments

Not knowing the details of your experiment makes this challenging, but can you treat dose as a continuous factor and model it via ANCOVA?  Yes, you only have 4 levels (0, 1,2, 4) but it may not be a bad way to at least visualize what is going on.

Recommended Articles