<?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 null model fit statistics using PROC LOGISTIC and FIRTH option in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/null-model-fit-statistics-using-PROC-LOGISTIC-and-FIRTH-option/m-p/73755#M3553</link>
    <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
I want to get -2LogL of the null model using proc logistic. I thought there are two ways to do that.&lt;BR /&gt;
&lt;BR /&gt;
1) Run the model without specifying any independent variable, i.e.&lt;BR /&gt;
&lt;BR /&gt;
proc logistic data = mydata descending;model youtcome = /firth;run;&lt;BR /&gt;
&lt;BR /&gt;
In the output, I found:&lt;BR /&gt;
&lt;BR /&gt;
Model Convergence Status&lt;BR /&gt;
&lt;BR /&gt;
Convergence criterion (GCONV=1E-8) satisfied.&lt;BR /&gt;
&lt;BR /&gt;
-2 Log L = 38.858&lt;BR /&gt;
&lt;BR /&gt;
2) Run the model by specifying independent variables, and use the model fit&lt;BR /&gt;
statistics in the Intercept Only column. For example:&lt;BR /&gt;
&lt;BR /&gt;
proc logistic data = mydata descending; model youtcome = weight/firth; run;&lt;BR /&gt;
&lt;BR /&gt;
In the output, I found:&lt;BR /&gt;
Model Convergence Status&lt;BR /&gt;
Convergence criterion (GCONV=1E-8) satisfied.&lt;BR /&gt;
Model Fit Statistics&lt;BR /&gt;
&lt;BR /&gt;
Criterion Intercept Only Intercept and Covariates&lt;BR /&gt;
AIC 31.570 31.805&lt;BR /&gt;
SC 33.790 36.244&lt;BR /&gt;
-2 Log L 29.570 27.805&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Why the -2LogL in the Intercept Only column (29.570) is different from what I got from the first method (38.858)? And if I specify different independent variables, the model fit statistics in the Intercept Only column also vary. So what does "Intercept Only" mean? And which one is the correct null model fit statistics?&lt;BR /&gt;
&lt;BR /&gt;
If I turn off the "Firth" option, the two null model fit statistics (-2logL) are the same. But the problem is that my data has quasi-complete problem and "Firth" should give me more reliable results.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
&lt;BR /&gt;
koko</description>
    <pubDate>Wed, 30 Sep 2009 15:31:37 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-09-30T15:31:37Z</dc:date>
    <item>
      <title>null model fit statistics using PROC LOGISTIC and FIRTH option</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/null-model-fit-statistics-using-PROC-LOGISTIC-and-FIRTH-option/m-p/73755#M3553</link>
      <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
I want to get -2LogL of the null model using proc logistic. I thought there are two ways to do that.&lt;BR /&gt;
&lt;BR /&gt;
1) Run the model without specifying any independent variable, i.e.&lt;BR /&gt;
&lt;BR /&gt;
proc logistic data = mydata descending;model youtcome = /firth;run;&lt;BR /&gt;
&lt;BR /&gt;
In the output, I found:&lt;BR /&gt;
&lt;BR /&gt;
Model Convergence Status&lt;BR /&gt;
&lt;BR /&gt;
Convergence criterion (GCONV=1E-8) satisfied.&lt;BR /&gt;
&lt;BR /&gt;
-2 Log L = 38.858&lt;BR /&gt;
&lt;BR /&gt;
2) Run the model by specifying independent variables, and use the model fit&lt;BR /&gt;
statistics in the Intercept Only column. For example:&lt;BR /&gt;
&lt;BR /&gt;
proc logistic data = mydata descending; model youtcome = weight/firth; run;&lt;BR /&gt;
&lt;BR /&gt;
In the output, I found:&lt;BR /&gt;
Model Convergence Status&lt;BR /&gt;
Convergence criterion (GCONV=1E-8) satisfied.&lt;BR /&gt;
Model Fit Statistics&lt;BR /&gt;
&lt;BR /&gt;
Criterion Intercept Only Intercept and Covariates&lt;BR /&gt;
AIC 31.570 31.805&lt;BR /&gt;
SC 33.790 36.244&lt;BR /&gt;
-2 Log L 29.570 27.805&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Why the -2LogL in the Intercept Only column (29.570) is different from what I got from the first method (38.858)? And if I specify different independent variables, the model fit statistics in the Intercept Only column also vary. So what does "Intercept Only" mean? And which one is the correct null model fit statistics?&lt;BR /&gt;
&lt;BR /&gt;
If I turn off the "Firth" option, the two null model fit statistics (-2logL) are the same. But the problem is that my data has quasi-complete problem and "Firth" should give me more reliable results.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
&lt;BR /&gt;
koko</description>
      <pubDate>Wed, 30 Sep 2009 15:31:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/null-model-fit-statistics-using-PROC-LOGISTIC-and-FIRTH-option/m-p/73755#M3553</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-09-30T15:31:37Z</dc:date>
    </item>
  </channel>
</rss>

