<?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: Quasi-likelihood regressions in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250331#M13195</link>
    <description>&lt;P&gt;Logistic regression in GLIMMIX often requires more iterations than the default to reach convergence. &amp;nbsp;Providing your code and any quotes from the output regarding non-convergence, etc. would be helpful in addressing your problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2016 14:34:27 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2016-02-16T14:34:27Z</dc:date>
    <item>
      <title>Quasi-likelihood regressions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250211#M13187</link>
      <description>&lt;DIV&gt;&lt;P&gt;Currently running quasi-likelihood regressions, where the code is PROC GLIMMIX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone tell me the difference between the following statements:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;model y ~ x /link = logit dist = binomial&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;model y ~ x / link = log solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I ran the code with 'link = logit dist = binomial' I was never able to get a value on the coefficients (which is what I'm looking for).&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Feb 2016 23:58:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250211#M13187</guid>
      <dc:creator>buder</dc:creator>
      <dc:date>2016-02-15T23:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Quasi-likelihood regressions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250223#M13188</link>
      <description>&lt;P&gt;Link function is different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;model y ~ x /link = logit dist = binomial :&lt;/P&gt;
&lt;P&gt;Like proc logistic . &amp;nbsp;link function is &amp;nbsp; log(p/(1-p)) &amp;nbsp; &amp;nbsp; &amp;nbsp;y~&lt;SPAN&gt;binomial distribution&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;model y ~ x / link = log solution:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;link function is &amp;nbsp; &amp;nbsp;log(y) &amp;nbsp; &amp;nbsp; &amp;nbsp;y usually is positive value.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 01:56:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250223#M13188</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-02-16T01:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Quasi-likelihood regressions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250331#M13195</link>
      <description>&lt;P&gt;Logistic regression in GLIMMIX often requires more iterations than the default to reach convergence. &amp;nbsp;Providing your code and any quotes from the output regarding non-convergence, etc. would be helpful in addressing your problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 14:34:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250331#M13195</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-02-16T14:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Quasi-likelihood regressions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250467#M13201</link>
      <description>&lt;P&gt;You have several issues/problems. With your code with link=log, you are using a normal distribution (the default). This is likely not what you want. Put in the dist= option. Also, your syntax is wrong for GLIMMIX. One does not use "y ~ x". One uses "y=x". Also, you are using pseudo-likelihood, not quasi-likelihood. Quasi-likelihood is when the likelihood is not defined (or definable). If you put in:&lt;/P&gt;
&lt;P&gt;random _residual_;&lt;/P&gt;
&lt;P&gt;then you would have quasi-likelihood with the binomial. Another way of getting quasi-, is to specify the mean and variance functions directly. Both ways are defining a variance:mean structure that does not correspond to a real probability distribution.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 22:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250467#M13201</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-02-16T22:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Quasi-likelihood regressions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250470#M13202</link>
      <description>&lt;P&gt;Thanks all for the clarification; I am still running into syntax error codes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I include dist = option is says syntax error, expecting one of the foollowing: B, BERNOULLI, BETA, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code I ran:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data = TEST;&lt;BR /&gt;model utility_score&amp;nbsp;= AGE INCOME ... (number of independent variables here)&amp;nbsp;/ link = log dist = option;&lt;BR /&gt;where utility_score gt 0;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reason why I'm running quasi-likelihood is because my dependent variable is between 0 and 1; cannot take on the 0 value but can be 1. Also, the dependent variable is skewed (left).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 23:10:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250470#M13202</guid>
      <dc:creator>buder</dc:creator>
      <dc:date>2016-02-16T23:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Quasi-likelihood regressions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250614#M13206</link>
      <description>You missed the point, maybe I wasn't clear. You need to specify a distribution with link=log, otherwise you will get a normal distribution. If you want a binomial, then use dist=binomial or some other distribution (there is no such thing as "dist=option").  If you are using normal distribution (the default), then you are using pseudo-likelihood (the default).&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Feb 2016 13:49:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250614#M13206</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-02-17T13:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Quasi-likelihood regressions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250893#M13230</link>
      <description>&lt;P&gt;Got it. One (hopefully) last question; I believe that I need dist = beta because my dependent variable is between 0 and 1 (though it cannot take on the value of 0).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the question I still have remaining is that this dependent variable is left-skewed (skewness: -1.97); is one able to incorporate that in the distribution code anywhere?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I remember correctly a positively skewed variable would take on a Poisson distribution but I haven't come across how to incorporate a negatively-skewed variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts would be greatly appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 17:27:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250893#M13230</guid>
      <dc:creator>buder</dc:creator>
      <dc:date>2016-02-18T17:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Quasi-likelihood regressions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250899#M13232</link>
      <description>Beta does not allow 0 or 1 (defined only between those values). You would get a missing value for any 0s or 1s. This is a challenge when using the beta distribution. Skewness is not a problem. Beta can be very skewed. If you use beta, then you don't need the random _residual_  term I mentioned (there is a scale parameter automatically). If you want beta with 1s, you need to define (in an ad hoc way) a new variable that is always between 0 and 1. Something like yprime = (y-.005)/1.01. Be careful, results will depend on the constants you use.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Feb 2016 17:38:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Quasi-likelihood-regressions/m-p/250899#M13232</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-02-18T17:38:17Z</dc:date>
    </item>
  </channel>
</rss>

