<?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: Logistic effect plot not corresponding to max likelihood table in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598508#M29129</link>
    <description>&lt;P&gt;The ods output value is&amp;nbsp;0.558105622519328. Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2019 19:50:59 GMT</pubDate>
    <dc:creator>pink_poodle</dc:creator>
    <dc:date>2019-10-22T19:50:59Z</dc:date>
    <item>
      <title>Logistic effect plot not corresponding to max likelihood table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598456#M29125</link>
      <description>&lt;P&gt;I am doing reference cell coding with a binary categorical predictor.&lt;/P&gt;&lt;P&gt;According to max likelihood table,&lt;/P&gt;&lt;P&gt;Intercept = 0.2335, and that is the predicted logit probability of the reference level.&lt;/P&gt;&lt;P&gt;However, the effect plot shows a dot at &amp;gt;0.50 for the predicted probability of that level.&lt;/P&gt;&lt;P&gt;Why is that? Please let me know possible explanations.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=have plots(only)=(effect oddsratio);
    class x(ref='&amp;lt;=60 min')/ param=ref;
    model y(event='1')= x / clodds=pl;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 17:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598456#M29125</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2019-10-22T17:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic effect plot not corresponding to max likelihood table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598479#M29126</link>
      <description>&lt;P&gt;Can you upload the image so we can see it?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 18:38:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598479#M29126</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-10-22T18:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic effect plot not corresponding to max likelihood table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598485#M29127</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="maximum likelihood table" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33348iDB3C80B6193727DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="max likelihood table.PNG" alt="maximum likelihood table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;maximum likelihood table&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="effect plot" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33349i30EB2133D038B5D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="effect plot.PNG" alt="effect plot" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;effect plot&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 18:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598485#M29127</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2019-10-22T18:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic effect plot not corresponding to max likelihood table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598491#M29128</link>
      <description>&lt;P&gt;You can get the exact predicted values by using&lt;/P&gt;
&lt;P&gt;ods output effectplot=EFPLOT;&lt;/P&gt;
&lt;P&gt;proc logistic....&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;proc print data=EFPLOT; run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The estimate for the Intercept (reference level) is&amp;nbsp;0.2335.&lt;/P&gt;
&lt;P&gt;Then the predicted value for the reference category is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;p = logistic( 0.2335 );&lt;/P&gt;
&lt;P&gt;which is 0.5581. This looks like the height of the dot for the reference category, so it looks like all is well. If the height is different from 0.5581, let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 19:04:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598491#M29128</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-10-22T19:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic effect plot not corresponding to max likelihood table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598508#M29129</link>
      <description>&lt;P&gt;The ods output value is&amp;nbsp;0.558105622519328. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 19:50:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598508#M29129</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2019-10-22T19:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic effect plot not corresponding to max likelihood table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598515#M29130</link>
      <description>&lt;P&gt;Double-checked the &lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n13u4gq0z9qwo4n15f6e6bg8mv79.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;logistic function&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;logit(p) = ln(odds)&amp;nbsp;&lt;/P&gt;&lt;P&gt;let logit(p) = a&lt;/P&gt;&lt;P&gt;odds = p / ( 1 - p )&lt;/P&gt;&lt;P&gt;p / (1 - p) = e^a&lt;/P&gt;&lt;P&gt;p&amp;nbsp; = e^a - p*e^a&lt;/P&gt;&lt;P&gt;p*(1 + e^a) = e^a&lt;/P&gt;&lt;P&gt;p = e^a / (1 + e^a) = logistic(a)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 20:14:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598515#M29130</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2019-10-22T20:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic effect plot not corresponding to max likelihood table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598519#M29131</link>
      <description>&lt;P&gt;Yes. Equivalently, p = 1 / (1 + exp(-a)), which is shorter to write.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 20:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-effect-plot-not-corresponding-to-max-likelihood-table/m-p/598519#M29131</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-10-22T20:26:47Z</dc:date>
    </item>
  </channel>
</rss>

