<?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 LSMEANS in Logistic vs Genmod in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/LSMEANS-in-Logistic-vs-Genmod/m-p/631144#M20886</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am trying to calculate adjusted proportions for a binary outcome by quintile. I'm wondering why I get different results from LSMEANS in GENMOD &amp;amp; LOGISTIC. Both models are using the same reference groups (last quintile and non-male; age is continuous). If I remove the confounding variables (male and age) then the means from LSMEANS are the same. What am I missing here??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC GENMOD DATA=origs DESCENDING;&lt;BR /&gt;class quint;&lt;BR /&gt;model MI = quint male age;&lt;BR /&gt;lsmeans quint;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC LOGISTIC DATA=origs descending;&lt;BR /&gt;CLASS quint / param=glm;&lt;BR /&gt;model MI= quint male age;&lt;BR /&gt;lsmeans quint / e ilink ;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2020 01:34:09 GMT</pubDate>
    <dc:creator>tka726</dc:creator>
    <dc:date>2020-03-11T01:34:09Z</dc:date>
    <item>
      <title>LSMEANS in Logistic vs Genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LSMEANS-in-Logistic-vs-Genmod/m-p/631144#M20886</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am trying to calculate adjusted proportions for a binary outcome by quintile. I'm wondering why I get different results from LSMEANS in GENMOD &amp;amp; LOGISTIC. Both models are using the same reference groups (last quintile and non-male; age is continuous). If I remove the confounding variables (male and age) then the means from LSMEANS are the same. What am I missing here??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC GENMOD DATA=origs DESCENDING;&lt;BR /&gt;class quint;&lt;BR /&gt;model MI = quint male age;&lt;BR /&gt;lsmeans quint;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC LOGISTIC DATA=origs descending;&lt;BR /&gt;CLASS quint / param=glm;&lt;BR /&gt;model MI= quint male age;&lt;BR /&gt;lsmeans quint / e ilink ;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 01:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LSMEANS-in-Logistic-vs-Genmod/m-p/631144#M20886</guid>
      <dc:creator>tka726</dc:creator>
      <dc:date>2020-03-11T01:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS in Logistic vs Genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LSMEANS-in-Logistic-vs-Genmod/m-p/631192#M20889</link>
      <description>&lt;P&gt;Oh come on, show us the output.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 10:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LSMEANS-in-Logistic-vs-Genmod/m-p/631192#M20889</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-11T10:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS in Logistic vs Genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LSMEANS-in-Logistic-vs-Genmod/m-p/631289#M20898</link>
      <description>&lt;P&gt;Sorry, I didn't realize that the output didn't attach.&lt;/P&gt;&lt;P&gt;The results for 'Estimate' in the least square means output section of Genmod are not the same as the 'Mean' in the least square means output of Logistic.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 16:54:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LSMEANS-in-Logistic-vs-Genmod/m-p/631289#M20898</guid>
      <dc:creator>tka726</dc:creator>
      <dc:date>2020-03-11T16:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: LSMEANS in Logistic vs Genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LSMEANS-in-Logistic-vs-Genmod/m-p/631301#M20900</link>
      <description>&lt;P&gt;Sorry, but we probably ought to see screen captures of the output, pasted right into your reply. Most of us will not download Microsoft Office documents as they are a security threat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible the LSMEANS are different because you use ILINK in one procedure but not the other?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 17:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LSMEANS-in-Logistic-vs-Genmod/m-p/631301#M20900</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-11T17:28:55Z</dc:date>
    </item>
  </channel>
</rss>

