<?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: PROC MIXED vs PROC GLIMMIX for REML and Distribution-Specific Model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625952#M30122</link>
    <description>Thanks for the suggestion. I just tried it - it shows a very similar residual vs predicted plot.&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Feb 2020 19:09:00 GMT</pubDate>
    <dc:creator>vitaaquaticus</dc:creator>
    <dc:date>2020-02-19T19:09:00Z</dc:date>
    <item>
      <title>PROC MIXED vs PROC GLIMMIX for REML and Distribution-Specific Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625921#M30119</link>
      <description>&lt;P&gt;I have a dataset that contains three response variables (density of individuals in a 0.5 m^2 plot, length of the longest individual in the 0.5 m^2 plot, and percent cover of a 0.5 m^2 plot). The sample sizes are very small so I fitted a PROC MIXED statistical model for each response variable with REML and Kenward-Roger correction. I am having troubles finding a way to satisfy the model assumptions with respect to heteroscedasticity and normality. The residual vs predicted mean plot shows a diagonal shape (see photos below) with all of the transformations (log, sqrt, power, etc). I thought if I fit a beta distribution for percent cover and a poisson distribution for density, it might help solve the problem. But the issue is - PROC MIXED does not have the capability to specify a distribution. PROC GLIMMIX does but it does not appear to have the capability to specify REML and Kenward-Roger correction. I am a bit stumped at this point. I am hoping someone can help me on this. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample Dataset:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data WORK.DATASET2;
  infile datalines dsd truncover;
  input F1:BEST4. Year:$4. Month:$5. Date:MMDDYY10. Cape:$2. Site:$2. Species:$19. Transect:$1. Quadrat:$2. Percent.Cover:BEST12. Density:BEST12. Frond.Length:BEST5. Length_75:32.;
  format F1 BEST4. Date MMDDYY10. Percent.Cover BEST12. Density BEST12. Frond.Length BEST5.;
datalines;
1 2016 May 05/06/2016 CF BB Saccharina sessilis 1 1 30 9 16.5 8.1867769506
2 2016 May 05/06/2016 CF BB Saccharina sessilis 1 2 51 11 26 11.514100371
3 2016 May 05/06/2016 CF BB Saccharina sessilis 1 3 14 5 13 6.846325042
4 2016 May 05/06/2016 CF BB Saccharina sessilis 1 4 3 1 8 4.75682846
5 2016 May 05/06/2016 CF BB Saccharina sessilis 1 5 4 1 2.1 1.7444738796
6 2016 May 05/06/2016 CF BB Saccharina sessilis 1 6 17 4 25.4 11.314237411
7 2016 May 05/06/2016 CF BB Saccharina sessilis 1 7 15 8 14 7.2376241554
8 2016 May 05/06/2016 CF BB Saccharina sessilis 1 8 21 4 23 10.502577066
9 2016 May 05/06/2016 CF BB Saccharina sessilis 1 9 16 5 9.5 5.4111890111
10 2016 May 05/06/2016 CF BB Saccharina sessilis 1 10 24 6 8.9 5.1527907317
11 2016 May 05/06/2016 CF BB Saccharina sessilis 1 11 17 5 2 1.6817928305
12 2016 May 05/06/2016 CF BB Saccharina sessilis 1 12 52 9 18.1 8.7752385459
13 2016 May 05/06/2016 CF BB Saccharina sessilis 1 13 17 2 13.8 7.1599388764
14 2016 May 05/06/2016 CF BB Saccharina sessilis 1 14 30 7 26 11.514100371
15 2016 May 05/06/2016 CF BB Saccharina sessilis 1 15 62 14 33.7 13.986930782
16 2016 May 05/06/2016 CF BB Saccharina sessilis 1 16 30 9 26 11.514100371
17 2016 May 05/06/2016 CF BB Saccharina sessilis 1 17 20 10 16.1 8.0374707792
18 2016 May 05/06/2016 CF BB Saccharina sessilis 1 18 6 3 8 4.75682846
19 2016 May 05/06/2016 CF BB Saccharina sessilis 1 19 10 3 11.1 6.0812412691
20 2016 May 05/06/2016 CF BB Saccharina sessilis 1 20 18 8 2.5 1.9881768219
;;;;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-02-19 at 10.00.39.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36243iCD2432B8801F4864/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-02-19 at 10.00.39.png" alt="Screen Shot 2020-02-19 at 10.00.39.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-02-19 at 10.00.44.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36242i23599241DB7E9E0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-02-19 at 10.00.44.png" alt="Screen Shot 2020-02-19 at 10.00.44.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample code for Density:&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
PROC MIXED DATA = dataset2 plots(MAXPOINTS=none)=all;
	CLASS Year Month Cape Site Transect Quadrat;
	MODEL 'Density'n = Year Month(Year) Year|Cape/SOLUTION ddfm = KR CL ALPHA=0.05 INTERCEPT;
   RANDOM Quadrat(Transect) Transect(Site) Site(Cape) /CL ALPHA=0.05 TYPE=VC;
    LSMEANS Year|Cape / PDIFF CL ALPHA=0.05;
RUN;
ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 18:08:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625921#M30119</guid>
      <dc:creator>vitaaquaticus</dc:creator>
      <dc:date>2020-02-19T18:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED vs PROC GLIMMIX for REML and Distribution-Specific Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625950#M30121</link>
      <description>&lt;P&gt;The pattern of residuals vs predicted is problematic. Fix that first. I think your model is overspecified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token function"&gt;Month&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Year&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;|&lt;/SPAN&gt;Cape&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;instead of&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token function"&gt;Year&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Month&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Year&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Year&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;|&lt;/SPAN&gt;Cape&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 19:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625950#M30121</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-02-19T19:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED vs PROC GLIMMIX for REML and Distribution-Specific Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625952#M30122</link>
      <description>Thanks for the suggestion. I just tried it - it shows a very similar residual vs predicted plot.&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Feb 2020 19:09:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625952#M30122</guid>
      <dc:creator>vitaaquaticus</dc:creator>
      <dc:date>2020-02-19T19:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED vs PROC GLIMMIX for REML and Distribution-Specific Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625954#M30123</link>
      <description>&lt;P&gt;What is cape?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 19:11:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625954#M30123</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-02-19T19:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED vs PROC GLIMMIX for REML and Distribution-Specific Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625955#M30124</link>
      <description>Cape is a regional level. Site is a local level. It is like a city within a county. But in this case, a site within a cape.&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Feb 2020 19:14:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-vs-PROC-GLIMMIX-for-REML-and-Distribution-Specific/m-p/625955#M30124</guid>
      <dc:creator>vitaaquaticus</dc:creator>
      <dc:date>2020-02-19T19:14:00Z</dc:date>
    </item>
  </channel>
</rss>

