<?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: Glimmix warning in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260401#M13759</link>
    <description>&lt;P&gt;You definitely have an over-parameterized model. I can't think of any scenario where you would have that many continuous random effects.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2016 13:28:43 GMT</pubDate>
    <dc:creator>lvm</dc:creator>
    <dc:date>2016-03-31T13:28:43Z</dc:date>
    <item>
      <title>Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/259908#M13730</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using proc glimmix for a binary response data with 18 fixed effects, a random effect and 400000 data points. I am using the following code:&lt;/P&gt;&lt;P&gt;proc glimmix data = mydata&amp;nbsp;initglm scoring=5;&lt;BR /&gt;nloptions maxiter=500;&lt;BR /&gt;class subject v10 v13;&lt;BR /&gt;model y = v1 v2 ... v18/dist=binary ddfm=residual solution;&lt;BR /&gt;random int v1 v2 ... v100/ sub=subject;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have these warnings for the scaled data&amp;amp;colon;&lt;/P&gt;&lt;P&gt;WARNING: A new singularity occurred in column 27 of X`Inv(V)X.&lt;BR /&gt;WARNING: Obtaining minimum variance quadratic unbiased estimates as starting values for the&lt;BR /&gt;covariance parameters failed&lt;/P&gt;&lt;P&gt;After removing the scale for some variables, I don't have this problem anymore; but, the resulted estimates don't make sense.&lt;/P&gt;&lt;P&gt;Deos scaling create linear relationship between some variables in my data? The variance is large in some of my variables and I need to scale them.&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate your help,&lt;/P&gt;&lt;P&gt;Mohsen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 22:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/259908#M13730</guid>
      <dc:creator>Mohsen1</dc:creator>
      <dc:date>2016-03-29T22:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/259927#M13737</link>
      <description>&lt;P&gt;In general this warning message indicates that some of the predictors are exactly correlated.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 01:26:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/259927#M13737</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2016-03-30T01:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/259938#M13738</link>
      <description>&lt;P&gt;Try lowering the singularity criteria&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NLOPTIONS singular=1e-12;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 02:10:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/259938#M13738</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-03-30T02:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260076#M13749</link>
      <description>&lt;P&gt;I realize that you provided pseudocode, but it looks like you are putting v1-v18 in both the MODEL and RANDOM statement.&amp;nbsp; An effect is either FIXED or RANDOM, so make sure your&amp;nbsp; real code models those variables in one way or the other.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 13:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260076#M13749</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-03-30T13:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260173#M13756</link>
      <description>&lt;P&gt;Thanks a lot for your comments,&lt;/P&gt;&lt;P&gt;Actually, I am using some of my fixed effects as random variables to capture variability between subjects. I am not using all the fixed variables as random varaible (V1..V18 in random effects and in fixed effects are not exactly the same). I have the convergence problem, and I have used different options to solve this problem (like changing pconv, gconv, ... using other methods like LAPLACE,and..). I could make it converge; but, the z score are infinite for some variables which is probably due to colinearity and the zero error!&lt;/P&gt;&lt;P&gt;You have provided a document to solve the convergence problem with GLIMMIX. I tried everything in this document; but, still I am either having the convergence problem or results which don't make sense to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any help&lt;/P&gt;&lt;P&gt;Mohsen&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 17:50:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260173#M13756</guid>
      <dc:creator>Mohsen1</dc:creator>
      <dc:date>2016-03-30T17:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260176#M13757</link>
      <description>&lt;P&gt;Given all that you have tried, I fear that it is a collinearity problem--and if the random effects are collinear, or nearly collinear, then you may not have enough data to distinguish them, with the resulting 0's and infinities and all the rest of the problems associated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other possibility is quasi-complete separation, but with only 2 class variables, this may not be the case. &amp;nbsp;What does the cross-tabulation for v10*v13*y look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 17:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260176#M13757</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-03-30T17:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260401#M13759</link>
      <description>&lt;P&gt;You definitely have an over-parameterized model. I can't think of any scenario where you would have that many continuous random effects.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 13:28:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260401#M13759</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-03-31T13:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260438#M13760</link>
      <description>&lt;P&gt;Interesting point, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13758"&gt;@lvm﻿&lt;/a&gt;. &amp;nbsp;So let's suppose there are 100 (well 98) different continuous random effects where you are estimating a random slope, and that none of these are correlated (best case) and that you have a minimum of 3 points to estimate each slope. &amp;nbsp;Is the minimum number of modeled events over each of the 100 random effects at least 150 (50 events times 3 points)? &amp;nbsp;If not, there may be algorithmic problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way at all to eliminate some of the random effects by converting to events/trials syntax, and consolidating over the random effects that may not be as interesting?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 14:53:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260438#M13760</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-03-31T14:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260554#M13767</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks so much for your comments,&lt;/P&gt;&lt;P&gt;I think Steve's point about&amp;nbsp;the colinearity between my variables is true. I think the reason for singularity problem and getting infinite values for z scores is the colinearity between v10, v13, and y. Of course, I have used the interactions of v13 with some other variables, and probably some interactions are colinear with v10 and y. Now, I see why scaling some variables creates the singularity and infinite z scores problems, because it makes their interactions with v13 be more correlated with y when they are scaled. Am I right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have used 8 continuous variables as random effects, and the rest of them are binary variables (not dummy though).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions to solve this problem and get reasonable responses?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Mohsen&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 21:07:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260554#M13767</guid>
      <dc:creator>Mohsen1</dc:creator>
      <dc:date>2016-03-31T21:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260555#M13768</link>
      <description>&lt;P&gt;Also, when I am not defining one of v10 or v13 as categorical variables I am not having this problem anymore&lt;/P&gt;&lt;P&gt;v10 has three levels and v13 has two levels.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mohsen&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 21:11:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260555#M13768</guid>
      <dc:creator>Mohsen1</dc:creator>
      <dc:date>2016-03-31T21:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260557#M13769</link>
      <description>&lt;P&gt;I forgot to say that&amp;nbsp;&lt;SPAN&gt;number of modeled events&amp;nbsp;is much larger than 150.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 21:16:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260557#M13769</guid>
      <dc:creator>Mohsen1</dc:creator>
      <dc:date>2016-03-31T21:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260558#M13770</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Yes, the number of modeled events is much larger than 150&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 21:18:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260558#M13770</guid>
      <dc:creator>Mohsen1</dc:creator>
      <dc:date>2016-03-31T21:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Glimmix warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260773#M13778</link>
      <description>&lt;P&gt;That last part sounds like quasi-separation--once the categories are ignored for these variables, responses are no longer segregated into levels such that a level has only a single outcome. &amp;nbsp;So it comes down to that 3-category variable in all likelihood.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 16:29:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Glimmix-warning/m-p/260773#M13778</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-04-01T16:29:50Z</dc:date>
    </item>
  </channel>
</rss>

