<?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 check model fit using PROC GENMOD in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/852075#M42173</link>
    <description>&lt;P&gt;Thank you Dave for replying, it seems that the QIC provided a measurement that compared the model with different link/distrubution and working matrix. It seems that it cannot provide a test that provided a p value (e.g. Pearson Chi square) for the statistics of goodness of fit?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2023 03:24:19 GMT</pubDate>
    <dc:creator>Diels_O</dc:creator>
    <dc:date>2023-01-04T03:24:19Z</dc:date>
    <item>
      <title>How to check model fit using PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851676#M42150</link>
      <description>&lt;P&gt;Dear Professors, I met a problem when modeling modified Poisson Regression when using the PROC GENMOD and repeated statement, how should I assess the model fit? The response variable was a binary outcome.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data = ITT1;
class enroll_order group(desc) D90_score_0to1(desc) IVT/PARAM = GLM;
model D90_score_0to1 = group age baseline_NIHSS IVT onset_to_randomization/ dist = poisson link = log covB corrb;
repeated subject = enroll_order/type = exch;
estimate "beta" group 1 -1/exp;
lsmeans group/diff exp cl;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2022 08:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851676#M42150</guid>
      <dc:creator>Diels_O</dc:creator>
      <dc:date>2022-12-31T08:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to check model fit using PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851681#M42151</link>
      <description>You need to create a calibration plot .&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; wrote a blog about it.&lt;BR /&gt;It looks like a calibration plot  can be used to check any model 's goodness of fit .&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2019/02/20/easier-calibration-plot-sas.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2019/02/20/easier-calibration-plot-sas.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2018/05/14/calibration-plots-in-sas.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2018/05/14/calibration-plots-in-sas.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 31 Dec 2022 09:28:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851681#M42151</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-12-31T09:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to check model fit using PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851683#M42152</link>
      <description>&lt;A href="https://blogs.sas.com/content/iml/2018/05/16/decile-calibration-plots-sas.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2018/05/16/decile-calibration-plots-sas.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2020/11/23/decile-plots-in-sas.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2020/11/23/decile-plots-in-sas.html&lt;/A&gt;</description>
      <pubDate>Sat, 31 Dec 2022 09:33:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851683#M42152</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-12-31T09:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to check model fit using PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851693#M42153</link>
      <description>&lt;P&gt;Thank you for your generous help! However, it seems that the calibration plot works for continuous regressor, what if the regressors are binary?&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2022 12:35:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851693#M42153</guid>
      <dc:creator>Diels_O</dc:creator>
      <dc:date>2022-12-31T12:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to check model fit using PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851696#M42154</link>
      <description>&lt;P&gt;The instructions I'm following using the link above use the repeated statement with robust error variance (Zou G. A Modified Poisson Regression Approach to Prospective Studies with Binary Data. Am J Epidemiol 2004; 159(7):702-6.). However, according to The User's Guide for GENMOD which says that you do not get the Pearson chi-square and df ratio when you use a REPEATED statement. How can I check the goodness of fit in such case?&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2022 14:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851696#M42154</guid>
      <dc:creator>Diels_O</dc:creator>
      <dc:date>2022-12-31T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to check model fit using PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851728#M42156</link>
      <description>Notice that &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; using PROC LOGISTIC as an example ,the same as your binary Y variable.</description>
      <pubDate>Sun, 01 Jan 2023 08:22:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851728#M42156</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-01-01T08:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to check model fit using PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851729#M42157</link>
      <description>You can get the predicted Y value as Rick's blog showed .&lt;BR /&gt;For GEE or Mixed model you also could get these Y hat(a.k.a  predicted Y) by OUTPUT statment,&lt;BR /&gt;since you have original Y and predicted Y ,you can plot  a calibration plot  to check model' s goodness of fit .&lt;BR /&gt;Maybe &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; could give you a hand .</description>
      <pubDate>Sun, 01 Jan 2023 08:25:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851729#M42157</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-01-01T08:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to check model fit using PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851744#M42158</link>
      <description>Thank you very much and wish you a happy and prosperous 2023!</description>
      <pubDate>Sun, 01 Jan 2023 14:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851744#M42158</guid>
      <dc:creator>Diels_O</dc:creator>
      <dc:date>2023-01-01T14:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to check model fit using PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851750#M42159</link>
      <description>&lt;P&gt;Just an added note that in addition to the plot, you can use the QIC statistic provided by GENMOD to compare competing models (models with differing predictors) and/or a generalized R-square statistic. Both are mentioned in the section of&amp;nbsp;&lt;A href="http://support.sas.com/kb/22/630.html" target="_self"&gt;this note&lt;/A&gt;&amp;nbsp;on GEE models, and the R-square statistic is further discussed and illustrated in &lt;A href="http://support.sas.com/kb/67/880.html" target="_self"&gt;this note&lt;/A&gt;. The first note also discusses how you can evaluate how well the model fits each observation and how to check the model form and link function.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jan 2023 16:25:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/851750#M42159</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-01-01T16:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to check model fit using PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/852075#M42173</link>
      <description>&lt;P&gt;Thank you Dave for replying, it seems that the QIC provided a measurement that compared the model with different link/distrubution and working matrix. It seems that it cannot provide a test that provided a p value (e.g. Pearson Chi square) for the statistics of goodness of fit?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 03:24:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-check-model-fit-using-PROC-GENMOD/m-p/852075#M42173</guid>
      <dc:creator>Diels_O</dc:creator>
      <dc:date>2023-01-04T03:24:19Z</dc:date>
    </item>
  </channel>
</rss>

