<?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: Comparison of differences in Y between groups using Mixed model in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Comparison-of-differences-in-Y-between-groups-using-Mixed-model/m-p/84865#M24275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done a lot with PROC MIXED and have never run into this situation, and don't really have good advice.&amp;nbsp; I originally thought of using the AT= option in an LSMESTIMATE statement, but could not see how to restrict the values of X3 depending on the level of group.&amp;nbsp; I am going to mention some names here, in hope that they can add something, because I truly am at a loss on this.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="810813" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="2746" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://communities.sas.com/"&gt;&lt;/A&gt; (whom I see has answered part of this in another thread on this forum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2013 12:42:59 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-07-22T12:42:59Z</dc:date>
    <item>
      <title>Comparison of differences in Y between groups using Mixed model</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Comparison-of-differences-in-Y-between-groups-using-Mixed-model/m-p/84864#M24274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #575757; font-size: 12pt;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #575757; font-size: 12pt;"&gt;I am running the following PROC MIXED procedure to compare the difference in Y between group 1 and 2 to the difference in Y between group 3 and 4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #575757; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #575757; font-size: 12pt;"&gt;PROC MIXED;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #575757; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLASS group;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #575757; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODEL Y = group&amp;nbsp; X1&amp;nbsp; X2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #575757;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONTRAST 'Difference of differences 1 - 2 - (3 - 4)' group 1 -1 -1 1;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #575757; font-size: 12pt;"&gt;RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #575757; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang="EN" style="color: #575757;"&gt;The levels of &lt;/SPAN&gt;another confounder (e.g., X3) in group 1 and group 3 is physiological higher than the levels in group 2 and group 4. So I cannot include X3 as an independent variable in the model since putting x3 in the model will allow X3 equal in the four groups, which is not true. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;To make the comparison of differences in Y between groups (1-2) - (3-4) reasonable, I have to allow X3 comparable between group 1 and group3. So do between group 2 and group 4. How can I achieve it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jul 2013 14:48:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Comparison-of-differences-in-Y-between-groups-using-Mixed-model/m-p/84864#M24274</guid>
      <dc:creator>ZC</dc:creator>
      <dc:date>2013-07-20T14:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison of differences in Y between groups using Mixed model</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Comparison-of-differences-in-Y-between-groups-using-Mixed-model/m-p/84865#M24275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done a lot with PROC MIXED and have never run into this situation, and don't really have good advice.&amp;nbsp; I originally thought of using the AT= option in an LSMESTIMATE statement, but could not see how to restrict the values of X3 depending on the level of group.&amp;nbsp; I am going to mention some names here, in hope that they can add something, because I truly am at a loss on this.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="810813" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="2746" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://communities.sas.com/"&gt;&lt;/A&gt; (whom I see has answered part of this in another thread on this forum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 12:42:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Comparison-of-differences-in-Y-between-groups-using-Mixed-model/m-p/84865#M24275</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-07-22T12:42:59Z</dc:date>
    </item>
  </channel>
</rss>

