<?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 Negative individual predicted probabilities were identified in the final model fit.  You may want to in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-individual-predicted-probabilities-were-identified-in/m-p/795616#M39048</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to run a ordered logistic model with unequalslopes. The predicted variables edunum has 3 categories: 0,1,2. The code is as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=work.immigrants_from_lfs;
class sex pob_num(ref='0') period /param=ref;
model edunum(descending)= period sex|cohort2 pob_num|cohort2 /unequalslopes;
weight weight / norm;
score data=work.immigdataset out=work.scored_immig;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get this weird warning message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="sasLogWarning1_1644564168818" class="sasWarning"&gt;WARNING: Negative individual predicted probabilities were identified in the final model fit. You may want to modify your&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;UNEQUALSLOPES specification.&lt;/DIV&gt;
&lt;DIV id="sasLogWarning2_1644564168818" class="sasWarning"&gt;WARNING: The LOGISTIC procedure continues in spite of the above warning. Results shown are based on the last maximum likelihood iteration. Validity of the model fit is questionable.&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;The message only appears when both&amp;nbsp;sex|cohort2 pob_num|cohort2 are included in predictors. Sex has 2 categories (0,1), pob_num has 8 categories (0-7) and cohort 2 has 99 categories (0-98).&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;Parameters look however ok. I tried to remove the weight and score statement, but it does not fix it. Any idea why is this happening? I don't understand how a logistic model can predict negative probabilities.&lt;/DIV&gt;</description>
    <pubDate>Fri, 11 Feb 2022 07:31:39 GMT</pubDate>
    <dc:creator>Demographer</dc:creator>
    <dc:date>2022-02-11T07:31:39Z</dc:date>
    <item>
      <title>Negative individual predicted probabilities were identified in the final model fit.  You may want to</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-individual-predicted-probabilities-were-identified-in/m-p/795616#M39048</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to run a ordered logistic model with unequalslopes. The predicted variables edunum has 3 categories: 0,1,2. The code is as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=work.immigrants_from_lfs;
class sex pob_num(ref='0') period /param=ref;
model edunum(descending)= period sex|cohort2 pob_num|cohort2 /unequalslopes;
weight weight / norm;
score data=work.immigdataset out=work.scored_immig;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get this weird warning message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="sasLogWarning1_1644564168818" class="sasWarning"&gt;WARNING: Negative individual predicted probabilities were identified in the final model fit. You may want to modify your&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;UNEQUALSLOPES specification.&lt;/DIV&gt;
&lt;DIV id="sasLogWarning2_1644564168818" class="sasWarning"&gt;WARNING: The LOGISTIC procedure continues in spite of the above warning. Results shown are based on the last maximum likelihood iteration. Validity of the model fit is questionable.&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;The message only appears when both&amp;nbsp;sex|cohort2 pob_num|cohort2 are included in predictors. Sex has 2 categories (0,1), pob_num has 8 categories (0-7) and cohort 2 has 99 categories (0-98).&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasWarning"&gt;Parameters look however ok. I tried to remove the weight and score statement, but it does not fix it. Any idea why is this happening? I don't understand how a logistic model can predict negative probabilities.&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Feb 2022 07:31:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Negative-individual-predicted-probabilities-were-identified-in/m-p/795616#M39048</guid>
      <dc:creator>Demographer</dc:creator>
      <dc:date>2022-02-11T07:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Negative individual predicted probabilities were identified in the final model fit.  You may wan</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-individual-predicted-probabilities-were-identified-in/m-p/795677#M39059</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/33143"&gt;@Demographer&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;DIV class="sasWarning"&gt;I don't understand how a logistic model can predict negative probabilities.&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This paragraph (note) might give an insight into the answer to your question.&lt;/P&gt;
&lt;P&gt;See &lt;STRONG&gt;&lt;U&gt;the note&lt;/U&gt;&lt;/STRONG&gt; on the bottom of this page :&lt;BR /&gt;SAS/STAT® 15.2 User's Guide&lt;BR /&gt;The LOGISTIC Procedure&lt;BR /&gt;Example 78.18 Partial Proportional Odds Model&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/statug/15.2/statug_logistic_examples22.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/statug/15.2/statug_logistic_examples22.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure if such a model can überhaupt be used.&lt;/P&gt;
&lt;P&gt;I think&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155173"&gt;@SAS_Rob&lt;/a&gt;&amp;nbsp;can answer this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 14:42:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Negative-individual-predicted-probabilities-were-identified-in/m-p/795677#M39059</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-02-11T14:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Negative individual predicted probabilities were identified in the final model fit.  You may wan</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Negative-individual-predicted-probabilities-were-identified-in/m-p/796272#M39129</link>
      <description>&lt;P&gt;I would not rely on the results when this occurs.&amp;nbsp; The problem is that the data does not support the model so that you will need to change the model specification in some way to get interpretable results.&amp;nbsp; The suggestion to modify the UNEQUALSLOPES option so that you fit a partial proportional odds model is a good place to start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will mention as well that although the estimates seem reasonable, clearly they are not, at least collectively, when they a negative predicted probability.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 14:14:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Negative-individual-predicted-probabilities-were-identified-in/m-p/796272#M39129</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2022-02-15T14:14:57Z</dc:date>
    </item>
  </channel>
</rss>

