<?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: Nested random effects in GLIMMIX in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Nested-random-effects-in-GLIMMIX/m-p/49312#M13368</link>
    <description>While this may not solve the problem completely, note that the statement:&lt;BR /&gt;
&lt;BR /&gt;
random B B(A);&lt;BR /&gt;
&lt;BR /&gt;
specifies factor B twice.  That may be the source of the error message.&lt;BR /&gt;
&lt;BR /&gt;
Try&lt;BR /&gt;
&lt;BR /&gt;
random A B(A);&lt;BR /&gt;
&lt;BR /&gt;
This should specify A as a random effect, and B within A as a second effect.&lt;BR /&gt;
&lt;BR /&gt;
Good luck.</description>
    <pubDate>Fri, 26 Sep 2008 12:48:46 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2008-09-26T12:48:46Z</dc:date>
    <item>
      <title>Nested random effects in GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Nested-random-effects-in-GLIMMIX/m-p/49311#M13367</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I have two categorical variables (A and B)  that I want to add as Random factor in GLIMMIX. A has 4 categories and B has 44. Finally B is nested in A. &lt;BR /&gt;
When I added as random factor, the model results said that "Estimate G matrix is not positive definite". How can I solve this problem? Did I add the variables in a correct way??&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;proc GLIMMIX data=Resumen;&lt;BR /&gt;
class A B Cat;&lt;BR /&gt;
model total = intra flux Cat length /  dist=poisson link=log solution;&lt;BR /&gt;
random B B(A);&lt;BR /&gt;
run;&lt;/B&gt;</description>
      <pubDate>Wed, 24 Sep 2008 07:46:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Nested-random-effects-in-GLIMMIX/m-p/49311#M13367</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-24T07:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Nested random effects in GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Nested-random-effects-in-GLIMMIX/m-p/49312#M13368</link>
      <description>While this may not solve the problem completely, note that the statement:&lt;BR /&gt;
&lt;BR /&gt;
random B B(A);&lt;BR /&gt;
&lt;BR /&gt;
specifies factor B twice.  That may be the source of the error message.&lt;BR /&gt;
&lt;BR /&gt;
Try&lt;BR /&gt;
&lt;BR /&gt;
random A B(A);&lt;BR /&gt;
&lt;BR /&gt;
This should specify A as a random effect, and B within A as a second effect.&lt;BR /&gt;
&lt;BR /&gt;
Good luck.</description>
      <pubDate>Fri, 26 Sep 2008 12:48:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Nested-random-effects-in-GLIMMIX/m-p/49312#M13368</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2008-09-26T12:48:46Z</dc:date>
    </item>
  </channel>
</rss>

