<?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: Generalized linear mixed effects model cannot be optimized. Log transform followed by back trans in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Generalized-linear-mixed-effects-model-cannot-be-optimized-Log/m-p/616597#M29717</link>
    <description>&lt;P&gt;Did you try event/trial syntax?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Define Success = sum of 1s&lt;/P&gt;
&lt;P&gt;Define nTrials = 6&lt;/P&gt;
&lt;P&gt;Then use&lt;/P&gt;
&lt;P&gt;MODEL Success/nTrials = .... / dist=binomial;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2020 20:34:02 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2020-01-10T20:34:02Z</dc:date>
    <item>
      <title>Generalized linear mixed effects model cannot be optimized. Log transform followed by back trans?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generalized-linear-mixed-effects-model-cannot-be-optimized-Log/m-p/616344#M29708</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First time poster. I am using proc glimmix for a GLMM and a binomial distribution. The model cannot be optimized even when I set the maxopt=100. I was thinking that my next step would be to use a transformation on my response variable and then back transform it. I would use normal distribution when doing this obviously. Does this should like a reasonable approach here? What type of transformation would I use here being its a binary variable (1 or 0) and what's the added code I need? Currently I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data=obj_1_emergence plots=residualpanel maxopt=100;&lt;BR /&gt;class Inoculum Moisture Fungicide Block Rep;&lt;BR /&gt;model Emergence=Inoculum|Moisture|Fungicide/ddfm=kr dist=normal;&lt;BR /&gt;random Block Block*Inoculum Rep(Block*Inoculum*Moisture);&lt;BR /&gt;lsmeans Inoculum|Moisture|Fungicide/lines;&lt;BR /&gt;lsmeans Fungicide*Inoculum/lines slicediff=Inoculum slicediff=Fungicide plots=(mean(clband connect sliceby=Fungicide));&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;T&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 22:41:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generalized-linear-mixed-effects-model-cannot-be-optimized-Log/m-p/616344#M29708</guid>
      <dc:creator>batecy36</dc:creator>
      <dc:date>2020-01-09T22:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Generalized linear mixed effects model cannot be optimized. Log transform followed by back trans</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generalized-linear-mixed-effects-model-cannot-be-optimized-Log/m-p/616468#M29713</link>
      <description>&lt;P&gt;If your response variable is 0/1, then you have a BINARY response and should use the DIST=BINARY option. (The DIST=BINOMIAL option is often used for events/trials syntax.)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your idea, every transformation of a binary variable will result in another binary variable, so, no, you cannot use a transformation to somehow convert the problem to one that can use DIST=NORMAL.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 13:55:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generalized-linear-mixed-effects-model-cannot-be-optimized-Log/m-p/616468#M29713</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-01-10T13:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Generalized linear mixed effects model cannot be optimized. Log transform followed by back trans</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generalized-linear-mixed-effects-model-cannot-be-optimized-Log/m-p/616553#M29716</link>
      <description>&lt;P&gt;So I actually have a split-split plot with subsampling, 6 per true replicate. I think I should be able to convert to a decimal between 0 and 1 by summing my 0 and 1's and dividing by 6. I then could run this as normally distributed and do a log transformation if need be? I attempted to use DIST=BINARY to no avail. The model will not be optimized unless I run it as normally distributed. I understand it is not ideal but I'm not sure what the better alternative is.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 17:45:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generalized-linear-mixed-effects-model-cannot-be-optimized-Log/m-p/616553#M29716</guid>
      <dc:creator>batecy36</dc:creator>
      <dc:date>2020-01-10T17:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Generalized linear mixed effects model cannot be optimized. Log transform followed by back trans</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generalized-linear-mixed-effects-model-cannot-be-optimized-Log/m-p/616597#M29717</link>
      <description>&lt;P&gt;Did you try event/trial syntax?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Define Success = sum of 1s&lt;/P&gt;
&lt;P&gt;Define nTrials = 6&lt;/P&gt;
&lt;P&gt;Then use&lt;/P&gt;
&lt;P&gt;MODEL Success/nTrials = .... / dist=binomial;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 20:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generalized-linear-mixed-effects-model-cannot-be-optimized-Log/m-p/616597#M29717</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-01-10T20:34:02Z</dc:date>
    </item>
  </channel>
</rss>

