<?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: SAS Proc GLM test for difference  intercept and slope in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/569765#M160595</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/48967"&gt;@BDORR&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi PaigeMiller (Esteemed Advisor),&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The answer you gave below is great and addresses the issue of testing for differences in slopes. However I would also like to test for differences in intercepts for each regression line. Any Advice?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Testing intercepts is the exact same concept as testing slope or quadratic effect. So I leave it as a homework assignment for you to figure out.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2019 12:53:57 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-06-28T12:53:57Z</dc:date>
    <item>
      <title>SAS Proc GLM test for difference  intercept and slope</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/569637#M160552</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The Code below produces the attached graph and I would like to test whether the intercepts and slopes of the 4 polynomial regression lines differ.&amp;nbsp;I have 4 treatment levels control and stage 1-3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics on;&lt;/P&gt;
&lt;P&gt;proc glm data=MeanTotTRlat PLOTS=ANCOVAPLOT(CLM);&lt;BR /&gt;class treatment ;&lt;BR /&gt;model TotTR = latR LatR*LatR treatment ;&lt;BR /&gt;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods graphics off;quit;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 20:59:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/569637#M160552</guid>
      <dc:creator>BDORR</dc:creator>
      <dc:date>2019-06-27T20:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc GLM test for difference  intercept and slope</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/569649#M160557</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;I have 4 treatment levels control and stage 1-3.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Stage does not appear in the code anywhere. Is it important to the problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;I would like to test whether the intercepts and slopes of the 4 polynomial regression lines differ&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=MeanTotTRlat PLOTS=ANCOVAPLOT(CLM);
class treatment ;
model TotTR = treatment treatment*latR treatment*LatR*LatR;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The interaction between treatment*latr is the test to see if the slopes are the same, or not. If the p-value is &amp;lt;0.05 then the slopes are not statistically the same. The interaction treatment*latr*latr tests to see if the quadratic effects are the same across treatments.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 21:43:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/569649#M160557</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-06-27T21:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc GLM test for difference  intercept and slope</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/569762#M160594</link>
      <description>Hi PaigeMiller (Esteemed Advisor),&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The answer you gave below is great and addresses the issue of testing for differences in slopes. However I would also like to test for differences in intercepts for each regression line. Any Advice?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(reply in SAS Programming&amp;lt;&amp;gt; on 06-27-2019 05:43 PM )&lt;BR /&gt;&lt;BR /&gt;________________________________&lt;BR /&gt;&lt;BR /&gt;Re: SAS Proc GLM test for difference intercept and slope&amp;lt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I have 4 treatment levels control and stage 1-3.&lt;BR /&gt;&lt;BR /&gt;Stage does not appear in the code anywhere. Is it important to the problem?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I would like to test whether the intercepts and slopes of the 4 polynomial regression lines differ&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc glm data=MeanTotTRlat PLOTS=ANCOVAPLOT(CLM);&lt;BR /&gt;&lt;BR /&gt;class treatment ;&lt;BR /&gt;&lt;BR /&gt;model TotTR = treatment treatment*latR treatment*LatR*LatR;&lt;BR /&gt;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The interaction between treatment*latr is the test to see if the slopes are the same, or not. If the p-value is &amp;lt;0.05 then the slopes are not statistically the same. The interaction treatment*latr*latr tests to see if the quadratic effects are the same across treatments.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jun 2019 12:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/569762#M160594</guid>
      <dc:creator>BDORR</dc:creator>
      <dc:date>2019-06-28T12:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc GLM test for difference  intercept and slope</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/569765#M160595</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/48967"&gt;@BDORR&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi PaigeMiller (Esteemed Advisor),&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The answer you gave below is great and addresses the issue of testing for differences in slopes. However I would also like to test for differences in intercepts for each regression line. Any Advice?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Testing intercepts is the exact same concept as testing slope or quadratic effect. So I leave it as a homework assignment for you to figure out.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 12:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/569765#M160595</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-06-28T12:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Proc GLM test for difference  intercept and slope</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/570215#M160777</link>
      <description>&lt;P&gt;I don't need homework I need an answer.&amp;nbsp; Can anyone else in this community provide an answer?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 12:56:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Proc-GLM-test-for-difference-intercept-and-slope/m-p/570215#M160777</guid>
      <dc:creator>BDORR</dc:creator>
      <dc:date>2019-07-01T12:56:43Z</dc:date>
    </item>
  </channel>
</rss>

