<?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 GLIMMIX advice - new user in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/GLIMMIX-advice-new-user/m-p/234117#M54885</link>
    <description>&lt;P&gt;Hi all –&lt;/P&gt;&lt;P&gt;I am experiencing difficulties using the “glimmix” procedure in analysis of aquatic macroinvertebrate catch rate data. This is my first time using this procedure and I am admittedly new to multilevel modeling. Despite the stacks of SAS and other multilevel modeling resources on my desk, I continue to struggle with identifying and executing the most appropriate analysis and would value the input of an experienced and more skilled SAS user.&lt;/P&gt;&lt;P&gt;As a brief overview, I am interested in modeling the influence of several continuous predictor variables (water, phyco, chloro, riff, run) on aquatic macroinvertebrate catch rates (cf). All variables were collected from 5 streams annually from 2000 to 2013. For the analysis, fixed effects include all continuous predictor variables and random effects include “stream.” I chose the glimmix procedure to estimate an overall (i.e., landscape-level) effect of each predictor variable while accounting for potential within- and among-stream variation. The code I am running is as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data&lt;/STRONG&gt; a;&lt;/P&gt;&lt;P&gt;input stream$ year cf water phyco chloro riff run;&lt;/P&gt;&lt;P&gt;if stream='fuller' then system=&lt;STRONG&gt;1&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;if stream='mad' then system=&lt;STRONG&gt;2&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;if stream='slick' then system=&lt;STRONG&gt;3&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;if stream='rock' then system=&lt;STRONG&gt;4&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;if stream='turtle' then system=&lt;STRONG&gt;5&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2000&amp;nbsp; 342&amp;nbsp;&amp;nbsp; 2.752798998 20.42 14.65 12.46 17.81&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2001&amp;nbsp; 220&amp;nbsp;&amp;nbsp; 2.752986064 21.33 11.91 15.36 21.37&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2002&amp;nbsp; 35&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.752845772 22.11 7.67&amp;nbsp; 16.07 14.94&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2003&amp;nbsp; 120&amp;nbsp;&amp;nbsp; 2.752705434 17.03 9.48&amp;nbsp; 13.53 14.71&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2004&amp;nbsp; 29&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.752588451 19.88 10.21 12.1&amp;nbsp; 16.55&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2005&amp;nbsp; 83&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.752588451 21.33 8.97&amp;nbsp; 15.87 20.57&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2006&amp;nbsp; 11&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.752775609 19.46 11.29 14.68 18.27&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2007&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.753091254 17.44 14.21 17.14 21.84&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2008&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.752993078 20.24 8.47&amp;nbsp; 16.38 19.54&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2009&amp;nbsp; 11&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.753039831 20.51 9.98&amp;nbsp; 15.15 19.65&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2010&amp;nbsp; 90&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.753002429 17.24 9.87&amp;nbsp; 12.46 13.67&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011&amp;nbsp; 488&amp;nbsp;&amp;nbsp; 2.75308658&amp;nbsp; 20.35 8.22&amp;nbsp; 17.56 18.85&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012&amp;nbsp; 634&amp;nbsp;&amp;nbsp; 2.753014118 20.45 12.4&amp;nbsp; 18.33 21.61&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013&amp;nbsp; 201&amp;nbsp;&amp;nbsp; 2.752894879 19.88 6.73&amp;nbsp; 15.63 16.21&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2000&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.689511873 20.42 14.65 12.46 19.88&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2001&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.689839901 21.33 11.91 15.31 21.04&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2002&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.69015779&amp;nbsp; 22.11 7.67&amp;nbsp; 18.96 17.35&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2003&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.689594298 17.03 9.48&amp;nbsp; 16.31 16.78&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2004&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.689511873 19.88 10.21 10.67 17.47&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2005&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.689890513 21.33 8.97&amp;nbsp; 12.26 22.64&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;turtle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.740831493 19.88 6.73&amp;nbsp; 15.63 16.21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;print&lt;/STRONG&gt;; &lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sort&lt;/STRONG&gt; data=a; by system;&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;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glimmix&lt;/STRONG&gt; data=a method=quad;&lt;/P&gt;&lt;P&gt;class system;&lt;/P&gt;&lt;P&gt;model cf=water phyco / link=log solution dist=poisson;&lt;/P&gt;&lt;P&gt;random intercept/subject=system;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;; &amp;nbsp;&lt;/P&gt;&lt;P&gt;With this coding, I am running into several issues – most, if not all of which I’m sure stem from my unfamiliarity with this procedure. In examining the output window, I have what seems to be a truncated output with no fit statistics, covariance parameter estimates, or solutions for fixed effects. Under the heading for “Optimization Information,” it states that my fixed effects are not profiled and that “the function value of the objective function cannot be computed at the starting point.” Furthermore, in the log, I am getting an error stating that “QUANEW optimization cannot be completed.”&lt;/P&gt;&lt;P&gt;I suspect that these issues may have something to do with the repeated-measures aspect of my data structure (i.e., that observations within streams are not independent of one another), but I am not sure. An additional question would then be how to account for these repeated measures in the glimmix syntax. I apologize for asking the group for assistance with all of these issues at once. I am hoping that any and all comments or suggestions will act as a springboard to aid in my better understanding and appreciation of the glimmix procedure. Any suggestions would be very much appreciated.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;dfish44&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2015 21:13:40 GMT</pubDate>
    <dc:creator>dfish44</dc:creator>
    <dc:date>2015-11-10T21:13:40Z</dc:date>
    <item>
      <title>GLIMMIX advice - new user</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/GLIMMIX-advice-new-user/m-p/234117#M54885</link>
      <description>&lt;P&gt;Hi all –&lt;/P&gt;&lt;P&gt;I am experiencing difficulties using the “glimmix” procedure in analysis of aquatic macroinvertebrate catch rate data. This is my first time using this procedure and I am admittedly new to multilevel modeling. Despite the stacks of SAS and other multilevel modeling resources on my desk, I continue to struggle with identifying and executing the most appropriate analysis and would value the input of an experienced and more skilled SAS user.&lt;/P&gt;&lt;P&gt;As a brief overview, I am interested in modeling the influence of several continuous predictor variables (water, phyco, chloro, riff, run) on aquatic macroinvertebrate catch rates (cf). All variables were collected from 5 streams annually from 2000 to 2013. For the analysis, fixed effects include all continuous predictor variables and random effects include “stream.” I chose the glimmix procedure to estimate an overall (i.e., landscape-level) effect of each predictor variable while accounting for potential within- and among-stream variation. The code I am running is as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data&lt;/STRONG&gt; a;&lt;/P&gt;&lt;P&gt;input stream$ year cf water phyco chloro riff run;&lt;/P&gt;&lt;P&gt;if stream='fuller' then system=&lt;STRONG&gt;1&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;if stream='mad' then system=&lt;STRONG&gt;2&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;if stream='slick' then system=&lt;STRONG&gt;3&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;if stream='rock' then system=&lt;STRONG&gt;4&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;if stream='turtle' then system=&lt;STRONG&gt;5&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2000&amp;nbsp; 342&amp;nbsp;&amp;nbsp; 2.752798998 20.42 14.65 12.46 17.81&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2001&amp;nbsp; 220&amp;nbsp;&amp;nbsp; 2.752986064 21.33 11.91 15.36 21.37&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2002&amp;nbsp; 35&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.752845772 22.11 7.67&amp;nbsp; 16.07 14.94&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2003&amp;nbsp; 120&amp;nbsp;&amp;nbsp; 2.752705434 17.03 9.48&amp;nbsp; 13.53 14.71&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2004&amp;nbsp; 29&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.752588451 19.88 10.21 12.1&amp;nbsp; 16.55&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2005&amp;nbsp; 83&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.752588451 21.33 8.97&amp;nbsp; 15.87 20.57&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2006&amp;nbsp; 11&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.752775609 19.46 11.29 14.68 18.27&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2007&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.753091254 17.44 14.21 17.14 21.84&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2008&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.752993078 20.24 8.47&amp;nbsp; 16.38 19.54&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2009&amp;nbsp; 11&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.753039831 20.51 9.98&amp;nbsp; 15.15 19.65&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2010&amp;nbsp; 90&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.753002429 17.24 9.87&amp;nbsp; 12.46 13.67&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011&amp;nbsp; 488&amp;nbsp;&amp;nbsp; 2.75308658&amp;nbsp; 20.35 8.22&amp;nbsp; 17.56 18.85&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012&amp;nbsp; 634&amp;nbsp;&amp;nbsp; 2.753014118 20.45 12.4&amp;nbsp; 18.33 21.61&lt;/P&gt;&lt;P&gt;fuller&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013&amp;nbsp; 201&amp;nbsp;&amp;nbsp; 2.752894879 19.88 6.73&amp;nbsp; 15.63 16.21&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2000&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.689511873 20.42 14.65 12.46 19.88&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2001&amp;nbsp; 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.689839901 21.33 11.91 15.31 21.04&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2002&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.69015779&amp;nbsp; 22.11 7.67&amp;nbsp; 18.96 17.35&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2003&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.689594298 17.03 9.48&amp;nbsp; 16.31 16.78&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2004&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.689511873 19.88 10.21 10.67 17.47&lt;/P&gt;&lt;P&gt;mad&amp;nbsp;&amp;nbsp; 2005&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.689890513 21.33 8.97&amp;nbsp; 12.26 22.64&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;turtle&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.740831493 19.88 6.73&amp;nbsp; 15.63 16.21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;print&lt;/STRONG&gt;; &lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sort&lt;/STRONG&gt; data=a; by system;&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;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glimmix&lt;/STRONG&gt; data=a method=quad;&lt;/P&gt;&lt;P&gt;class system;&lt;/P&gt;&lt;P&gt;model cf=water phyco / link=log solution dist=poisson;&lt;/P&gt;&lt;P&gt;random intercept/subject=system;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;; &amp;nbsp;&lt;/P&gt;&lt;P&gt;With this coding, I am running into several issues – most, if not all of which I’m sure stem from my unfamiliarity with this procedure. In examining the output window, I have what seems to be a truncated output with no fit statistics, covariance parameter estimates, or solutions for fixed effects. Under the heading for “Optimization Information,” it states that my fixed effects are not profiled and that “the function value of the objective function cannot be computed at the starting point.” Furthermore, in the log, I am getting an error stating that “QUANEW optimization cannot be completed.”&lt;/P&gt;&lt;P&gt;I suspect that these issues may have something to do with the repeated-measures aspect of my data structure (i.e., that observations within streams are not independent of one another), but I am not sure. An additional question would then be how to account for these repeated measures in the glimmix syntax. I apologize for asking the group for assistance with all of these issues at once. I am hoping that any and all comments or suggestions will act as a springboard to aid in my better understanding and appreciation of the glimmix procedure. Any suggestions would be very much appreciated.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;dfish44&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 21:13:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/GLIMMIX-advice-new-user/m-p/234117#M54885</guid>
      <dc:creator>dfish44</dc:creator>
      <dc:date>2015-11-10T21:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: GLIMMIX advice - new user</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/GLIMMIX-advice-new-user/m-p/234330#M54922</link>
      <description>&lt;P&gt;Your code looks appropriate, so the problem lies in convergence (or lack thereof). I would start simple and build up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;Try a simple regression (i.e., one predictor) and drop the RANDOM statement.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;Try Laplace rather than quad.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;Try the tips in this paper by Kiernan, Tao and Gibbs&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://tinyurl.com/puka8l7" target="_self"&gt;http://tinyurl.com/puka8l7&lt;/A&gt;&lt;SPAN style="line-height: 20px;"&gt;&amp;nbsp;; note in particular the recommendation for NRRIDG or NEWRAP methods for the Poisson distribution.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully some combination of tweaked options will give convergence. Then you can add on: random streams, additional predictors, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other comments:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;"cf" is a count, not a rate. If the sampling effort is the same in all streams in all years, then analysis of the count is fine. But if effort (or some other metric that turns your count into a rate) differs, then you should ponder including an offset.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;Does each predictor variable have a linear relationship with log(cf)? There could be an optimal range, and something like a quadratic model might work well enough.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;Your current code would allow intercepts to vary among streams (aka, random intercepts). &lt;/SPAN&gt;&lt;SPAN style="line-height: 20px;"&gt;It would be nice&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: 20px;"&gt;to consider allowing slopes to vary among streams (aka, random slopes) but with only 13 years (i.e., 13 observations for each stream), there's only enough information for a single parameter estimate (so, only one predictor, entered linearly). Nice perhaps, but not too feasible.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;Check for overdispersion.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;Check for multicollinearity if you can build up to a multiple regression.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;At some point in time, consider autocorrelation.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 06:07:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/GLIMMIX-advice-new-user/m-p/234330#M54922</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2015-11-12T06:07:19Z</dc:date>
    </item>
  </channel>
</rss>

