<?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: Alternate to chi square for cases with multiple values in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637878#M30512</link>
    <description>&lt;P&gt;Is the order of treatments fixed? For instance, if a patient starts on A and is negative, is the next treatment always B?&amp;nbsp; Does the same apply if B is negative, would the next treatment be C?&amp;nbsp; If this is the case, you have a repeated measures design where you likely have structural zeroes (for instance, patient 4, which started with B, so that there is structural zero for that patient for treatment A).&amp;nbsp; If this all describes what you have, look at the first few examples in the PROC GEE documentation, and see whether the alternating logistic regression method might work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Mon, 06 Apr 2020 15:55:18 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2020-04-06T15:55:18Z</dc:date>
    <item>
      <title>Alternate to chi square for cases with multiple values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637647#M30499</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about choosing the correct statistical test for my analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to compare treatment characteristics between two groups. While normally I would use a chi square test for that analysis, some of the individuals in each group received more than one treatment type. Below I have included an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id&amp;nbsp; &amp;nbsp; &amp;nbsp;treatment&amp;nbsp; &amp;nbsp; &amp;nbsp;group&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; positive&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; positive&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; negative&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; positive&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; negative&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; negative&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both id 1 and 4 received more than one treatment type. So I am not sure if I can do chi square analysis comparing treatment between the two groups when some individuals have more than one treatment value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions for the proper test that I should use?&lt;/P&gt;</description>
      <pubDate>Sun, 05 Apr 2020 05:47:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637647#M30499</guid>
      <dc:creator>heretolearn</dc:creator>
      <dc:date>2020-04-05T05:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to chi square for cases with multiple values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637670#M30500</link>
      <description>&lt;P&gt;It is longitude data ,Why not using PROC GLIMMIX ?&lt;/P&gt;</description>
      <pubDate>Sun, 05 Apr 2020 10:50:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637670#M30500</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-04-05T10:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to chi square for cases with multiple values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637676#M30502</link>
      <description>&lt;P&gt;What hypothesis do you want to test?&lt;/P&gt;</description>
      <pubDate>Sun, 05 Apr 2020 12:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637676#M30502</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-05T12:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to chi square for cases with multiple values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637855#M30507</link>
      <description>&lt;P&gt;It is not clear from your description what is to be compared with respect to what. From the data sample, I have to guess that the positive/negative variable, GROUP, is the response and that you want to see if the treatments differ on the probability of being positive (or equivalently, of being negative). If so, then you can compare the treatments and take into account the correlation among repeated measurements on a person (ID) by fitting either a Generalized Estimating Equations (GEE) model using PROC GEE or GENMOD, or a random effects model using PROC GLIMMIX, or a conditional logistic model using PROC LOGISTIC. For example, the following statements fit a GEE model to compare the treatments on the binary response:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gee;
class ID treatment;
model group(event="positive") = treatment / dist=bin;
repeated subject=ID / type=exch;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Apr 2020 14:40:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637855#M30507</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-04-06T14:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate to chi square for cases with multiple values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637878#M30512</link>
      <description>&lt;P&gt;Is the order of treatments fixed? For instance, if a patient starts on A and is negative, is the next treatment always B?&amp;nbsp; Does the same apply if B is negative, would the next treatment be C?&amp;nbsp; If this is the case, you have a repeated measures design where you likely have structural zeroes (for instance, patient 4, which started with B, so that there is structural zero for that patient for treatment A).&amp;nbsp; If this all describes what you have, look at the first few examples in the PROC GEE documentation, and see whether the alternating logistic regression method might work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 15:55:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Alternate-to-chi-square-for-cases-with-multiple-values/m-p/637878#M30512</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-04-06T15:55:18Z</dc:date>
    </item>
  </channel>
</rss>

