<?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: Compare two models in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818859#M40478</link>
    <description>&lt;P&gt;Yes, I know but reviewer does not accept this and want us to run some kind of test to compare the models to show that the main model is different from the model with interaction term&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 16:24:34 GMT</pubDate>
    <dc:creator>Raza_M</dc:creator>
    <dc:date>2022-06-17T16:24:34Z</dc:date>
    <item>
      <title>Compare two models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818767#M40469</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I used PROC GENMOD using GEE for repeated measures to find an association between dichotomized outcome and continuous exposure. Then to see difference by sex, I used interaction term and reported sex stratified results if the interaction term was significant. However, reviewer is not satisfied with this method and wants some kind of comparison between the models and test if the difference is significant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I browsed the internet and is seems that using a CONTRAST statement would have solved the issue but unfortunately it cannot be used with repeated measures (GEE). However, if I use CONSTRACT in PROC GENMOD with GEE it produces a test score for hypothesis. but I am not sure if it is the same thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you kindly guide how to do this correctly? I have written below a code for the main model and the interaction model which I used separately and now I am looking for a comparison between these two models to test if the models are different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Main model:&lt;/P&gt;&lt;P&gt;proc genmod data=dateused descending;&lt;BR /&gt;class sex id v1(ref='0') v2(ref='0') v3(ref='1') v4(ref='1') v5(ref='0') ;&lt;BR /&gt;model outcome_dichotomized = exposure_continous sex age v1 v2 v3 v4 v5 / dist=bin link=logit type3;&lt;BR /&gt;estimate 'exposure_continous ' exposure_continous -1 /exp;&lt;BR /&gt;repeated subject=id/ type=exch;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interaction model:&lt;/P&gt;&lt;P&gt;proc genmod data=dateused&amp;nbsp; descending;&lt;BR /&gt;class sex id v1(ref='0') v2(ref='0') v3(ref='1') v4(ref='1') v5(ref='0') ; ;&lt;BR /&gt;model outcome_dichotomized = exposure_continous sex age v1 v2 v3 v4 v5 exposure_continous *sex / dist=bin link=logit type3;&lt;BR /&gt;estimate 'exposure_continous ' exposure_continous -1 /exp;&lt;BR /&gt;repeated subject=id/ type=exch;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 08:56:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818767#M40469</guid>
      <dc:creator>Raza_M</dc:creator>
      <dc:date>2022-06-17T08:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818823#M40470</link>
      <description>&lt;P&gt;Have moved this from 'Programming' to 'Statistical Procedures' board.&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 13:50:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818823#M40470</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-06-17T13:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818824#M40471</link>
      <description>&lt;P&gt;Sample 26100: QIC goodness of fit statistic for GEE models&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/26/100.html" target="_blank"&gt;https://support.sas.com/kb/26/100.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These statistics allow comparisons of GEE models (model selection) and selection of a correlation structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 13:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818824#M40471</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-06-17T13:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818836#M40474</link>
      <description>The question of whether your exposure variable has difference effects in each sex is directly answered by the test of the interaction parameter in your model that includes the interaction. If the test of that parameter (or its type 3 test) is significant, then exposure has different effects in the two sexes.</description>
      <pubDate>Fri, 17 Jun 2022 14:37:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818836#M40474</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-06-17T14:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818859#M40478</link>
      <description>&lt;P&gt;Yes, I know but reviewer does not accept this and want us to run some kind of test to compare the models to show that the main model is different from the model with interaction term&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 16:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818859#M40478</guid>
      <dc:creator>Raza_M</dc:creator>
      <dc:date>2022-06-17T16:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818861#M40479</link>
      <description>&lt;P&gt;But QIC does not tell if two models are different and interaction is significant&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 16:28:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818861#M40479</guid>
      <dc:creator>Raza_M</dc:creator>
      <dc:date>2022-06-17T16:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818862#M40480</link>
      <description>Ok, Thank you!</description>
      <pubDate>Fri, 17 Jun 2022 16:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818862#M40480</guid>
      <dc:creator>Raza_M</dc:creator>
      <dc:date>2022-06-17T16:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818865#M40481</link>
      <description>&lt;P&gt;Reviewer wants something like&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;I run two models: One with all main effects and one with the main effects and interaction terms. If the explanatory power of the interaction model is significantly higher, I interpret the interaction. But I do not know how to achieve this in SAS&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 16:34:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818865#M40481</guid>
      <dc:creator>Raza_M</dc:creator>
      <dc:date>2022-06-17T16:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818940#M40485</link>
      <description>Your reviewer is thinking of a likelihood ratio test which is computed that way by fitting the separate models and comparing their likelihood values. And that is an excellent test to use, but it requires that the models be fit using maximum likelihood estimation. Unfortunately, the GEE method is not a likelihood-based method, so that test is not possible. The parameter test is directly analogous to what you would do for an ordinary regression model to assess this question and should be perfectly acceptable.</description>
      <pubDate>Fri, 17 Jun 2022 22:55:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818940#M40485</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-06-17T22:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818963#M40487</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On top of what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;has written :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might have a look into this (&lt;SPAN&gt;1993 Sep 30)&amp;nbsp;&lt;/SPAN&gt;article by T Park :&lt;/P&gt;
&lt;P&gt;A comparison of the generalized estimating equation approach with the maximum likelihood approach for repeated measurements&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pubmed.ncbi.nlm.nih.gov/8248664/" target="_blank"&gt;https://pubmed.ncbi.nlm.nih.gov/8248664/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it's safe to say GEE is &lt;FONT color="#800000"&gt;&lt;STRONG&gt;Q&lt;/STRONG&gt;&lt;/FONT&gt;MLE (Q&lt;SPAN&gt;uasi-Maximum-Likelihood-Estimation), but it is definitely not MLE !&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 09:38:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compare-two-models/m-p/818963#M40487</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-06-18T09:38:24Z</dc:date>
    </item>
  </channel>
</rss>

