<?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: how to evaluate the model fit for logistic regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143148#M7517</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;Did you compare default model fit statistics before considering Hosmer and Lemeshow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Sep 2014 19:06:27 GMT</pubDate>
    <dc:creator>stat_sas</dc:creator>
    <dc:date>2014-09-12T19:06:27Z</dc:date>
    <item>
      <title>how to evaluate the model fit for logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143147#M7516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to build a logistic regression model: using 7 variables (see below) to predict college enrollment (Enroll vs. Not-Enroll). When I put all seven variables in the model, the &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt; Hosmer and Lemeshow Goodness-of-Fit Test is significant,&amp;nbsp; I think it &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;suggests that the model does not fit the data well. I then tried variable selection and allowed two-way interactions to enter the selection, some of the interaction terms were selected for the final model, and the &lt;SPAN style="color: #1f497d; font-family: Calibri, sans-serif; font-size: 15px;"&gt;Hosmer and Lemeshow Goodness-of-Fit Test is still significant. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I also tried variable selection without including interaction terms. Four out of the seven variables were selected for the final model (race, sat score, legacy and year) and the Hosmer and Lemeshow Goodness-of-Fit p-value is significant as well. Does any one have suggestions on what I should do next? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A general question: Is the &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt; Hosmer and Lemeshow Goodness-of-Fit Test a good way to evaluate model fit?&amp;nbsp; W&lt;/SPAN&gt;hat do you usually use to evaluate model fit for logistic regression? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion is appreciated. &lt;/P&gt;&lt;P&gt;Yanmin &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Gender (Female vs. Male)&lt;/LI&gt;&lt;LI&gt;Race (Non-US vs. Minority vs. White)&lt;/LI&gt;&lt;LI&gt;SAT scores (numerical variable)&lt;/LI&gt;&lt;LI&gt;Academic Interest (Sciences vs. Interdisciplinary vs. Humanities vs. Undecided vs. Social Sciences) &lt;/LI&gt;&lt;LI&gt;Legacy (Yes vs. No)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;First generation (Yes vs. No)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Year(2012 vs. 2013 vs. 2014)&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 18:07:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143147#M7516</guid>
      <dc:creator>dart926</dc:creator>
      <dc:date>2014-09-12T18:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to evaluate the model fit for logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143148#M7517</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;Did you compare default model fit statistics before considering Hosmer and Lemeshow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 19:06:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143148#M7517</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-09-12T19:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to evaluate the model fit for logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143149#M7518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for responding. My SAS code is below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=asq; &lt;/P&gt;&lt;P&gt;class gender (ref='Male')&amp;nbsp; race (ref='White')&amp;nbsp;&amp;nbsp; Aca_Ins (ref='Social Sciences')&amp;nbsp; legacy (ref='No')&amp;nbsp; first_gen(ref='No')&amp;nbsp; year(ref='2014')&amp;nbsp; /param=ref;&lt;/P&gt;&lt;P&gt;model&amp;nbsp; enroll (event='Enroll')= gender_r race SAT_sum&amp;nbsp; Aca_Ins legacy&amp;nbsp; first_gen year/lackfit ;&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the default default model fit statistics, do you mean the following table? what should I compare to? Thank you!!&lt;/P&gt;&lt;TABLE cellpadding="5" cellspacing="0" class="table" frame="box" rules="all" summary="Procedure Logistic: Fit Statistics"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;AIC&lt;/TH&gt;&lt;TD class="r data"&gt;4018.729&lt;/TD&gt;&lt;TD class="r data"&gt;3781.145&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;SC&lt;/TH&gt;&lt;TD class="r data"&gt;4024.708&lt;/TD&gt;&lt;TD class="r data"&gt;3858.872&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l rowheader" scope="row"&gt;-2 Log L&lt;/TH&gt;&lt;TD class="r data"&gt;4016.729&lt;/TD&gt;&lt;TD class="r data"&gt;3755.145&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 19:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143149#M7518</guid>
      <dc:creator>dart926</dc:creator>
      <dc:date>2014-09-12T19:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to evaluate the model fit for logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143150#M7519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, what about Testing Global Null Hypothesis: BETA=0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 19:21:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143150#M7519</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-09-12T19:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to evaluate the model fit for logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143151#M7520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;&lt;P&gt;I will read a bit more about logistic regression before continuing the analysis.&amp;nbsp; Will come back to you later. &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>Fri, 12 Sep 2014 20:25:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143151#M7520</guid>
      <dc:creator>dart926</dc:creator>
      <dc:date>2014-09-12T20:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to evaluate the model fit for logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143152#M7521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/output/sas_logit_output.htm" title="http://www.ats.ucla.edu/stat/sas/output/sas_logit_output.htm"&gt;SAS Annotated Output: Proc Logistic&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/dae/logit.htm" title="http://www.ats.ucla.edu/stat/sas/dae/logit.htm"&gt;SAS Data Analysis Examples: Logit Regression&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 21:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143152#M7521</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-09-12T21:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to evaluate the model fit for logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143153#M7522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Reeza! This is very helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 21:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-evaluate-the-model-fit-for-logistic-regression/m-p/143153#M7522</guid>
      <dc:creator>dart926</dc:creator>
      <dc:date>2014-09-12T21:48:49Z</dc:date>
    </item>
  </channel>
</rss>

