<?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: FIsher's exact pairwise comparison in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/FIsher-s-exact-pairwise-comparison/m-p/351346#M63920</link>
    <description>&lt;P&gt;Provide some example data and the research question. Fisher has more than one test.&lt;/P&gt;
&lt;P&gt;But I might guess that you want proc freq with an Exact statement and the Fisher option. You may need to make sure your data is in the correct structure.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2017 15:41:29 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-04-19T15:41:29Z</dc:date>
    <item>
      <title>FIsher's exact pairwise comparison</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/FIsher-s-exact-pairwise-comparison/m-p/351339#M63918</link>
      <description>&lt;P&gt;Does anyone know how to do the pairwise comparison for Fisher's exact test?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Momi&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 15:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/FIsher-s-exact-pairwise-comparison/m-p/351339#M63918</guid>
      <dc:creator>momi</dc:creator>
      <dc:date>2017-04-19T15:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: FIsher's exact pairwise comparison</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/FIsher-s-exact-pairwise-comparison/m-p/351346#M63920</link>
      <description>&lt;P&gt;Provide some example data and the research question. Fisher has more than one test.&lt;/P&gt;
&lt;P&gt;But I might guess that you want proc freq with an Exact statement and the Fisher option. You may need to make sure your data is in the correct structure.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 15:41:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/FIsher-s-exact-pairwise-comparison/m-p/351346#M63920</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-19T15:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: FIsher's exact pairwise comparison</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/FIsher-s-exact-pairwise-comparison/m-p/351415#M63925</link>
      <description>&lt;TABLE style="border-collapse: collapse; width: 192pt;" width="256" border="0" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" span="4" width="64" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD class="xl63" style="height: 15.0pt; width: 48pt;" height="20" width="64"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD class="xl63" style="border-left: none; width: 48pt;" width="64"&gt;group1&lt;/TD&gt;
&lt;TD class="xl63" style="border-left: none; width: 48pt;" width="64"&gt;gorup2&lt;/TD&gt;
&lt;TD class="xl63" style="border-left: none; width: 48pt;" width="64"&gt;goup3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD class="xl63" style="height: 15.0pt; border-top: none;" height="20"&gt;A&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;7&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;6&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;11&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD class="xl63" style="height: 15.0pt; border-top: none;" height="20"&gt;B&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;3&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;3&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD class="xl63" style="height: 15.0pt; border-top: none;" height="20"&gt;C&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;15&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;1&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD class="xl63" style="height: 15.0pt; border-top: none;" height="20"&gt;D&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;0&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;0&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD class="xl63" style="height: 15.0pt; border-top: none;" height="20"&gt;E&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;13&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;8&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;14&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD class="xl63" style="height: 15.0pt; border-top: none;" height="20"&gt;F&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;10&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;2&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;" align="right"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the data.&amp;nbsp; All caterogires are nominal. According to the Fisher's exact test, there is a siginificant relashionship between the gorups and the categories A - F.&amp;nbsp;&amp;nbsp; Unfortunaly, I can not provide the actual measurement. (Does this matter?)&amp;nbsp; I was wondering if it would be possible to the pari comparisons of these.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Momi&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 18:19:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/FIsher-s-exact-pairwise-comparison/m-p/351415#M63925</guid>
      <dc:creator>momi</dc:creator>
      <dc:date>2017-04-19T18:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: FIsher's exact pairwise comparison</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/FIsher-s-exact-pairwise-comparison/m-p/351535#M63939</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile cards expandtabs truncover;
input name $ group1	group2	group3;
cards;
A	7	6	11
B	3	3	6
C	15	1	7
D	0	0	4
E	13	8	14
F	10	2	3
;
proc transpose data=have out=want ;
by name;
var group1-group3;
run;

proc freq data=want;
 weight col1;
 tables name*_name_/chisq;
 exact fisher /mc n=1000000;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you can remove 'mc n=100000' to get the right fisher test,but that &amp;nbsp;will cost you lots of time.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; Monte Carlo Estimate for the Exact Test&lt;/P&gt;
&lt;P&gt;Pr &amp;lt;= P 0.0375&lt;BR /&gt; 99% Lower Conf Limit 0.0370&lt;BR /&gt; 99% Upper Conf Limit 0.0380&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;therefore, category and group are not independent under alpha=0.05 .&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 03:59:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/FIsher-s-exact-pairwise-comparison/m-p/351535#M63939</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-04-20T03:59:16Z</dc:date>
    </item>
  </channel>
</rss>

