<?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: Using &amp;quot;proc logistic&amp;quot; with some subjects having more than one case/row in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Using-quot-proc-logistic-quot-with-some-subjects-having-more/m-p/808525#M81769</link>
    <description>&lt;P&gt;Lots of good information here:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Logistic-regression-when-there-are-more-than-one-observation-for/td-p/620077" target="_blank"&gt;Logistic regression when there are more than one o... - SAS Support Communities&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Apr 2022 11:26:36 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-04-19T11:26:36Z</dc:date>
    <item>
      <title>Using "proc logistic" with some subjects having more than one case/row</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-quot-proc-logistic-quot-with-some-subjects-having-more/m-p/808245#M81762</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following code for a logistic regression,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc logistic data=have descending;
  class var1(ref='3') var2/ param=reference;
  model treatment = var1 var2;
run;
&lt;/PRE&gt;
&lt;P&gt;In my model, the treatment one receives IS the outcome variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, some people in the data have more than one occasion of receiving treatment for the medical condition in question. There are 20,000 people and 20,500 cases. It is a very small proportion of people with a "cluster" of cases, but I would like to account for it anyway, regarding standard error estimates. Can anyone point me in the direction of the proper code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2022 20:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-quot-proc-logistic-quot-with-some-subjects-having-more/m-p/808245#M81762</guid>
      <dc:creator>Manhort</dc:creator>
      <dc:date>2022-04-17T20:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using "proc logistic" with some subjects having more than one case/row</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-quot-proc-logistic-quot-with-some-subjects-having-more/m-p/808322#M81763</link>
      <description>I think you are looking for the PROC GLIMMIX procedure, which allows you to build mixed effects logit models to account for the fact that some of your observations are not independent. It does seem like you should ask yourself why some of these subjects have more than one observation in your data and how that could influence the outcomes. E.g., if there was some kind of cumulative benefit of receiving additional treatments, that could make your sub-set of respondents a biased sample and not just a sample with random error.</description>
      <pubDate>Mon, 18 Apr 2022 14:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-quot-proc-logistic-quot-with-some-subjects-having-more/m-p/808322#M81763</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2022-04-18T14:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using "proc logistic" with some subjects having more than one case/row</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-quot-proc-logistic-quot-with-some-subjects-having-more/m-p/808525#M81769</link>
      <description>&lt;P&gt;Lots of good information here:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Logistic-regression-when-there-are-more-than-one-observation-for/td-p/620077" target="_blank"&gt;Logistic regression when there are more than one o... - SAS Support Communities&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 11:26:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-quot-proc-logistic-quot-with-some-subjects-having-more/m-p/808525#M81769</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-04-19T11:26:36Z</dc:date>
    </item>
  </channel>
</rss>

