<?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: Proc mixed interaction term producing strange output in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-mixed-interaction-term-producing-strange-output/m-p/483723#M25116</link>
    <description>&lt;P&gt;You get an effect (slope) of visit_m when arm_studyall is zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also get an effect (slope) of visit_m when arm_studyall is one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the exact meaning of an interaction between continuous and binary variable ... there are really two different slopes.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Aug 2018 10:46:37 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-08-03T10:46:37Z</dc:date>
    <item>
      <title>Proc mixed interaction term producing strange output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-mixed-interaction-term-producing-strange-output/m-p/483718#M25115</link>
      <description>&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for taking the time to read this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm having a bit of trouble with PROC MIXED -namely when modeling an interaction term between a continuous and binary variable.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The model part of my code reads like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;model result = arm_studyall*visit_m arm_studyall visit_m /solution;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;For clarity result is a continuous variable. arm_studyall is a binary variable and visit_m is a continuous variable.&lt;BR /&gt;&lt;BR /&gt;When I execute my code the fixed part of the model produces an interaction term for both levels of the binary variable&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 230px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22192i17791A704A687DD5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I'm not quite sure why this is happening -as I would expect only one interaction term to be estimated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any insight would be helpful.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 10:19:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-mixed-interaction-term-producing-strange-output/m-p/483718#M25115</guid>
      <dc:creator>Dimi</dc:creator>
      <dc:date>2018-08-03T10:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc mixed interaction term producing strange output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-mixed-interaction-term-producing-strange-output/m-p/483723#M25116</link>
      <description>&lt;P&gt;You get an effect (slope) of visit_m when arm_studyall is zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also get an effect (slope) of visit_m when arm_studyall is one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the exact meaning of an interaction between continuous and binary variable ... there are really two different slopes.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 10:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-mixed-interaction-term-producing-strange-output/m-p/483723#M25116</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-08-03T10:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc mixed interaction term producing strange output</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-mixed-interaction-term-producing-strange-output/m-p/483734#M25118</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/224457"&gt;@Dimi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want only one of the interaction terms to have a nonzero estimate, just reorder the effects in your model statement, so that main effects are prioritized:&lt;/P&gt;
&lt;PRE&gt;model result = arm_studyall visit_m arm_studyall*visit_m /solution;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Aug 2018 11:09:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-mixed-interaction-term-producing-strange-output/m-p/483734#M25118</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-08-03T11:09:14Z</dc:date>
    </item>
  </channel>
</rss>

