<?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: How to Compare Slopes (to each other - not to the mean slope) in linear modeling in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/813685#M99514</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7073" target="_blank"&gt;@MRB3855,&amp;nbsp;&lt;/A&gt;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2742" target="_blank"&gt;@martindemel&lt;/A&gt;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7073" target="_blank"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;thanks to this custom testing and the contrasts showed by&amp;nbsp;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2742" target="_blank"&gt;@martindemel&lt;/A&gt;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7073" target="_blank"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;I have the same resutls as with R.&lt;/P&gt;&lt;P&gt;The only thing that could remain would be to get a Tuckey adjustment of the p-values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 09:24:08 GMT</pubDate>
    <dc:creator>Augustin</dc:creator>
    <dc:date>2024-11-18T09:24:08Z</dc:date>
    <item>
      <title>How to Compare Slopes (to each other - not to the mean slope) in linear modeling</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/809863#M99140</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2742"&gt;@martindemel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in JMP 18.0.1, I am launching a linear model :&lt;/P&gt;&lt;P&gt;Y ~ X1 * X2&lt;/P&gt;&lt;P&gt;Where :&lt;/P&gt;&lt;P&gt;- Y is the continuous response&lt;/P&gt;&lt;P&gt;- X1 is a continuous regressor&lt;/P&gt;&lt;P&gt;- X2 is a categorical regressor (3 categories named "A", "B", "C")&lt;/P&gt;&lt;P&gt;&lt;FONT color="#999999"&gt;Some people call this model an ANCOVA&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From this I get :&lt;/P&gt;&lt;P&gt;an intercept and a slope (over X1) per categories of X2., like in the following graphic:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Augustin_0-1730976305132.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69923i1FDF82E4411230A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Augustin_0-1730976305132.png" alt="Augustin_0-1730976305132.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to &lt;STRONG&gt;compare these slopes against each other in a paire-wise manner&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;like so (done in R&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;4.2.2&lt;/SPAN&gt;&lt;/SPAN&gt;:(&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;library(emmeans)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;pairs(emtrends(lm(Y ~ X2 * X1, data = df), ~ X2, var="X1"))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;contrast estimate     SE df t.ratio p.value
 A - B       0.211 0.0616 54   3.431  0.0033
 A - C      -1.721 0.0616 54 -27.934  &amp;lt;.0001
 B - C      -1.932 0.0616 54 -31.365  &amp;lt;.0001

