<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linear and quadratic contrasts with unequally spaced treatments in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626210#M82503</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47618"&gt;@thayermo07&lt;/a&gt;&amp;nbsp;, here is how ya do it via Custom Test (I have batch where you will have dose).&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, do a custom test to find the coefficients you need in the Custom Test dialog.&amp;nbsp; You say you need this contrast:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;224, -128, -256, 160.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ok, so put those in four columns in the custom test like this. Batch D is that way because of the way the model (via Fit Model platform) is parameterized.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRB3855_0-1682505982747.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52363iEFDCDD505A2E54E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MRB3855_0-1682505982747.png" alt="MRB3855_0-1682505982747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then add across columns to get the following.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRB3855_1-1682506071901.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52364iC27430F7F507DF49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MRB3855_1-1682506071901.png" alt="MRB3855_1-1682506071901.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, finally, do another custom test to get your final contrast of interest. i.e., the contrast shown below is your desired quadratic contrast. It is important to understand how the model (via the Fit Model platform) is parameterized to use the Custom Test dialog correctly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRB3855_2-1682506145617.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52365i5CEEC548D622908B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MRB3855_2-1682506145617.png" alt="MRB3855_2-1682506145617.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2023 07:33:27 GMT</pubDate>
    <dc:creator>MRB3855</dc:creator>
    <dc:date>2023-04-27T07:33:27Z</dc:date>
    <item>
      <title>Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/624288#M82307</link>
      <description>&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Treatment doses: 0, 1, 2, 4&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://real-statistics.com/one-way-analysis-of-variance-anova/trend-analysis-polynomial-contrast-coefficients/trend-analysis-unequal-intervals/" target="_blank" rel="noopener"&gt;https://real-statistics.com/one-way-analysis-of-variance-anova/trend-analysis-polynomial-contrast-coefficients/trend-analysis-unequal-intervals/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue is with quadratic coefficients. From my calculations, the quadratic coefficients should be 224, -128, -256, 160. &lt;STRONG&gt;How do I get these quadratic coefficients into JMP 16 Pro?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any and all advice!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 01:00:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/624288#M82307</guid>
      <dc:creator>thayermo07</dc:creator>
      <dc:date>2023-06-09T01:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/625626#M82440</link>
      <description>&lt;P&gt;You may be interested in the &lt;A href="https://www.jmp.com/support/help/en/16.2/#page/jmp/custom-test.shtml" target="_blank" rel="noopener"&gt;Custom Test&lt;/A&gt; tool in Fit Model (top red triangle &amp;gt; Estimates &amp;gt; Custom Test), which uses manual entry of contrast coefficients.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like a similar question was asked and answered a few years ago: &lt;A href="https://community.jmp.com/t5/Discussions/How-to-specify-contrast-coefficients-with-quot-Contrast/td-p/337578" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/Discussions/How-to-specify-contrast-coefficients-with-quot-Contrast/td-p/337578.&lt;/A&gt; You may want to review that thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 20:12:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/625626#M82440</guid>
      <dc:creator>Ross_Metusalem</dc:creator>
      <dc:date>2023-04-24T20:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/625837#M82452</link>
      <description>&lt;P&gt;Thank you for sharing this thread. It looks like at the end of it, the same question is asked that I am asking here (how to conduct a contrast with unequal spacing between treatments).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using the Custom Test tool, do the same rules apply in regards to&amp;nbsp;&lt;SPAN&gt;adding up to 0 and absolute value less than 2?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 12:09:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/625837#M82452</guid>
      <dc:creator>thayermo07</dc:creator>
      <dc:date>2023-04-25T12:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/625852#M82453</link>
      <description>&lt;P&gt;No such rules apply here; for each column in the Custom Test, you can test/estimate any contrast of interest...&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 12:45:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/625852#M82453</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2023-04-25T12:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626029#M82475</link>
      <description>&lt;P&gt;You can see in the example that appears in the other cited discussion that JMP automatically normalizes the coefficients used to compute the contrasts.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 17:44:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626029#M82475</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-04-25T17:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626032#M82476</link>
      <description>&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you explain what you mean by normalizes the coefficients?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you saying that I can more or less ignore the calculation of coefficients for unequally spaced treatments and act like they are evenly spaced?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 18:14:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626032#M82476</guid>
      <dc:creator>thayermo07</dc:creator>
      <dc:date>2023-04-25T18:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626039#M82477</link>
      <description>&lt;P&gt;Use the link in the first reply from Ross to see the previous discussion. Look at the first picture, Table A.2. My example is for the case where V = 4. I entered the contrast coefficients -3, -1, +1, and +3 from Table A.2 using the + and - buttons in the JMP interface. The results Contrast &amp;gt; Test Detail in the screenshot below Table A.2 showed that JMP used the linear contrast coefficients of 0.75, 0.25, -0.25, and -0.75. Note in the original discussion, I entered the coefficients in reverse order by mistake. The Test Details would have shown as -0.75, -0.25, 0.25, and 0.75 if I entered them correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not know what you mean by 'even spaced.' That is not a requirement for the Analysis of Variance. The levels are modeled as nominal values, and the tests are for group means or combinations of group means.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 18:55:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626039#M82477</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-04-25T18:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626053#M82480</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree that the contrast coefficients you assigned of&amp;nbsp;&lt;SPAN&gt;-0.75, -0.25, 0.25, and 0.75 would be correct if the treatments were 0, 50, 100, 150 (evenly spaced). Because the last treatment is actually 200, that's what I mean by unequally spaced.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am interested to see if responses have a linear, quadratic, or cubic trend, not just comparing the means of one treatment group to another treatment group. Here is the link to calculate trend analysis for unequal intervals for one-way ANOVA:&amp;nbsp;&lt;A href="https://real-statistics.com/one-way-analysis-of-variance-anova/trend-analysis-polynomial-contrast-coefficients/trend-analysis-unequal-intervals/" target="_blank"&gt;https://real-statistics.com/one-way-analysis-of-variance-anova/trend-analysis-polynomial-contrast-coefficients/trend-analysis-unequal-intervals/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 19:18:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626053#M82480</guid>
      <dc:creator>thayermo07</dc:creator>
      <dc:date>2023-04-25T19:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626188#M82499</link>
      <description>&lt;P&gt;Not knowing the details of your experiment makes this challenging, but can you treat dose as a continuous factor and model it via ANCOVA?&amp;nbsp; 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.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 09:57:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626188#M82499</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2023-04-26T09:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626210#M82503</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47618"&gt;@thayermo07&lt;/a&gt;&amp;nbsp;, here is how ya do it via Custom Test (I have batch where you will have dose).&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, do a custom test to find the coefficients you need in the Custom Test dialog.&amp;nbsp; You say you need this contrast:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;224, -128, -256, 160.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ok, so put those in four columns in the custom test like this. Batch D is that way because of the way the model (via Fit Model platform) is parameterized.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRB3855_0-1682505982747.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52363iEFDCDD505A2E54E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MRB3855_0-1682505982747.png" alt="MRB3855_0-1682505982747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then add across columns to get the following.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRB3855_1-1682506071901.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52364iC27430F7F507DF49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MRB3855_1-1682506071901.png" alt="MRB3855_1-1682506071901.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, finally, do another custom test to get your final contrast of interest. i.e., the contrast shown below is your desired quadratic contrast. It is important to understand how the model (via the Fit Model platform) is parameterized to use the Custom Test dialog correctly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRB3855_2-1682506145617.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52365i5CEEC548D622908B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MRB3855_2-1682506145617.png" alt="MRB3855_2-1682506145617.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 07:33:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626210#M82503</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2023-04-27T07:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626748#M82547</link>
      <description>&lt;P&gt;This is a bit confusing to me. Would you mind sharing a link to material explaining this? Just at first glance, why is column 5 160 and then negative 160 for the cells below it?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 12:49:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626748#M82547</guid>
      <dc:creator>thayermo07</dc:creator>
      <dc:date>2023-04-27T12:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Linear and quadratic contrasts with unequally spaced treatments</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626776#M82551</link>
      <description>&lt;P&gt;Yes, it can be confusing.&amp;nbsp; 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.&lt;/P&gt;&lt;P&gt;Here is some detail:&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.1/index.shtml#page/jmp/nominal-factors.shtml#ww65535" target="_blank" rel="noopener"&gt;https://www.jmp.com/support/help/en/17.1/index.shtml#page/jmp/nominal-factors.shtml#ww65535&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;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&amp;nbsp;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). &amp;nbsp;One way to help is to select "Show Prediction Expression" to see how the model actually looks.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 20:48:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-and-quadratic-contrasts-with-unequally-spaced-treatments/m-p/626776#M82551</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2023-04-29T20:48:40Z</dc:date>
    </item>
  </channel>
</rss>

