<?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 GLIMMIX gave &amp;quot;0&amp;quot; random effect in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399327#M20809</link>
    <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to run a 2-level model, but the random effects are showing up as zeros. Here are my codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data = ONE &lt;STRONG&gt;METHOD=RSPL NOCLPRINT;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLASS&lt;/STRONG&gt; Researcher_Identity Researcher_Factor1 Researcher_Factor2 Patient_Factor1 Pateint_Factor2;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODEL&lt;/STRONG&gt; Outcome = Researcher_Factor1 Researcher_Factor2&amp;nbsp; Patient_Factor1 Pateint_Factor2&amp;nbsp; / DIST=Binary LINK=logit;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RANDOM Intercept&lt;/STRONG&gt; / &lt;STRONG&gt;subject= &lt;/STRONG&gt;Researcher_Identity&lt;STRONG&gt; TYPE=VC G;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANK YOU SO MUCH!&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2017 20:05:28 GMT</pubDate>
    <dc:creator>AJ8</dc:creator>
    <dc:date>2017-09-27T20:05:28Z</dc:date>
    <item>
      <title>PROC GLIMMIX gave "0" random effect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399327#M20809</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to run a 2-level model, but the random effects are showing up as zeros. Here are my codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data = ONE &lt;STRONG&gt;METHOD=RSPL NOCLPRINT;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLASS&lt;/STRONG&gt; Researcher_Identity Researcher_Factor1 Researcher_Factor2 Patient_Factor1 Pateint_Factor2;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODEL&lt;/STRONG&gt; Outcome = Researcher_Factor1 Researcher_Factor2&amp;nbsp; Patient_Factor1 Pateint_Factor2&amp;nbsp; / DIST=Binary LINK=logit;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RANDOM Intercept&lt;/STRONG&gt; / &lt;STRONG&gt;subject= &lt;/STRONG&gt;Researcher_Identity&lt;STRONG&gt; TYPE=VC G;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANK YOU SO MUCH!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 20:05:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399327#M20809</guid>
      <dc:creator>AJ8</dc:creator>
      <dc:date>2017-09-27T20:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLIMMIX gave "0" random effect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399335#M20810</link>
      <description>&lt;P&gt;It's not clear to me that you have actually stated a question or stated a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Zero is a valid result, depending on your data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please elaborate. If possible, provide your data.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 20:39:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399335#M20810</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-27T20:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLIMMIX gave "0" random effect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399472#M20811</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response and sorry for not stating the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, I am trying to put people's identity at the second level and see if there is any random effect. I have a bunch of other variables mostly ordinal and dummy at the first level, such as age group, years of experience, gender etc. Data looks something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp; ID's_Gender&amp;nbsp;&amp;nbsp; ID's_Age_Group&amp;nbsp;&amp;nbsp; Outcome&amp;nbsp;&amp;nbsp;&amp;nbsp; Variable1&amp;nbsp;&amp;nbsp; Variable2&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; No&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here are my quetsions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) My random effects turned out to be all zero. How do I tell if the zero is a valid result?&lt;/P&gt;&lt;P&gt;2) If it is, can I conclude that there is no random effect and change the model to a logistic regression and simply place people's identity as a vairable? If I do this then I am not able to control for any variables related to the ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the question of interest is really to see how a perosn did comparing to another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANK YOU SO MUCH!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 12:57:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399472#M20811</guid>
      <dc:creator>AJ8</dc:creator>
      <dc:date>2017-09-28T12:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLIMMIX gave "0" random effect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399478#M20812</link>
      <description>&lt;P&gt;I'm still not sure I can help ... your variable names in PROC GLIMMIX don't match the sample data you provided, so I have no idea how they relate to the model statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless, it still is possible for 0 to be the result. This happens either because you have mis-specified the model (something I won't comment on, as I have no idea what the experiment is or what you want to do with this data), or because the variability is truly zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, to answer your questions, we'd need a discussion of the problem, a discussion of the experiment, and why this model fits the experiment, and we probably need the entire data set, which you probably can't provide.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 13:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399478#M20812</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-28T13:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLIMMIX gave "0" random effect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399481#M20813</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using the data I have provided, the code would look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data = ONE &lt;STRONG&gt;METHOD=RSPL NOCLPRINT;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLASS&lt;/STRONG&gt; ID ID's_Gender Variable1 Variable2&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODEL&lt;/STRONG&gt; Outcome = ID's_Gender ID's_AgeGroup Variable1 Variable2&amp;nbsp; / DIST=Binary LINK=logit;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RANDOM Intercept&lt;/STRONG&gt; / &lt;STRONG&gt;subject= &lt;/STRONG&gt;ID&lt;STRONG&gt; TYPE=VC G;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 13:26:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399481#M20813</guid>
      <dc:creator>AJ8</dc:creator>
      <dc:date>2017-09-28T13:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLIMMIX gave "0" random effect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399488#M20814</link>
      <description>&lt;P&gt;There's a lot more information I asked for, and it hasn't been provided.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In other words, without a description of the experiment, and the full data (which you may not be able to provide), there's no way I can say if the 0 value is correct. You might want to find a statistician where you work/where you go to school and see if that statistician can help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I am curious to understand how your variable names in SAS can have an apostrophe in the variable name ...&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 13:44:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399488#M20814</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-28T13:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLIMMIX gave "0" random effect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399510#M20815</link>
      <description>&lt;P&gt;Assuming that you haven't accidentally specified the NOINT option,&amp;nbsp;a possible explanation&amp;nbsp;is that you have a linear dependency (multicollinearity) in your explanatory variables.&amp;nbsp; Are there any&amp;nbsp;NOTEs in the SAS log about matrices not being positive definite?&amp;nbsp; Please copy/paste the complete SAS log so we can see the exact messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 14:57:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/399510#M20815</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-09-28T14:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLIMMIX gave "0" random effect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/400574#M20882</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your response! I realized that I actually included a wrong variable by accident and I am all good now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANK YOU!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 12:46:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-gave-quot-0-quot-random-effect/m-p/400574#M20882</guid>
      <dc:creator>AJ8</dc:creator>
      <dc:date>2017-10-03T12:46:24Z</dc:date>
    </item>
  </channel>
</rss>

