<?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: Different parameter estimates between proc logistic, proc glimmix, and proc genmod in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Different-parameter-estimates-between-proc-logistic-proc-glimmix/m-p/627595#M20550</link>
    <description>&lt;P&gt;Oh come on, show us the output!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you say&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;(I am specifying the same reference category across models)&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but the code you show doesn't do any such thing.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 17:43:01 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-02-26T17:43:01Z</dc:date>
    <item>
      <title>Different parameter estimates between proc logistic, proc glimmix, and proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Different-parameter-estimates-between-proc-logistic-proc-glimmix/m-p/627580#M20544</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm testing out some logistic regression models and I am comparing results across proc logistic, proc glimmix, and proc genmod. I wanted to first look at models without specifying any random effects. With these fixed effects models, I anticipate that the coefficient estimates would be the same across procedures; however proc logistic produces substantially different coefficient estimates for the fixed effects (proc glimmix and genmod produce the same coefficient estimates).&amp;nbsp; Do you know what would be causing this? I've pasted example code below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Addendum: I've noticed that the different parameter estimates are specifically for variables in the class statement (I am specifying the same reference category across models).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data = dat desc;
	class  var1 (ref = "0");
	model outcome = var1 var2 var3;
run;

proc glimmix data = dat;
	class  var1 (ref = "0");
	model outcome = var1 var2 var3/solution dist=bin link=logit;
run;

proc genmod data = dat;
	class  var1 (ref = "0");
	model outcome = var1 var2 var3/dist=bin link=logit;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameter estimates output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&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="SAS output.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36412i6F263F5BE3F005F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS output.png" alt="SAS output.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 18:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Different-parameter-estimates-between-proc-logistic-proc-glimmix/m-p/627580#M20544</guid>
      <dc:creator>AXR</dc:creator>
      <dc:date>2020-02-26T18:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Different parameter estimates between proc logistic, proc glimmix, and proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Different-parameter-estimates-between-proc-logistic-proc-glimmix/m-p/627595#M20550</link>
      <description>&lt;P&gt;Oh come on, show us the output!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you say&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;(I am specifying the same reference category across models)&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but the code you show doesn't do any such thing.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 17:43:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Different-parameter-estimates-between-proc-logistic-proc-glimmix/m-p/627595#M20550</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-26T17:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Different parameter estimates between proc logistic, proc glimmix, and proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Different-parameter-estimates-between-proc-logistic-proc-glimmix/m-p/627604#M20555</link>
      <description>&lt;P&gt;updated the post.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 18:06:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Different-parameter-estimates-between-proc-logistic-proc-glimmix/m-p/627604#M20555</guid>
      <dc:creator>AXR</dc:creator>
      <dc:date>2020-02-26T18:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Different parameter estimates between proc logistic, proc glimmix, and proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Different-parameter-estimates-between-proc-logistic-proc-glimmix/m-p/627608#M20556</link>
      <description>&lt;P&gt;The GLIMMIX and GENMOD estimates match. The LOGISTIC estimates are the exact same model, just parameterized differently. If you had shown the Intercept from LOGISTIC, we could all see these are the same models. These models give the exact same predictions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of looking at parameter estimates for CLASS variable levels, you ought to be using LSMEANS, which I suspect will provide the same LSMEANS for each of the three PROCs.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 18:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Different-parameter-estimates-between-proc-logistic-proc-glimmix/m-p/627608#M20556</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-26T18:16:15Z</dc:date>
    </item>
  </channel>
</rss>

