<?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 Confidence bands for difference in lines in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-bands-for-difference-in-lines/m-p/29003#M1141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am learning proc mixed. I have the following model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc mixed;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class group;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model post = group pre group*pre/ddfm=kr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interaction term is significant. How do I take a difference in the lines and construct a 95% confidence band around the difference?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2011 20:10:25 GMT</pubDate>
    <dc:creator>Chuckytron</dc:creator>
    <dc:date>2011-07-11T20:10:25Z</dc:date>
    <item>
      <title>Confidence bands for difference in lines</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-bands-for-difference-in-lines/m-p/29003#M1141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am learning proc mixed. I have the following model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc mixed;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class group;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model post = group pre group*pre/ddfm=kr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interaction term is significant. How do I take a difference in the lines and construct a 95% confidence band around the difference?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 20:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-bands-for-difference-in-lines/m-p/29003#M1141</guid>
      <dc:creator>Chuckytron</dc:creator>
      <dc:date>2011-07-11T20:10:25Z</dc:date>
    </item>
    <item>
      <title>Confidence bands for difference in lines</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-bands-for-difference-in-lines/m-p/29004#M1142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Warning.&amp;nbsp; Untested code will follow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you will need lsmeans statements that set the value of pre.&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc mixed;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class group;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model post = group pre group*pre/ddfm=kr;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lsmeans group/diff at pre=&lt;SPAN style="text-decoration: underline;"&gt;val&lt;/SPAN&gt;1 cl adjdfe=row;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lsmeans group/diff at pre=&lt;SPAN style="text-decoration: underline;"&gt;va&lt;/SPAN&gt;l2 cl adjdfe=row;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lsmeans group/diff at pre=&lt;SPAN style="text-decoration: underline;"&gt;val&lt;/SPAN&gt;3 cl adjdfe=row;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lsmeans group/diff at pre=&lt;SPAN style="text-decoration: underline;"&gt;val&lt;/SPAN&gt;4 cl adjdfe=row;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lsmeans group/diff at pre=&lt;SPAN style="text-decoration: underline;"&gt;val&lt;/SPAN&gt;5 cl adjdfe=row;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ods output diffs=diffs;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dataset diffs should include the differences between all least squares means of group at various values (&lt;SPAN style="text-decoration: underline;"&gt;val&lt;/SPAN&gt;1 through &lt;SPAN style="text-decoration: underline;"&gt;val&lt;/SPAN&gt;5) of pre. Here I have variable names, but you really need the values at which you want to estimate the least squares means.&amp;nbsp; I include an ODS output statement, in case you want to plot the differences and their confidence limits. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 11:15:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-bands-for-difference-in-lines/m-p/29004#M1142</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2011-07-12T11:15:38Z</dc:date>
    </item>
  </channel>
</rss>