P value adjustment: tukey method for comparing a family of 3 estimates &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now, in JMP I only found ways to do very close things &lt;STRONG&gt;but not exactly&lt;/STRONG&gt; what I want :&lt;/P&gt;&lt;P&gt;&lt;U&gt;1. Fit model appraoch:&amp;nbsp;Compare Slopes with Overall Average&lt;/U&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; Red Triangle / estimates / Compare slopes&lt;/P&gt;&lt;P&gt;This compares each slope to the avergage slope (with a Nelson adjustment)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 597px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69925iB9B341E3BC284C6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;2. Fit curve approach: Equivalence Test Results&lt;/U&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; red triangle (from linear fit) / Equivalence test&lt;/P&gt;&lt;P&gt;This approach performs pairwise (accross categories of X2) equivalence tests for each parameters of the fit. here, there are only 2 paramters, the intercept and the slope.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 575px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69924i3A5FFDE27750788B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Conclusion and final question :&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I know there are multiple ways to decide whether one slope is different from the others. But I am looking for the specific approach of pairewise comparison between slopes (same as performable in R, see above).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Description of the attachements :&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;- data.xlsx = Excel file of the data (simulated data)&lt;/P&gt;&lt;P&gt;- Compare_slopes_example.jmp =&amp;nbsp; JMP table, with the data from data.xlsx and the fit model, fit curve analyses saved to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thank you very much for your help !&lt;BR /&gt;Have a nice day = )&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 11:06:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/809863#M99140</guid>
      <dc:creator>Augustin</dc:creator>
      <dc:date>2024-11-07T11:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare Slopes (to each other - not to the mean slope) in linear modeling</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/809873#M99144</link>
      <description>&lt;P&gt;I think you want to use the Fit model platform using X1, X2, and X1*X2 (cross effect) as factors.&amp;nbsp; That allows both the slopes and intercepts to vary and I believe provides all the information needed to statistically compare the slopes and intercepts with both the averages and each other.&amp;nbsp; Somebody with a more complete statistical background can probably suggest exactly where to look for that information.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 13:27:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/809873#M99144</guid>
      <dc:creator>dlehman1</dc:creator>
      <dc:date>2024-11-07T13:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare Slopes (to each other - not to the mean slope) in linear modeling</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/809899#M99150</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/53879"&gt;@dlehman1&lt;/a&gt;&amp;nbsp;is correct. With the model he specified, the test of X2 will tell you if the intercepts of the three lines are different. The test of the interaction will tell you if the slopes are different. To understand why, look at the Prediction Equation of this model and you can see how the X2 parameter is an adjustment to the intercept while the X1*X2 parameter is an adjustment to the X1 slope.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 15:30:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/809899#M99150</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2024-11-07T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare Slopes (to each other - not to the mean slope) in linear modeling</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/810131#M99183</link>
      <description>&lt;P&gt;Hi, I found another thread which discusses this question in more detail. They address as far I can see that you do not just want t understand if there is a difference in the slopes but what difference in each comparison.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/comparison-of-slopes/td-p/18674&amp;nbsp;" target="_blank" rel="noopener"&gt;Comparison of Slopes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;The one approach is kind of manual approach taking each level as a reference (using value order for the levels) and fit a model, the other one is using the&amp;nbsp; nonlinear fit. &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;has also created an add-in it seems (to be found in the thread as well), however I'm not sure how current it is, as both the post and the add-in is from 2016.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;edit&lt;/SPAN&gt;&lt;STRIKE&gt;&lt;SPAN class=""&gt;: btw this first approach has been put into a JMP note as well for reference: [removed link as it was not accessible for all users]&lt;/SPAN&gt;&lt;/STRIKE&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 11:27:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/810131#M99183</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2024-11-18T11:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare Slopes (to each other - not to the mean slope) in linear modeling</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/810132#M99184</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/61254"&gt;@Augustin&lt;/a&gt;&amp;nbsp;: You can also use custom test in the Fit Model platform...though it does take getting use to.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Fit-Model-Custom-Test/m-p/282980#M54742" target="_blank"&gt;https://community.jmp.com/t5/Discussions/Fit-Model-Custom-Test/m-p/282980#M54742&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Test-whether-two-predictions-via-a-multiple-regression-model-are/m-p/762699#M94239" target="_blank"&gt;https://community.jmp.com/t5/Discussions/Test-whether-two-predictions-via-a-multiple-regression-model-are/m-p/762699#M94239&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 15:07:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/810132#M99184</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2024-11-08T15:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare Slopes (to each other - not to the mean slope) in linear modeling</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/810146#M99191</link>
      <description>&lt;P&gt;great add &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7073"&gt;@MRB3855&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;From the post I understood that the custom test should be set up like that (where the first three columns are not necessary but show what&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;&amp;nbsp;described in his answer:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="martindemel_0-1731082326260.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69977i3373F79D405A113F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="martindemel_0-1731082326260.png" alt="martindemel_0-1731082326260.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 16:11:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/810146#M99191</guid>
      <dc:creator>martindemel</dc:creator>
      <dc:date>2024-11-08T16:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare Slopes (to each other - not to the mean slope) in linear modeling</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/810294#M99257</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2742"&gt;@martindemel&lt;/a&gt;&amp;nbsp; &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/61254"&gt;@Augustin&lt;/a&gt;&amp;nbsp;: That link didn't work for me, but the add-in still works and the link is here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/JMP-Add-Ins/Compare-Simple-Slopes-in-One-Way-ANCOVA-w-Interaction-add-in/ta-p/23903" target="_blank"&gt;https://community.jmp.com/t5/JMP-Add-Ins/Compare-Simple-Slopes-in-One-Way-ANCOVA-w-Interaction-add-in/ta-p/23903&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 14:27:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/810294#M99257</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2024-11-11T14:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Compare Slopes (to each other - not to the mean slope) in linear modeling</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/813685#M99514</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7073" target="_blank"&gt;@MRB3855,&amp;nbsp;&lt;/A&gt;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2742" target="_blank"&gt;@martindemel&lt;/A&gt;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7073" target="_blank"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;thanks to this custom testing and the contrasts showed by&amp;nbsp;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2742" target="_blank"&gt;@martindemel&lt;/A&gt;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7073" target="_blank"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;I have the same resutls as with R.&lt;/P&gt;&lt;P&gt;The only thing that could remain would be to get a Tuckey adjustment of the p-values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 09:24:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Compare-Slopes-to-each-other-not-to-the-mean-slope-in/m-p/813685#M99514</guid>
      <dc:creator>Augustin</dc:creator>
      <dc:date>2024-11-18T09:24:08Z</dc:date>
    </item>
  </channel>
</rss>

