<?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: How to interpret a nested random effet in proc mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426449#M22403</link>
    <description>&lt;P&gt;The RANDOM statement is fitting a random slope for time, separately for each eye within id.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most models like this have TIME also as a fixed effect on the MODEL statement.&amp;nbsp; That way, you are fitting a random adjustment for each eye within id to an overall slope.&amp;nbsp; The overall slope comes from TIME on the MODEL statement and the random adjustment comes from the RANDOM statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This model would assume that the line you are fitting for each EYE(ID) has the same intercept, and intercept obtained through the MODEL statement.&amp;nbsp; Changing the RANDOM statement to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;random int time / subject=eye(id);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would give you a random adjustment to the overall intercept AND a random adjustment to the overall slope on time for each EYE(ID).&amp;nbsp; You could also add TYPE=UN if you wish to correlate those random intercept and slope adjustments.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bottom line is the RANDOM statement you have would be unusual to see in practice.&amp;nbsp; Changing to the one above would be more typical.&amp;nbsp; However, there could be overriding reasons for you to use the one you have.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2018 14:12:26 GMT</pubDate>
    <dc:creator>StatsMan</dc:creator>
    <dc:date>2018-01-10T14:12:26Z</dc:date>
    <item>
      <title>How to interpret a nested random effet in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/425390#M22365</link>
      <description>&lt;P&gt;I am running a proc mixed with 1 fixed treatment effect and a random nested effect of eye within ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data = dat;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class id tx eye;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;model y= tx/solution;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;random time/ subject=eye(id);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;lsmeans tx / pdiff adjust=tukey;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My random statement kind of confuses me - I have a random effect of eye within id, over continuous time. How does this affect my interpretation of my tx effect?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2018 21:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/425390#M22365</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2018-01-05T21:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret a nested random effet in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426449#M22403</link>
      <description>&lt;P&gt;The RANDOM statement is fitting a random slope for time, separately for each eye within id.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most models like this have TIME also as a fixed effect on the MODEL statement.&amp;nbsp; That way, you are fitting a random adjustment for each eye within id to an overall slope.&amp;nbsp; The overall slope comes from TIME on the MODEL statement and the random adjustment comes from the RANDOM statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This model would assume that the line you are fitting for each EYE(ID) has the same intercept, and intercept obtained through the MODEL statement.&amp;nbsp; Changing the RANDOM statement to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;random int time / subject=eye(id);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would give you a random adjustment to the overall intercept AND a random adjustment to the overall slope on time for each EYE(ID).&amp;nbsp; You could also add TYPE=UN if you wish to correlate those random intercept and slope adjustments.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bottom line is the RANDOM statement you have would be unusual to see in practice.&amp;nbsp; Changing to the one above would be more typical.&amp;nbsp; However, there could be overriding reasons for you to use the one you have.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 14:12:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426449#M22403</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2018-01-10T14:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret a nested random effet in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426576#M22409</link>
      <description>&lt;P&gt;I only have 10 subjects in each of my group so about 20 eyes per group, this is the only model I got which did not give me a G matrix error. Not sure if there are any other tips for small samples sizes of this design.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 18:23:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426576#M22409</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2018-01-10T18:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret a nested random effet in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426681#M22410</link>
      <description>&lt;P&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt; your model is correctly specified, then there is nothing inherently wrong with "NOTE: Estimated G matrix is not positive definite." See page 9 in this paper for more detail about why the note occurs and what, if anything, you should do about it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Tips and Strategies for Mixed Modeling with SAS/STAT® Procedures " href="http://support.sas.com/resources/papers/proceedings12/332-2012.pdf" target="_self"&gt;http://support.sas.com/resources/papers/proceedings12/332-2012.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm going to refer you to your other thread that appears to deal with the same analysis:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/modeling-right-and-left-eye-in-a-mixed-model-with-small-sample/m-p/422517#M22366" target="_self"&gt;https://communities.sas.com/t5/SAS-Statistical-Procedures/modeling-right-and-left-eye-in-a-mixed-model-with-small-sample/m-p/422517#M22366&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my response there, I make the same point that &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/92458"&gt;@StatsMan&lt;/a&gt;&amp;nbsp;makes: that TIME probably should be included in the MODEL statement. Based on the information you provided in your other thread, I do not think the model specification in this current thread is correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 21:32:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426681#M22410</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-01-10T21:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret a nested random effet in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426698#M22411</link>
      <description>&lt;P&gt;I looked at the group by time interaction in the model and because it was NS and because it was not part of the research question, I removed it to not overparameterize the small sample size. Hmm&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 22:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426698#M22411</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2018-01-10T22:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to interpret a nested random effet in proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426703#M22412</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If you plot response versus time for each subject in each group, do you see any evidence that the response changes over time?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You may decide to omit tx*time from the MODEL statement, but you'll want to keep in mind that failure to detect a significant interaction does not mean that the interaction does not exist; this is a particular concern with small sample sizes where you may have low power to detect the interaction.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Even if you omit tx*time, you could still include the main effect of time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 22:12:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-interpret-a-nested-random-effet-in-proc-mixed/m-p/426703#M22412</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-01-10T22:12:51Z</dc:date>
    </item>
  </channel>
</rss>

