<?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: Log-binomial with GEE regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888409#M44002</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you get the warning :&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;SPAN class="cs1B16EEB5"&gt;WARNING: The number of response pairs for estimating correlation is less than or equal to the &lt;/SPAN&gt;&lt;SPAN class="cs1B16EEB5"&gt;number of regression parameters. A simpler correlation model might be more appropriate.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="cs26327DE5"&gt;&lt;STRONG&gt;That warning message is the result of having very few measurements at some time points.&lt;/STRONG&gt; With few clusters having measurements at some time point(s), there is insufficient data available to estimate correlations involving those time points. This is particularly likely if you use the unstructured correlation matrix (TYPE=UN) and have clusters of varying sizes. If there is only one, or very few, clusters of the largest size, then this condition occurs. The solution is either to remove the few clusters with the largest size or to simply use a simpler correlation structure. &lt;STRONG&gt;The GEE method is robust to the choice of correlation structure.&lt;/STRONG&gt; So, even if you select a structure that doesn't match the true structure, you still get statistically consistent estimators. As a result, you can use the method without needing to precisely define the nested correlation structure. Many analysts routinely use simple structures such as &lt;STRONG&gt;TYPE=IND&lt;/STRONG&gt; or TYPE=EXCH.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="cs26327DE5"&gt;Also, note that &lt;STRONG&gt;PROC GEE&lt;/STRONG&gt; is a newer procedure specifically for fitting the GEE model and is the &lt;STRONG&gt;recommended&lt;/STRONG&gt; procedure when fitting that model. It adds support for nominal multinomial response data and data that are missing at random and might perform better in some cases.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="cs26327DE5"&gt;See also ( &lt;STRONG&gt;look for 'GEE'&lt;/STRONG&gt; )&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;&lt;SPAN class="cs26327DE5"&gt;Usage Note 22871: Types of logistic (or logit) models that can be fit using SAS®&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/22/871.html" target="_blank" rel="noopener"&gt;https://support.sas.com/kb/22/871.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="cs26327DE5"&gt;Usage Note 46997: Estimating the risk (proportion) difference for matched pairs data with binary response&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/46/997.html" target="_blank" rel="noopener"&gt;https://support.sas.com/kb/46/997.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN class="cs26327DE5"&gt;BR, Koen&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="ConnectiveDocSignExtentionInstalled" data-extension-version="1.0.4"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Tue, 08 Aug 2023 15:23:11 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2023-08-08T15:23:11Z</dc:date>
    <item>
      <title>Log-binomial with GEE regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888160#M43997</link>
      <description>&lt;P&gt;I used crude log-binomial regression with GEE for my analysis. When I ran the below code I get this error message.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc genmod data = myproject_1e descending;&lt;BR /&gt;class ParticipantID;&lt;BR /&gt;class state_marijuana_legal_status1 (ref='3');&lt;BR /&gt;model  Marijuana_Use2 = state_marijuana_legal_status1/ dist=binomial; link=log;&lt;BR /&gt;repeated subject=ParticipantID/type=exch; &lt;BR /&gt;run;&lt;/PRE&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-07 at 11.48.55 AM.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86496i8FA73DFE644B14CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2023-08-07 at 11.48.55 AM.png" alt="Screen Shot 2023-08-07 at 11.48.55 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 15:55:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888160#M43997</guid>
      <dc:creator>Dawa93</dc:creator>
      <dc:date>2023-08-07T15:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Log-binomial with GEE regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888258#M43998</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one semi-colon ( ; ) too much ...&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model  
