<?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 Glimmix in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Glimmix/m-p/602640#M174490</link>
    <description>&lt;P&gt;I guess my real question is why does this error always seem to appear when analyzing proportional data (decimals) with Glimmix using the binomial distribution? Is it just that the variation between replicates is low, or could it be something else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2019 22:22:50 GMT</pubDate>
    <dc:creator>mthorne</dc:creator>
    <dc:date>2019-11-07T22:22:50Z</dc:date>
    <item>
      <title>Proc Glimmix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Glimmix/m-p/601815#M174124</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been having an ongoing issue with the error "G side matrix is not positive defined," and especially when I analyze proportion data from replicated block trials. I usually have to remove the "random intercept / subject=rep" and replace with "random residual / subject=block" to remove the error and have an analysis that makes any sense. This also means I cannot use the LaPlace estimation method.&amp;nbsp; But, why is this such an issue with binomial distribution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a small study that illustrates my issue.&amp;nbsp; Attached is an output using both models for the factorial analysis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help with this issue!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Title1 'Comparison of SU Herbicides for scouringrush - Steptoe';&lt;/P&gt;&lt;P&gt;data Oct19;&lt;BR /&gt;input Plot Trt Herb $ Surf $ Rep Ctrl;&lt;BR /&gt;cards;&lt;BR /&gt;101 1 FN NIS 1 30&lt;BR /&gt;102 2 FN SW 1 70&lt;BR /&gt;103 3 AM NIS 1 10&lt;BR /&gt;104 4 AM SW 1 40&lt;BR /&gt;105 5 AB NIS 1 10&lt;BR /&gt;106 6 AB SW 1 50&lt;BR /&gt;107 7 None None 1 .&lt;BR /&gt;201 3 AM NIS 2 25&lt;BR /&gt;202 7 None None 2 .&lt;BR /&gt;203 6 AB SW 2 25&lt;BR /&gt;204 5 AB NIS 2 25&lt;BR /&gt;205 2 FN SW 2 50&lt;BR /&gt;206 4 AM SW 2 25&lt;BR /&gt;207 1 FN NIS 2 40&lt;BR /&gt;301 4 AM SW 3 20&lt;BR /&gt;302 3 AM NIS 3 20&lt;BR /&gt;303 5 AB NIS 3 25&lt;BR /&gt;304 6 AB SW 3 25&lt;BR /&gt;305 7 None None 3 .&lt;BR /&gt;306 1 FN NIS 3 50&lt;BR /&gt;307 2 FN SW 3 70&lt;BR /&gt;401 1 FN NIS 4 30&lt;BR /&gt;402 7 None None 4 .&lt;BR /&gt;403 6 AB SW 4 20&lt;BR /&gt;404 2 FN SW 4 75&lt;BR /&gt;405 3 AM NIS 4 30&lt;BR /&gt;406 5 AB NIS 4 25&lt;BR /&gt;407 4 AM SW 4 30&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data oct19; set oct19;&lt;BR /&gt;if trt=7 then delete;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;******************************************;&lt;BR /&gt;*factorial analysis;&lt;/P&gt;&lt;P&gt;proc sort data=oct19; by herb surf rep;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc glimmix data=oct19; *method=laplace plots=residualpanel;&lt;BR /&gt;class plot trt herb surf rep;&lt;BR /&gt;dec=ctrl/100;&lt;BR /&gt;model dec = herb|surf / dist=binomial link=logit;&lt;BR /&gt;*random intercept / subject=rep;&lt;BR /&gt;random residual / subject=rep;&lt;BR /&gt;lsmeans herb surf herb*surf / ilink pdiff lines;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;**********************************************;&lt;BR /&gt;*Simple effect analysis;&lt;/P&gt;&lt;P&gt;proc sort data=oct19; by trt rep;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc glimmix data=oct19; * method=laplace plots=residualpanel;&lt;BR /&gt;class plot trt herb surf rep;&lt;BR /&gt;dec=ctrl/100;&lt;BR /&gt;model dec = trt / dist=binomial link=logit;&lt;BR /&gt;*random intercept / subject=rep;&lt;BR /&gt;random residual / subject=rep;&lt;BR /&gt;lsmeans trt / ilink pdiff lines;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 21:24:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Glimmix/m-p/601815#M174124</guid>
      <dc:creator>mthorne</dc:creator>
      <dc:date>2019-11-05T21:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Glimmix/m-p/601819#M174125</link>
      <description>&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2019/04/03/g-matrix-is-not-positive-definite.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2019/04/03/g-matrix-is-not-positive-definite.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 21:28:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Glimmix/m-p/601819#M174125</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-05T21:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Glimmix/m-p/602640#M174490</link>
      <description>&lt;P&gt;I guess my real question is why does this error always seem to appear when analyzing proportional data (decimals) with Glimmix using the binomial distribution? Is it just that the variation between replicates is low, or could it be something else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 22:22:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Glimmix/m-p/602640#M174490</guid>
      <dc:creator>mthorne</dc:creator>
      <dc:date>2019-11-07T22:22:50Z</dc:date>
    </item>
  </channel>
</rss>

