<?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: AIC in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/AIC/m-p/708102#M34279</link>
    <description>&lt;P&gt;Thank you so much for your response, I carefully read those two tutorials, but I have a follow- up question. So In my "proc surveylogistic procedure", I have two domains, one is "eligible=1" (1836 participants), one is "eligible=2" (n=18634 participants), but the after I running the&amp;nbsp; code, the results showed that the two AICs in the two domains are the same (based on my understanding the two AICs should be different) and way too large (I think AIC can be very large, but the results showed above are too large). So I wonder what went wrong and how can I test the results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Dec 2020 16:17:59 GMT</pubDate>
    <dc:creator>knighsson</dc:creator>
    <dc:date>2020-12-24T16:17:59Z</dc:date>
    <item>
      <title>AIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/AIC/m-p/707600#M34271</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I run a logistic regression, the code is below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc surveylogistic data=nh.ob_diet1836 nomcar;&lt;BR /&gt;class t240 age RIAGENDR PIR SDDSRVYR RIDRETH1/ param=glm;&lt;BR /&gt;strata SDMVSTRA;&lt;BR /&gt;cluster SDMVPSU;&lt;BR /&gt;weight glucwt4yr;&lt;BR /&gt;domain eligible;&lt;BR /&gt;model BMI_outcome= age RIAGENDR PIR SDDSRVYR EIEER RIDRETH1 t240/ vadjust=none df=none link=glogit;&lt;BR /&gt;lsmeans t240/ cl oddsratio adjust =tukey;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;after running this code, the results automatically have information of AIC:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 268px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52950i737C92FFAB026F8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&amp;nbsp;but I think it is too large, so I used PROC mixed to test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;code is below:&lt;BR /&gt;proc mixed data=nh.ob_diet1836 covtest noclprint; &lt;BR /&gt;CLASS t240 age RIAGENDR PIR SDDSRVYR RIDRETH1; &lt;BR /&gt;WEIGHT glucwt4yr;&lt;BR /&gt;model BMI_outcome= age RIAGENDR PIR SDDSRVYR EIEER RIDRETH1 t240;&lt;BR /&gt;random intercept;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and AIC results is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 215px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52951i1E5C00EA2D35CCFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The difference between two AIC is huge. I wonder which one is right or how can I get the accurate results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing I want to mention is that when I run PROC MIXED, the log showed that&lt;/P&gt;
&lt;P&gt;" 18634 observations are not included because of missing values.&lt;BR /&gt;NOTE: Convergence criteria met but final Hessian is not positive definite.&lt;BR /&gt;NOTE: Estimated G matrix is not positive definite." and those did not show when I run PROC SURVEYLOGISTIC statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for helping me!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 02:36:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/AIC/m-p/707600#M34271</guid>
      <dc:creator>knighsson</dc:creator>
      <dc:date>2020-12-22T02:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: AIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/AIC/m-p/707694#M34272</link>
      <description>&lt;P&gt;1. You are not fitting the same model. For one thing, you are fitting a logistic (or cumulative logistic) model with SURVEYSELECT and a linear model in PROC MIXED.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. The documentation for these procedures provides the log-likelihood for each of these procedures. &lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_surveylogistic_details06.htm&amp;amp;locale=en" target="_self"&gt;The LL for SURVEYLOGISTIC&lt;/A&gt; is not the same as &lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_mixed_details01.htm&amp;amp;locale=en" target="_self"&gt;the LL for PROC MIXED.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 15:59:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/AIC/m-p/707694#M34272</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-12-22T15:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: AIC</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/AIC/m-p/708102#M34279</link>
      <description>&lt;P&gt;Thank you so much for your response, I carefully read those two tutorials, but I have a follow- up question. So In my "proc surveylogistic procedure", I have two domains, one is "eligible=1" (1836 participants), one is "eligible=2" (n=18634 participants), but the after I running the&amp;nbsp; code, the results showed that the two AICs in the two domains are the same (based on my understanding the two AICs should be different) and way too large (I think AIC can be very large, but the results showed above are too large). So I wonder what went wrong and how can I test the results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 16:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/AIC/m-p/708102#M34279</guid>
      <dc:creator>knighsson</dc:creator>
      <dc:date>2020-12-24T16:17:59Z</dc:date>
    </item>
  </channel>
</rss>

