<?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 how to find slope difference (95% CI) confident interval between two  treatment groups in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-slope-difference-95-CI-confident-interval-between/m-p/827488#M326885</link>
    <description>&lt;P&gt;data rawdata ;&lt;BR /&gt;input ID treatment $ age_GROUP weight ;&lt;BR /&gt;cards ;&lt;BR /&gt;1 A GRP1 90&lt;BR /&gt;2 A GRP1 80&lt;BR /&gt;3 A GRP2 90&lt;BR /&gt;4 A GRP1 70&lt;BR /&gt;5 A GRP2 80&lt;BR /&gt;6 A GRP2 80&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to find slope difference (95% CI) confident interval between two treatment groups with subgroup wise (age group)?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Aug 2022 09:13:31 GMT</pubDate>
    <dc:creator>thanikondharish</dc:creator>
    <dc:date>2022-08-07T09:13:31Z</dc:date>
    <item>
      <title>how to find slope difference (95% CI) confident interval between two  treatment groups</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-slope-difference-95-CI-confident-interval-between/m-p/827488#M326885</link>
      <description>&lt;P&gt;data rawdata ;&lt;BR /&gt;input ID treatment $ age_GROUP weight ;&lt;BR /&gt;cards ;&lt;BR /&gt;1 A GRP1 90&lt;BR /&gt;2 A GRP1 80&lt;BR /&gt;3 A GRP2 90&lt;BR /&gt;4 A GRP1 70&lt;BR /&gt;5 A GRP2 80&lt;BR /&gt;6 A GRP2 80&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to find slope difference (95% CI) confident interval between two treatment groups with subgroup wise (age group)?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2022 09:13:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-find-slope-difference-95-CI-confident-interval-between/m-p/827488#M326885</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2022-08-07T09:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to find slope difference (95% CI) confident interval between two  treatment groups</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-slope-difference-95-CI-confident-interval-between/m-p/827489#M326886</link>
      <description>&lt;P&gt;Please test your code before posting to make sure it works. The code you provided does not work. I request that you fix it.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2022 10:02:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-find-slope-difference-95-CI-confident-interval-between/m-p/827489#M326886</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-07T10:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to find slope difference (95% CI) confident interval between two  treatment groups</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-slope-difference-95-CI-confident-interval-between/m-p/827496#M326889</link>
      <description>&lt;P&gt;To answer this question, your data needs three variables: the response variable, the explanatory variable, and a classification (group) variable. Let's use the Sashelp.Class data set and use PROC GLM to fit a linear model that predicts Weight from Height for each age group=13,14,15 year old students.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;&lt;BR /&gt;proc glm data=sashelp.class(where=(age&amp;gt;12 &amp;amp; age&amp;lt;16));
class age;
model weight = height | age / solution clparm;
quit;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you run this code, you will get a graph that shows how the predictions for Weight depend on Height for each Age group. The slopes of each regression line are the parameter estimates for the Height*Age interaction term.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see that the difference in slope between the Age=13 students and the Age=15 students (the reference group) is -0.73, which means that the Age=13 regression line has a smaller slope than the Age=15 line. The confidence limits for the slope are [-8.7, 7.2], which includes 0, so the difference is not statistically significant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similarly, the difference in slope between the Age=14 students and the Age=15 students (the reference group) is -0.01, which means that the Age=13 regression line has essentially the same slope as the Age=15 line. The confidence limits for the slope are [-8.7, 8.7], which includes 0, so the difference is not statistically significant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2022 12:29:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-find-slope-difference-95-CI-confident-interval-between/m-p/827496#M326889</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-08-07T12:29:16Z</dc:date>
    </item>
  </channel>
</rss>

