<?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: quasi-complete separation in logistic regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88644#M4354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Steve!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found it!!! And now, everything is working very well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2012 13:45:16 GMT</pubDate>
    <dc:creator>danirecchia</dc:creator>
    <dc:date>2012-09-06T13:45:16Z</dc:date>
    <item>
      <title>quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88634#M4344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running a logistic regression with my original data and it is ok. But I also groupped them in classes, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;age1: 18-25 years old&lt;/P&gt;&lt;P&gt;age2 :25-30 years old&lt;/P&gt;&lt;P&gt;age3: 30+ years old&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now I wanto to run the modell with the groupped variables but when I do I receive the messagem about quasi-complete separation. The problem is, that I don't have a clue about which variable(s) are causing this problem. How should I proceed to fix it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 12:35:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88634#M4344</guid>
      <dc:creator>danirecchia</dc:creator>
      <dc:date>2012-08-09T12:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88635#M4345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a CLASS statement where the age-related variable has three levels, reflecting what is related, or did you create three binomial age related variables variables and include them in the model somehow?&amp;nbsp; If the latter is the case, you may have problems doing what I am going to ask next.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are three levels of a single variable and the response is binary, it is easy to run PROC FREQ with something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq;&lt;/P&gt;&lt;P&gt;tables agecat*response:&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at the table and see if all of the observations fall into either the 1 or 0 response category for any of the agecat levels.&amp;nbsp; If so, that is quasi-separation--for one (or more) of the age groups, all of the responses are identical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to solve: collapse the categories so that the group where all of the responses are identical are included with another group.&amp;nbsp; Make sure that it makes good sense to combine the categories (i.e. don't combine the highest with the lowest, when they are ordered).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 18:51:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88635#M4345</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-08-09T18:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88636#M4346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Steve, thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create the variables so :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc format;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;value&lt;/STRONG&gt; AVG_DELAY_L24Mgroup&amp;nbsp; low-0.5 = 'delay1'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.5-high = 'delay2';run;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC FREQ&lt;/STRONG&gt; data=score2;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; TABLES&lt;/STRONG&gt;&amp;nbsp; AVG_DELAY_L24M*bad_client;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt; format&lt;/STRONG&gt; AVG_DELAY_L24M AVG_DELAY_L24Mgroup.;RUN; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I receive the table:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="253"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="166"&gt;Category&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="47"&gt;Good&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="40"&gt;Bad&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;delay1&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;437&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;376&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;delay2&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;239&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another variable: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc format&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;value&lt;/STRONG&gt; DUR_CUST_RELgroup&amp;nbsp; low-500 = 'dur_cust_rel1'&lt;/P&gt;&lt;P&gt;500 - 1000 = 'dur_cust_rel2'&lt;/P&gt;&lt;P&gt;1000 - 3000 = 'dur_cust_rel3'&lt;/P&gt;&lt;P&gt;3000 - 5000 = 'dur_cust_rel4'&lt;/P&gt;&lt;P&gt;5000 - high = 'dur_cust_rel5'; &lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="253"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="166"&gt;Category&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="47"&gt;Good&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="40"&gt;Bad&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;dur_cust_rel1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;61&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;66&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;dur_cust_rel2&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;51&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;108&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;dur_cust_rel3&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;142&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;205&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;dur_cust_rel4&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;118&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;143&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" style="border-top: none;"&gt;dur_cust_rel5&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;105&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;93&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the model I do first wrote the new variables in the dataset:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data&lt;/STRONG&gt; test;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set&lt;/STRONG&gt; score;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;retain&lt;/STRONG&gt; AVG_DELAY_L24M_cat DUR_CUST_REL_cat;&lt;/P&gt;&lt;P&gt;AVG_DELAY_L24M_cat = put(AVG_DELAY_L24M,AVG_DELAY_L24Mgroup.);&lt;/P&gt;&lt;P&gt;DUR_CUST_REL_cat = put(DUR_CUST_REL,DUR_CUST_RELgroup.); &lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the to the model:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc logistic&lt;/STRONG&gt; data = test descending;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;class&lt;/STRONG&gt; AVG_DELAY_L24M_cat DUR_CUST_REL_cat ; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;model&lt;/STRONG&gt; bad_client= AVG_DELAY_L24M_cat DUR_CUST_REL_cat; &lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for all the other variables the frequency table is just like this two, I don't have any class without observation. I created the classes based on WOE and choose the variables for the model using the IV. I do took a look on the frequencies but I didn't saw anything suspicious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could be something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 09:00:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88636#M4346</guid>
      <dc:creator>danirecchia</dc:creator>
      <dc:date>2012-08-10T09:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88637#M4347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While it might be something else, you do have both variables in the model, and even without the interaction term, there may be a combination of levels that are empty, so I would check that as well&amp;nbsp; Things may be complete for each variable alone, but together you may be missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's Friday, and my brain might be fried, but this is the only thing I can think of happening to give quasi-separation right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 11:18:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88637#M4347</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-08-10T11:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88638#M4348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a comment: You can save yourself a DATA step if you use the formats in PROC LOGISTIC like you did in PROC FREQ. There is no need to explicitly construct the character variables by using the PUT function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an instance where dynamically linked graphics are helpful. If you have access to JMP or SAS/IML Studio, load the three variables into the product. Create a bar chart of BAD_CLIENT and a mosaic plot of the other two variables. Click on the "Bad" group of clients. Those same observations will be highlighted in the mosaic plot, which will enable you to see which joint levels of classification variables are responsible for the quasi-separation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 12:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88638#M4348</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-08-10T12:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88639#M4349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Separation occurs if there is a zero count for one of the response levels in any population, where a population is defined as a unique combination of levels of the predictors.&amp;nbsp; So, you would need to do this to check for zero counts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq;&lt;/P&gt;&lt;P&gt; tables &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;AVG_DELAY_L24M_cat * DUR_CUST_REL_cat &lt;/SPAN&gt;*&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; bad_client&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then combine populations as needed to remove the zeros.&amp;nbsp; Alternatively, you may find that just adding the FIRTH option provides an adequate analysis based on a penalized likelihood method.&amp;nbsp; See this note on the separation issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/22599"&gt;http://support.sas.com/kb/22599&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 16:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88639#M4349</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2012-08-30T16:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88640#M4350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Hey StatDave@sas thank you for your suggestions. Unfortunately none of them could help me. I tried everything, firth, forward, stepwise, exact logistic, observation of the estimates and standadr deviation and so on. There is no zero count in any of my categories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I then built the model inserting one by one and now I know which variables are causing the problem (15 variables) but I dond't understand why. I just can't let all this variables out of my model without a justification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Can you imagine another solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 12:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88640#M4350</guid>
      <dc:creator>danirecchia</dc:creator>
      <dc:date>2012-09-06T12:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88641#M4351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In all combinations of the 15 variables, there is not a single combination with zero count?&amp;nbsp; And not just at the two-way level, but all the way up to the fifteen-way level (assuming that the variables are all categorical)?&amp;nbsp; At some point, you are going to have to combine populations/levels in a critical variable to get rid of the zero count cell. At least that way, you will still have all variables accounted for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 12:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88641#M4351</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-09-06T12:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88642#M4352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Hey Steve,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;well I didn't look at all combinations, because when I try to create a table with all the variables SAS tells me "ERROR: The requested table is too large to process." Maybe I don't know how to ask this for SAS. How should I do it?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 12:56:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88642#M4352</guid>
      <dc:creator>danirecchia</dc:creator>
      <dc:date>2012-09-06T12:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88643#M4353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq noprint;&lt;/P&gt;&lt;P&gt;ods output list=list;&lt;/P&gt;&lt;P&gt;tables a*b*c*d*e*f*g*h*i*j*k*l*m*n*o/ list;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where a through o are the variable names.&amp;nbsp; This would output the results to a dataset ('list') that you can sort on.&amp;nbsp; If this is what you tried then move to&lt;/P&gt;&lt;P&gt;PROC MEANS or SUMMARY.&amp;nbsp; I know the syntax better for MEANS, so it is what follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means noprint nway;&lt;/P&gt;&lt;P&gt;class a b c d e f g h i j k l m n o;&lt;/P&gt;&lt;P&gt;var (response variable goes in here);&lt;/P&gt;&lt;P&gt;output out=datasetname n=/autoname;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then search datasetname for zeroes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this made sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 13:13:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88643#M4353</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-09-06T13:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88644#M4354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Steve!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found it!!! And now, everything is working very well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 13:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88644#M4354</guid>
      <dc:creator>danirecchia</dc:creator>
      <dc:date>2012-09-06T13:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: quasi-complete separation in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88645#M4355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose that we are building logit model using few independent variables. Event variable can be dichotomous or multinominal.&lt;/P&gt;&lt;P&gt;Sometimes SAS prompts "Error: Complete Separation" or "Error : Quasi Separation".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its mean dependent Variable can be fully explain by any one independent Variable (Complete Separation) or&amp;nbsp; can be fully explain by combinations of few independent variables ( Quasi Separation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Example 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event&amp;nbsp;&amp;nbsp; Age &lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 45&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 60&lt;/P&gt;&lt;P&gt;This Shows Complete Separation becaus Event =1 for age &amp;gt; 24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Example 2 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Event&amp;nbsp;&amp;nbsp; Age&amp;nbsp;&amp;nbsp; Height &lt;/P&gt;&lt;TABLE height="249" style="width: 116px; height: 224px;" width="114"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;TD&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;18&lt;/TD&gt;&lt;TD&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;24&lt;/TD&gt;&lt;TD&gt;178&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt; 21&lt;/TD&gt;&lt;TD&gt;145&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;45&lt;/TD&gt;&lt;TD&gt; 120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;38&lt;/TD&gt;&lt;TD&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;55&lt;/TD&gt;&lt;TD&gt; 150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt; 169&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;170&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt; 25&lt;/TD&gt;&lt;TD&gt;170&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Shows Quasi Separation because Event =1 for age &amp;gt; 24 and Height&amp;gt;149.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To remove Compete Separation or Quasi Separation, 1) find out variable those were responsible for Separation ( Check the Collinearity Matrix and Classification Matrix between dependent variable and independent&amp;nbsp; variables)&amp;nbsp; then 2) remove those variables or classify them in group so that Complete/Quasi separation no more exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this will help You.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Ambrish &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 18:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/quasi-complete-separation-in-logistic-regression/m-p/88645#M4355</guid>
      <dc:creator>Ambrish</dc:creator>
      <dc:date>2012-09-06T18:52:52Z</dc:date>
    </item>
  </channel>
</rss>

