<?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: PROC MI, FCS Logistic, WARNING: The maximum likelihood estimates for the logistic regression in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253081#M56876</link>
    <description>&lt;P&gt;This generally&amp;nbsp;happen because you have input variable that make "perfect classification". So if you removed this variable you will get rid of this warnning. You can run PROC FREQ for each input variable and you will find this variable easily.&lt;/P&gt;</description>
    <pubDate>Sun, 28 Feb 2016 22:38:04 GMT</pubDate>
    <dc:creator>mohamed_zaki</dc:creator>
    <dc:date>2016-02-28T22:38:04Z</dc:date>
    <item>
      <title>PROC MI, FCS Logistic, WARNING: The maximum likelihood estimates for the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253052#M56872</link>
      <description>&lt;P&gt;I am trying to run multiple imputation using PROC MI&amp;nbsp;using&amp;nbsp;fully conditional specification (FCS) logistic regression for some binary and ordinal variables (all variables are categorical except for a weights variable that is complete). Although the MI seems to work and I get numbers that make sense,&amp;nbsp;I keep getting the warning message below for many of the variables. &amp;nbsp;What does this warning mean? Any suggestion on how to rememedy would be greatly appreciated! &amp;nbsp;(I am using SAS 9.4).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;WARNING: The maximum likelihood estimates for the logistic regression with observed observations may not exist for variable XYZ.The posterior predictive distribution of the parameters used in the imputation process is based on the maximum likelihood estimates in the last maximum likelihood iteration.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2016 18:23:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253052#M56872</guid>
      <dc:creator>mattromo</dc:creator>
      <dc:date>2016-02-28T18:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MI, FCS Logistic, WARNING: The maximum likelihood estimates for the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253081#M56876</link>
      <description>&lt;P&gt;This generally&amp;nbsp;happen because you have input variable that make "perfect classification". So if you removed this variable you will get rid of this warnning. You can run PROC FREQ for each input variable and you will find this variable easily.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2016 22:38:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253081#M56876</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2016-02-28T22:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MI, FCS Logistic, WARNING: The maximum likelihood estimates for the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253101#M56877</link>
      <description>Thanks so much for you answer.&lt;BR /&gt;&lt;BR /&gt;That makes sense, but what should I be looking for in PROC FREQ? I don’t have any variables with a row count of 0 and all of the categories in variables are pretty large with &amp;gt;1000 for most.&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Feb 2016 01:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253101#M56877</guid>
      <dc:creator>mattromo</dc:creator>
      <dc:date>2016-02-29T01:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MI, FCS Logistic, WARNING: The maximum likelihood estimates for the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253106#M56878</link>
      <description>&lt;P&gt;My reckoning is your&amp;nbsp;&lt;SPAN&gt;variable XYZ is category variable and &amp;nbsp;have lots and lots of levels which split your data into very sparse ,which could render MLE not exist .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 01:34:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253106#M56878</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-02-29T01:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MI, FCS Logistic, WARNING: The maximum likelihood estimates for the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253165#M56881</link>
      <description>&lt;P&gt;I'm guessing that Mohamed was thinking about creating a two-way classification table and seeing if there are any zero cells. For example, if all the Y=0 are associated with Sex="Female", then there&amp;nbsp;is a problem. The PROC FREQ code would look something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC FREQ;&lt;/P&gt;
&lt;P&gt;tables Y*Sex;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 12:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253165#M56881</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-29T12:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MI, FCS Logistic, WARNING: The maximum likelihood estimates for the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253193#M56884</link>
      <description>&lt;P&gt;Thanks for all of your suggestions. The cause was indeed quasi-seperation due to 0 cells. However, I managed to find some solutions without deleting the offending variable(s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of solutions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. This was complex sample survey data being imputed. The offending variables were&amp;nbsp;a combined PSU/Statum variable and location variable used to impute data (along with other variables in the model).&amp;nbsp;Multiple datasets were combined from different geographic locations&amp;nbsp;and so there were many 0 cells when looking at PSUstratum*location, as strata and PSU were specific to each geographic region. The solution was to delete the location variable in the imputation and just use it at the analysis stage, since the PSU/stratum already took location into account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Despite fixing the PSU/Stratum variable, I still got the MLE warning for a binary variable with a rare outcome. The solution to this was to just swich from FCS logistic to FCS discim and use /classeffects=include, to include the classification variables in the imputation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:47:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-MI-FCS-Logistic-WARNING-The-maximum-likelihood-estimates/m-p/253193#M56884</guid>
      <dc:creator>mattromo</dc:creator>
      <dc:date>2016-03-16T11:47:47Z</dc:date>
    </item>
  </channel>
</rss>

