<?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 Interaction not Working within Mixed MODEL in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-not-Working-within-Mixed-MODEL/m-p/518023#M26396</link>
    <description>&lt;P&gt;I am looking for some advice about interactions in SAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a MIXED linear model with categorical and continuous variables. I am trying to determine if there is a quadratic relationship in the variable labeled cat. Normally I would put cat*cat or cat|cat to try to get an interaction. But when I run that code, my output still doesn't have an interaction as one of my type 3 tests of fixed effects. Is there a different symbol to try? Does anyone have any advice? My log shows no error messages, but there must be something wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data= allstock6 ;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;class robotnr yr2 week2 cat;&lt;BR /&gt;model Meal= ages week1 cat week2&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;cat*cat&lt;/U&gt;/ddfm=SATTERTH s;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;random pony week2(yr2) yr2;&lt;BR /&gt;repeated /type=ar(1) subject=pony;&lt;BR /&gt;lsmeans cat/diffs;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Mon, 03 Dec 2018 12:16:36 GMT</pubDate>
    <dc:creator>ALee</dc:creator>
    <dc:date>2018-12-03T12:16:36Z</dc:date>
    <item>
      <title>Interaction not Working within Mixed MODEL</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-not-Working-within-Mixed-MODEL/m-p/518023#M26396</link>
      <description>&lt;P&gt;I am looking for some advice about interactions in SAS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a MIXED linear model with categorical and continuous variables. I am trying to determine if there is a quadratic relationship in the variable labeled cat. Normally I would put cat*cat or cat|cat to try to get an interaction. But when I run that code, my output still doesn't have an interaction as one of my type 3 tests of fixed effects. Is there a different symbol to try? Does anyone have any advice? My log shows no error messages, but there must be something wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data= allstock6 ;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;class robotnr yr2 week2 cat;&lt;BR /&gt;model Meal= ages week1 cat week2&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;cat*cat&lt;/U&gt;/ddfm=SATTERTH s;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;random pony week2(yr2) yr2;&lt;BR /&gt;repeated /type=ar(1) subject=pony;&lt;BR /&gt;lsmeans cat/diffs;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 12:16:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-not-Working-within-Mixed-MODEL/m-p/518023#M26396</guid>
      <dc:creator>ALee</dc:creator>
      <dc:date>2018-12-03T12:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Interaction not Working within Mixed MODEL</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-not-Working-within-Mixed-MODEL/m-p/518054#M26398</link>
      <description>&lt;P&gt;If you want to treat CAT as a covariate, and model a linear and quadratic trend in CAT, then take CAT off the CLASS statement.&amp;nbsp; You cannot really interact a categorical variable with itself.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 13:30:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-not-Working-within-Mixed-MODEL/m-p/518054#M26398</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2018-12-03T13:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Interaction not Working within Mixed MODEL</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Interaction-not-Working-within-Mixed-MODEL/m-p/519375#M26445</link>
      <description>&lt;P&gt;Wow, I felt dumb once I realized what I was doing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for the&amp;nbsp;help&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 07:32:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Interaction-not-Working-within-Mixed-MODEL/m-p/519375#M26445</guid>
      <dc:creator>ALee</dc:creator>
      <dc:date>2018-12-07T07:32:48Z</dc:date>
    </item>
  </channel>
</rss>

