<?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 random intercept large estimates in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-random-intercept-large-estimates/m-p/735455#M35699</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to model a three level logistic regression using PROC GLIMMIX. When I first added only my level 3 clustering variable into the model, the estimates and odds ratio I got look fine and reasonable. However, when I added both the level 3 and level 2 clustering variable to the model, the estimates and odds ratio I got became really big that are probably unreal (e.g., odds ratio of 40 to odds ratio of 300). I wonder if anyone knows the reasons behind and how I can fix it? Thanks for the help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code I used for having both level 3 and level 2 clusters, which gave me really large parameters:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;proc glimmix data=new noclprint method=laplace;&lt;/DIV&gt;&lt;DIV&gt;class clustervar_L3 clustervar_L2;&lt;/DIV&gt;&lt;DIV&gt;model event(event='1')=dur dur2 income incouple rent houseprice&amp;nbsp;age sex&lt;/DIV&gt;&lt;DIV&gt;/solution cl link=logit dist=binary&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ddfm=bw oddsratio(DIFF=LAST LABEL);&lt;/DIV&gt;&lt;DIV&gt;random intercept / solution type = un subject= clustervar_L3;&lt;/DIV&gt;&lt;DIV&gt;random intercept / solution type = un subject= clustervar_L2(clustervar_L3);&lt;/DIV&gt;&lt;DIV&gt;covtest / wald;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Tue, 20 Apr 2021 08:50:40 GMT</pubDate>
    <dc:creator>yuchinher</dc:creator>
    <dc:date>2021-04-20T08:50:40Z</dc:date>
    <item>
      <title>Proc Glimmix random intercept large estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-random-intercept-large-estimates/m-p/735455#M35699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to model a three level logistic regression using PROC GLIMMIX. When I first added only my level 3 clustering variable into the model, the estimates and odds ratio I got look fine and reasonable. However, when I added both the level 3 and level 2 clustering variable to the model, the estimates and odds ratio I got became really big that are probably unreal (e.g., odds ratio of 40 to odds ratio of 300). I wonder if anyone knows the reasons behind and how I can fix it? Thanks for the help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code I used for having both level 3 and level 2 clusters, which gave me really large parameters:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;proc glimmix data=new noclprint method=laplace;&lt;/DIV&gt;&lt;DIV&gt;class clustervar_L3 clustervar_L2;&lt;/DIV&gt;&lt;DIV&gt;model event(event='1')=dur dur2 income incouple rent houseprice&amp;nbsp;age sex&lt;/DIV&gt;&lt;DIV&gt;/solution cl link=logit dist=binary&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ddfm=bw oddsratio(DIFF=LAST LABEL);&lt;/DIV&gt;&lt;DIV&gt;random intercept / solution type = un subject= clustervar_L3;&lt;/DIV&gt;&lt;DIV&gt;random intercept / solution type = un subject= clustervar_L2(clustervar_L3);&lt;/DIV&gt;&lt;DIV&gt;covtest / wald;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Apr 2021 08:50:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-random-intercept-large-estimates/m-p/735455#M35699</guid>
      <dc:creator>yuchinher</dc:creator>
      <dc:date>2021-04-20T08:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix random intercept large estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-random-intercept-large-estimates/m-p/735485#M35703</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/297819"&gt;@yuchinher&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to model a three level logistic regression using PROC GLIMMIX. When I first added only my level 3 clustering variable into the model, the estimates and odds ratio I got look fine and reasonable. However, when I added both the level 3 and level 2 clustering variable to the model, the estimates and odds ratio I got became really big that are probably unreal (e.g., odds ratio of 40 to odds ratio of 300).&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My first thought is that adding additional class variables into the model causes &lt;A href="https://stats.idre.ucla.edu/other/mult-pkg/faq/general/faqwhat-is-complete-or-quasi-complete-separation-in-logisticprobit-regression-and-how-do-we-deal-with-them/" target="_self"&gt;quasi-complete separation&lt;/A&gt;, or maybe even complete separation.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 11:27:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-random-intercept-large-estimates/m-p/735485#M35703</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-04-20T11:27:34Z</dc:date>
    </item>
  </channel>
</rss>

