cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
ukhan1
Level II

Polynomial contrasts in JMP 14 pro

@Mark_Baileyhas answered this question at https://community.jmp.com/t5/Discussions/How-to-specify-contrast-coefficients-with-quot-Contrast/td-..., but I could not figure out how to carry out this analysis myself in JMP pro 14

I would be thankful if someone could show the step-by-step procedure for performing the polynomial contrasts in GIF animations or screenshots. Also, the detailed report that shows the final values for the Linear, Quadratic, and Cubic contrasts.

 

I attached the sample data to this post too. Thank you
Kind regards,

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Polynomial contrasts in JMP 14 pro

Why do you post your example in an Excel spreadsheet when this is the JMP Community?

 

Here are step-by-step instructions. I assume you have your data arranged exactly like the data in the other discussion you cited. There is one categorical factor at four levels. My mock-up of the data uses the name Dose for the factor. The data column for the factor uses the ordinal modeling type. One response uses the numeric data type and the continuous modeling type. My mock-up of the data uses the name Y for the response.

 

  1. Select Analyze > Fit Model.
  2. Select the Y column and click Y.
  3. Select the Dose data column and click Add.
  4. Click Run.
  5. Open the Effect Details outline.
  6. Click the red triangle next to Effect Details and select LSMeans Contrast.
    contrast 1.PNG
  7. Translate each row of coefficients into a column for the contrast specifications. Note that the coefficients in the table will be normalized in the contrast by JMP.
    1. Translate row 1 of case V=4 in Table A.2 in the other discussion is Linear -3, -1, 1, 3.
      1. Click the - button to the right of 0 three times.
      2. Click the - button to the right of 50 once.
      3. Click the + button to the right of 100 once.
      4. Click the + button to the right of 200 three times.
        contrast 2.PNG
      5. Click New Column.
    2. Translate row 2 of case V=4 in Table A.2 in the other discussion is Quadratic 1, -1, -1, 1.
      1. Click the + button to the right of 0 once.
      2. Click the - button to the right of 50 once.
      3. Click the - button to the right of 100 once.
      4. Click the + button to the right of 200 once.
        contrast 3.PNG
      5. Click New Column.
    3. Translate row 3 of case V=4 in Table A.2 in the other discussion is Cubic -1, 3, -3, 1.
      1. Click the - button to the right of 0 once.
      2. Click the + button to the right of 50 three times.
      3. Click the - button to the right of 100 three times.
      4. Click the + button to the right of 200 once.
        contrast 4.PNG
      5. Click Done.

You will get the omnibus test first.

omni.PNG

Open the Test Detail outline to see the individual contrast results.

detail.PNG

View solution in original post

7 REPLIES 7

Re: Polynomial contrasts in JMP 14 pro

Why do you post your example in an Excel spreadsheet when this is the JMP Community?

 

Here are step-by-step instructions. I assume you have your data arranged exactly like the data in the other discussion you cited. There is one categorical factor at four levels. My mock-up of the data uses the name Dose for the factor. The data column for the factor uses the ordinal modeling type. One response uses the numeric data type and the continuous modeling type. My mock-up of the data uses the name Y for the response.

 

  1. Select Analyze > Fit Model.
  2. Select the Y column and click Y.
  3. Select the Dose data column and click Add.
  4. Click Run.
  5. Open the Effect Details outline.
  6. Click the red triangle next to Effect Details and select LSMeans Contrast.
    contrast 1.PNG
  7. Translate each row of coefficients into a column for the contrast specifications. Note that the coefficients in the table will be normalized in the contrast by JMP.
    1. Translate row 1 of case V=4 in Table A.2 in the other discussion is Linear -3, -1, 1, 3.
      1. Click the - button to the right of 0 three times.
      2. Click the - button to the right of 50 once.
      3. Click the + button to the right of 100 once.
      4. Click the + button to the right of 200 three times.
        contrast 2.PNG
      5. Click New Column.
    2. Translate row 2 of case V=4 in Table A.2 in the other discussion is Quadratic 1, -1, -1, 1.
      1. Click the + button to the right of 0 once.
      2. Click the - button to the right of 50 once.
      3. Click the - button to the right of 100 once.
      4. Click the + button to the right of 200 once.
        contrast 3.PNG
      5. Click New Column.
    3. Translate row 3 of case V=4 in Table A.2 in the other discussion is Cubic -1, 3, -3, 1.
      1. Click the - button to the right of 0 once.
      2. Click the + button to the right of 50 three times.
      3. Click the - button to the right of 100 three times.
      4. Click the + button to the right of 200 once.
        contrast 4.PNG
      5. Click Done.

You will get the omnibus test first.

omni.PNG

Open the Test Detail outline to see the individual contrast results.

detail.PNG

Re: Polynomial contrasts in JMP 14 pro

Please realize that linear regression methods have superseded this analysis. In my example, the Dose is a continuous factor but treated as a categorical one to answer your question. I can use regression with a linear model that includes higher-order terms to test the same things.

 

Here is the result from using contrasts:

linear.PNG

 

Here is the result using linear regression:

regr.PNG

 

The conclusions are the same from both methods (the linear effect is significant, but the quadratic and cubic effects are not significant). Note that the actual tests are different, so the p-values are not the same, but the conclusions are the same.

ukhan1
Level II

Re: Polynomial contrasts in JMP 14 pro

Thank you, Mark, but I could not find the "Open the Effect Details outline." step. I also check "Specify Contrasts.jmp". 

Re: Polynomial contrasts in JMP 14 pro

The Effect Details outline is initially at the bottom of the Fit Least Squares window.

 

effect details.PNG

ukhan1
Level II

Re: Polynomial contrasts in JMP 14 pro

“Model Specification” I need to select “Minimal Report” from the Emphasis menu to get a result similar to yours.

Last question, looking at the “Test Detail” in my attached screenshot, could you please tell me which effect (linear, quadratic, or cubic) is significant or best fit?




Re: Polynomial contrasts in JMP 14 pro

I used Minimal Report to minimize the irrelevant information. The choice for Emphasis makes a big difference in the initial report that opens.

 

I cannot tell you which contrasts are significant, but I can tell you where to find the information you can use to decide. I called out the p-values for each of the individual contrasts so you can find it and decide.

 

Inkedukhan2.jpg

ukhan1
Level II

Re: Polynomial contrasts in JMP 14 pro

Thank you so much Mark for the help.
Kind regards,