<?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 how to get get AIC/BIC for frailty model model fit comparison using proc phreg in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-get-AIC-BIC-for-frailty-model-model-fit-comparison/m-p/457353#M23855</link>
    <description>&lt;P&gt;I want to get the AIC/BIC from proc phreg procedure for a frailty model. A snippet of the code is seen below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc phreg data=local.slk;&lt;BR /&gt;class eth_group gender_liv&amp;nbsp;region_liv/ param=ref ref=first;&lt;BR /&gt;model gtime_ki_n*gstatus_ki_n(0)= bmi_calc_liv eth_group GENDER_liv /risklimits ;&lt;BR /&gt;random region_liv;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, the only output is the marginal likelihood estimate. Is there a way to get the AIC/BIC criterions as well?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Apr 2018 15:20:27 GMT</pubDate>
    <dc:creator>jonyu</dc:creator>
    <dc:date>2018-04-25T15:20:27Z</dc:date>
    <item>
      <title>how to get get AIC/BIC for frailty model model fit comparison using proc phreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-get-AIC-BIC-for-frailty-model-model-fit-comparison/m-p/457353#M23855</link>
      <description>&lt;P&gt;I want to get the AIC/BIC from proc phreg procedure for a frailty model. A snippet of the code is seen below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc phreg data=local.slk;&lt;BR /&gt;class eth_group gender_liv&amp;nbsp;region_liv/ param=ref ref=first;&lt;BR /&gt;model gtime_ki_n*gstatus_ki_n(0)= bmi_calc_liv eth_group GENDER_liv /risklimits ;&lt;BR /&gt;random region_liv;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, the only output is the marginal likelihood estimate. Is there a way to get the AIC/BIC criterions as well?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 15:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-get-AIC-BIC-for-frailty-model-model-fit-comparison/m-p/457353#M23855</guid>
      <dc:creator>jonyu</dc:creator>
      <dc:date>2018-04-25T15:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to get get AIC/BIC for frailty model model fit comparison using proc phreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-get-AIC-BIC-for-frailty-model-model-fit-comparison/m-p/600870#M29229</link>
      <description>&lt;P&gt;I realize this was posted a while ago, but was there any resolution? I am having similar difficulties with the restriction on proc phreg capabilities when implemented a shared frailty.&amp;nbsp; How can one assess model fit?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 00:50:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-get-AIC-BIC-for-frailty-model-model-fit-comparison/m-p/600870#M29229</guid>
      <dc:creator>aa84</dc:creator>
      <dc:date>2019-11-01T00:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to get get AIC/BIC for frailty model model fit comparison using proc phreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-get-AIC-BIC-for-frailty-model-model-fit-comparison/m-p/608176#M29478</link>
      <description>&lt;P&gt;Dear Trusted SAS Users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having similar issues. I want to get AIC/BIC values for my Frailty model using a random statement to account for variability between studies in proc phreg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an idea of how this can be calculated?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My (tentative) syntax is below,&lt;/P&gt;&lt;P&gt;proc phreg data=cvd1c;&lt;BR /&gt;ods output ParameterEstimates = ParameterEstimates;&lt;BR /&gt;class meno7cat(ref='50-52 yrs' param=ref) study byc3cat racethnicity5cat education3 smoking_b bmi5cat nochildcat hrtuse_b afb2;&lt;BR /&gt;model YearsCVD*CVDicd_ever(0)=meno7cat byc3cat racethnicity5cat education3 smoking_b bmi5cat nochildcat hrtuse_b afb2&lt;BR /&gt;/ALPHA=0.05 RISKLIMITS=wald;&lt;BR /&gt;Random &lt;STRONG&gt;study&lt;/STRONG&gt;/solution;&lt;BR /&gt;format meno7cat meno7catf.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am only getting the marginal likelihood value. Can this be equated as -2LogL?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Marginal Loglikelihood &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;-87071.6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Full output below,&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Summary of the Number of Event and CensoredValuesTotal Event Censored PercentCensored &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;180207&lt;/TD&gt;&lt;TD&gt;8216&lt;/TD&gt;&lt;TD&gt;171991&lt;/TD&gt;&lt;TD&gt;95.44&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Convergence Status &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Convergence criterion (PCONV=0.0001) satisfied.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Marginal Loglikelihood &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;-87071.6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Testing Global Null HypothesisTest Chi-Square AdjustedDF Pr&amp;nbsp;&amp;gt;&amp;nbsp;ChiSqLikelihood RatioWald &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;3291.1031&lt;/TD&gt;&lt;TD&gt;51.44&lt;/TD&gt;&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3660.9894&lt;/TD&gt;&lt;TD&gt;51.44&lt;/TD&gt;&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Covariance Parameter EstimatesCov Parm REML Estimate StandardErrorstudy &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;0.4042&lt;/TD&gt;&lt;TD&gt;0.1813&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 01 Dec 2019 03:02:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-get-get-AIC-BIC-for-frailty-model-model-fit-comparison/m-p/608176#M29478</guid>
      <dc:creator>shivarajmishra</dc:creator>
      <dc:date>2019-12-01T03:02:34Z</dc:date>
    </item>
  </channel>
</rss>

