<?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 PROC MIXED: is it possible to define an effect as fixed if it is nested within a random effect? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-is-it-possible-to-define-an-effect-as-fixed-if-it-is/m-p/294918#M15719</link>
    <description>&lt;P&gt;&amp;nbsp;A &lt;A href="https://www.reddit.com/r/sas/comments/4z5l3j/in_mixed_models_eg_mixed_is_it_possible_to_define/?st=isgfxmm7&amp;amp;sh=097f27fb" target="_blank"&gt;SAS user on&amp;nbsp;&lt;STRONG&gt;reddit&lt;/STRONG&gt;&lt;/A&gt; asks this question. &amp;nbsp;No responses there so far, but I'll bet someone here can comment with a clever explanation. &amp;nbsp;We can close the loop when we have an answer.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;as far as I know SAS does not allow for an effect to be fixed if it is nested within an effect set as random. An example model would be&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;y = A + A∙B + e&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;with A random and &lt;STRONG&gt;A∙B fixed&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone confirm this for me or is there a way to work around it? I'm fine with it not being possible, I just wanted to check if I missed something. I'd like to write in my article that it is not possible.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Mon, 29 Aug 2016 19:38:53 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2016-08-29T19:38:53Z</dc:date>
    <item>
      <title>PROC MIXED: is it possible to define an effect as fixed if it is nested within a random effect?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-is-it-possible-to-define-an-effect-as-fixed-if-it-is/m-p/294918#M15719</link>
      <description>&lt;P&gt;&amp;nbsp;A &lt;A href="https://www.reddit.com/r/sas/comments/4z5l3j/in_mixed_models_eg_mixed_is_it_possible_to_define/?st=isgfxmm7&amp;amp;sh=097f27fb" target="_blank"&gt;SAS user on&amp;nbsp;&lt;STRONG&gt;reddit&lt;/STRONG&gt;&lt;/A&gt; asks this question. &amp;nbsp;No responses there so far, but I'll bet someone here can comment with a clever explanation. &amp;nbsp;We can close the loop when we have an answer.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;as far as I know SAS does not allow for an effect to be fixed if it is nested within an effect set as random. An example model would be&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;y = A + A∙B + e&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;with A random and &lt;STRONG&gt;A∙B fixed&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone confirm this for me or is there a way to work around it? I'm fine with it not being possible, I just wanted to check if I missed something. I'd like to write in my article that it is not possible.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 29 Aug 2016 19:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-is-it-possible-to-define-an-effect-as-fixed-if-it-is/m-p/294918#M15719</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-08-29T19:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: is it possible to define an effect as fixed if it is nested within a random effect?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-is-it-possible-to-define-an-effect-as-fixed-if-it-is/m-p/294964#M15720</link>
      <description>&lt;P&gt;You are right. If one effect is random, then it's interaction must be random. The opposite is not true: A and B can both be fixed effects, but A*B can be random. The latter happens a lot, and it a common situation with multi-treatment meta-analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can force MIXED to do what you want by creating other variables in a DATA step (AA=A; BB=B), and then define some of these as random in in MIXED. I don't recommend this: you could get strange or meaningless results.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 21:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-is-it-possible-to-define-an-effect-as-fixed-if-it-is/m-p/294964#M15720</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-08-29T21:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: is it possible to define an effect as fixed if it is nested within a random effect?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-is-it-possible-to-define-an-effect-as-fixed-if-it-is/m-p/294973#M15721</link>
      <description>&lt;P&gt;But &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13758"&gt;@lvm﻿&lt;/a&gt;, isn't it misleading to say "&lt;FONT color="#ff0000"&gt;SAS&lt;/FONT&gt; does not allow for an effect to be fixed if it is nested within an effect set as random"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it "SAS" that prevents it, or is it the theory of mixed models that prevents it, and SAS merely adheres to the theory?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 21:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-is-it-possible-to-define-an-effect-as-fixed-if-it-is/m-p/294973#M15721</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-29T21:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED: is it possible to define an effect as fixed if it is nested within a random effect?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-is-it-possible-to-define-an-effect-as-fixed-if-it-is/m-p/294978#M15722</link>
      <description>&lt;P&gt;Rick, I agree that SAS does not allow it for a reason: statistical theory. My latter suggestion was just to see what happens. It is not a limitation of MIXED: one should consider interactions as random when any of the component main effects are random.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 21:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-is-it-possible-to-define-an-effect-as-fixed-if-it-is/m-p/294978#M15722</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-08-29T21:27:51Z</dc:date>
    </item>
  </channel>
</rss>

