<?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 using jmp to compare slopes and intercepts of multiple linear fits in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/10542#M10205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to compare the slopes and intercepts of 4 lines (linear regression y=ax+b) using jmp to see if any of them are similar or if they are significantly different from each other. Can anyone direct me towards a tutorial or a help document indicating the steps of how to do this. I am assuming I need to do an ancova test but have no clue how to setup the problem in jmp or if this is even the right test to do.&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Jan 2015 22:33:27 GMT</pubDate>
    <dc:creator>kaoutaraboucher</dc:creator>
    <dc:date>2015-01-10T22:33:27Z</dc:date>
    <item>
      <title>using jmp to compare slopes and intercepts of multiple linear fits</title>
      <link>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/10542#M10205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to compare the slopes and intercepts of 4 lines (linear regression y=ax+b) using jmp to see if any of them are similar or if they are significantly different from each other. Can anyone direct me towards a tutorial or a help document indicating the steps of how to do this. I am assuming I need to do an ancova test but have no clue how to setup the problem in jmp or if this is even the right test to do.&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2015 22:33:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/10542#M10205</guid>
      <dc:creator>kaoutaraboucher</dc:creator>
      <dc:date>2015-01-10T22:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: using jmp to compare slopes and intercepts of multiple linear fits</title>
      <link>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/10543#M10206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://kvoqx44227.lithium.com/people/kaoutaraboucherif@gmail.com" target="_blank"&gt;kaoutaraboucherif@gmail.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like a indicator-variable regression with an interaction is what you're looking for (an ANCOVA, by definition, does not have the interaction term allowing for independent slopes -- one of the most critical assumptions of an ANCOVA is homogeneity of regression). To set this up in JMP, you will need three columns: 1) a nominal column identifying the different groups; 2) a continuous column with the predictor; and 3) a continuous column with the response. I'll use Car Physical Data from the sample data directory for this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7904_Screen Shot 2015-01-11 at 12.40.48 PM.png" style="width: 2132px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1118iA24F39C285539006/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7904_Screen Shot 2015-01-11 at 12.40.48 PM.png" alt="7904_Screen Shot 2015-01-11 at 12.40.48 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose we want to know whether the relationship between Turning Circle and Displacement is the same for the cars made in different countries (USA, Japan, Other). Our model thus has three sources: a source for the effect of country (a test of the mean response by country), a source for the omnibus regression between turning circle and displacement (average relationship, ignoring country), and a source for the interaction (the degree to which each country's relationship of turning circle and displacement deviates from the grand regression).&amp;nbsp; We'll use Analyze &amp;gt; Fit Model to define this model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7905_Screen Shot 2015-01-11 at 12.44.39 PM.png" style="width: 1894px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1119i245642CEE281513E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7905_Screen Shot 2015-01-11 at 12.44.39 PM.png" alt="7905_Screen Shot 2015-01-11 at 12.44.39 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;To set this up, I did the following:&lt;/LI&gt;&lt;LI&gt;Enter Displacement into the Y role.&lt;/LI&gt;&lt;LI&gt;Select BOTH Turning circle, and country in the column list&lt;/LI&gt;&lt;LI&gt;Click the "Macro" button and select "Full Factorial" - Notice this creates the three sources we need&lt;/LI&gt;&lt;LI&gt;Press Run&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7906_Screen Shot 2015-01-11 at 12.45.01 PM.png" style="width: 1454px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1120i3845E86C722367CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7906_Screen Shot 2015-01-11 at 12.45.01 PM.png" alt="7906_Screen Shot 2015-01-11 at 12.45.01 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This yields the output above. Of most interest will probably the be the Parameter Estimates, and Effect Tests sections. If we look in the Effect Tests section under the interaction (Country*Turning Circle) we can see we have rejected the null hypothesis that the slopes are the same in each country -- e.g. we have evidence the regression of displacement on turning circle differs between the countries. Under the effect of Country we see we have not rejected the null hypothesis -- we do not have evidence that the MEAN displacement by country differs. If we really want a test of whether the intercepts of the models differ by country we need to uncheck "Center Polynomials" in the Fit Model specification under the Red Triangle. If we do that, we get the following output: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7907_Screen Shot 2015-01-11 at 12.54.21 PM.png" style="width: 1344px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1121i759D593566D83CB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7907_Screen Shot 2015-01-11 at 12.54.21 PM.png" alt="7907_Screen Shot 2015-01-11 at 12.54.21 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that the source for the interaction is unchanged, as is the source for the omnibus regression, however the test of "Country" in this model is now a test for whether the mean response for country differs at 0 (i.e. the intercepts for each line), rather than a test for whether displacement differs by country at the &lt;STRONG&gt;mean&lt;/STRONG&gt; of turning circle. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://kvoqx44227.lithium.com/people/julian" target="_blank"&gt;julian&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 22:20:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/10543#M10206</guid>
      <dc:creator>jules</dc:creator>
      <dc:date>2016-10-18T22:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: using jmp to compare slopes and intercepts of multiple linear fits</title>
      <link>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/104480#M38814</link>
      <description>&lt;P&gt;Thank you for the helpful tutorial!&amp;nbsp; Extending the example, now that we know that the slopes and intercepts are different, how can we&amp;nbsp;identify which slopes and intercepts are different from each other by post-hoc testing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 14:54:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/104480#M38814</guid>
      <dc:creator>TimboK</dc:creator>
      <dc:date>2019-01-08T14:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: using jmp to compare slopes and intercepts of multiple linear fits</title>
      <link>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/219506#M43935</link>
      <description>&lt;P&gt;Was this question regarding evaluating Post hoc pairwise comparisons (comparing multiple slopes and intercepts) ever answered for running an indicator-variable regression with interaction analysis? Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 06:38:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/219506#M43935</guid>
      <dc:creator>Judd</dc:creator>
      <dc:date>2019-08-01T06:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: using jmp to compare slopes and intercepts of multiple linear fits</title>
      <link>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/708602#M89262</link>
      <description>&lt;P&gt;hello Julian, thank you for your explanation for this case， it's very helpful for me!&lt;/P&gt;&lt;P&gt;One more question, I can't find&amp;nbsp;&lt;SPAN&gt;"Center Polynomials"&amp;nbsp;in the Fit Model specification under the Red Triangle. My JMP version is 16.1 (not professional version). Can you show more detail how to test intercepts of the models differ by country ? thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChernoffTurtle7_0-1702433388790.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59586iA7F11388C30B6525/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChernoffTurtle7_0-1702433388790.png" alt="ChernoffTurtle7_0-1702433388790.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 02:10:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/708602#M89262</guid>
      <dc:creator>ChernoffTurtle7</dc:creator>
      <dc:date>2023-12-13T02:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: using jmp to compare slopes and intercepts of multiple linear fits</title>
      <link>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/708773#M89288</link>
      <description>&lt;P&gt;I can actually help with this one.&amp;nbsp; You have to deselect Center Polynomials from the Model Specification window.&amp;nbsp; See attached picture.&amp;nbsp; Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-12-13 083947.jpg" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59613i1022CE5F0B73A03A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-12-13 083947.jpg" alt="Screenshot 2023-12-13 083947.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 13:52:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/using-jmp-to-compare-slopes-and-intercepts-of-multiple-linear/m-p/708773#M89288</guid>
      <dc:creator>TimboK1</dc:creator>
      <dc:date>2023-12-13T13:52:04Z</dc:date>
    </item>
  </channel>
</rss>