Marijuana_Use2 = state_marijuana_legal_status1 / dist=binomial link=log;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS/STAT User's Guide&lt;BR /&gt;The GENMOD Procedure&lt;BR /&gt;MODEL Statement&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_genmod_syntax22.htm" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_genmod_syntax22.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note there's also a PROC GEE !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Koen&lt;/P&gt;
&lt;DIV id="ConnectiveDocSignExtentionInstalled" data-extension-version="1.0.4"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Aug 2023 23:39:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888258#M43998</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-08-07T23:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Log-binomial with GEE regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888394#M44001</link>
      <description>&lt;P&gt;Hi, Thank you for your comment.&lt;/P&gt;&lt;P&gt;I was able to run the code after removing the extra semi colon but I get this warning in my log . I have attached both my output and log screen shot. Can you look into it and let me know if I need to modify anything. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-08 at 10.35.20 AM.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86531i2AB929E553346009/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2023-08-08 at 10.35.20 AM.png" alt="Screen Shot 2023-08-08 at 10.35.20 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 14:48:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888394#M44001</guid>
      <dc:creator>Dawa93</dc:creator>
      <dc:date>2023-08-08T14:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Log-binomial with GEE regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888409#M44002</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you get the warning :&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;SPAN class="cs1B16EEB5"&gt;WARNING: The number of response pairs for estimating correlation is less than or equal to the &lt;/SPAN&gt;&lt;SPAN class="cs1B16EEB5"&gt;number of regression parameters. A simpler correlation model might be more appropriate.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="cs26327DE5"&gt;&lt;STRONG&gt;That warning message is the result of having very few measurements at some time points.&lt;/STRONG&gt; With few clusters having measurements at some time point(s), there is insufficient data available to estimate correlations involving those time points. This is particularly likely if you use the unstructured correlation matrix (TYPE=UN) and have clusters of varying sizes. If there is only one, or very few, clusters of the largest size, then this condition occurs. The solution is either to remove the few clusters with the largest size or to simply use a simpler correlation structure. &lt;STRONG&gt;The GEE method is robust to the choice of correlation structure.&lt;/STRONG&gt; So, even if you select a structure that doesn't match the true structure, you still get statistically consistent estimators. As a result, you can use the method without needing to precisely define the nested correlation structure. Many analysts routinely use simple structures such as &lt;STRONG&gt;TYPE=IND&lt;/STRONG&gt; or TYPE=EXCH.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="cs26327DE5"&gt;Also, note that &lt;STRONG&gt;PROC GEE&lt;/STRONG&gt; is a newer procedure specifically for fitting the GEE model and is the &lt;STRONG&gt;recommended&lt;/STRONG&gt; procedure when fitting that model. It adds support for nominal multinomial response data and data that are missing at random and might perform better in some cases.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="cs26327DE5"&gt;See also ( &lt;STRONG&gt;look for 'GEE'&lt;/STRONG&gt; )&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;&lt;SPAN class="cs26327DE5"&gt;Usage Note 22871: Types of logistic (or logit) models that can be fit using SAS®&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/22/871.html" target="_blank" rel="noopener"&gt;https://support.sas.com/kb/22/871.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="cs26327DE5"&gt;Usage Note 46997: Estimating the risk (proportion) difference for matched pairs data with binary response&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/46/997.html" target="_blank" rel="noopener"&gt;https://support.sas.com/kb/46/997.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN class="cs26327DE5"&gt;BR, Koen&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="ConnectiveDocSignExtentionInstalled" data-extension-version="1.0.4"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Aug 2023 15:23:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888409#M44002</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-08-08T15:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Log-binomial with GEE regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888846#M44025</link>
      <description>&lt;P&gt;To add to what what &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt; noted, based on the SUBJECT=ParticipantId specification in your code, I suspect you might be running an analysis where you have one measurement from each subject and are using the GEE model to get the empirical/robust/sandwich covariance matrix estimate. If that is the case, then specifying TYPE=EXCH, would be a likely cause for that WARNING message, since estimating the exchangeable working correlation structure would require clusters with two or more observations. As mementioned in the note &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt; rreferenced, you can switch to using an independent working correlation structure. The independent working correlation structure is used by default if you omit the TYPE= option.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 19:43:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Log-binomial-with-GEE-regression/m-p/888846#M44025</guid>
      <dc:creator>MichaelL_SAS</dc:creator>
      <dc:date>2023-08-10T19:43:25Z</dc:date>
    </item>
  </channel>
</rss>

