<?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 Fisher's exact test: p-value or 95% confidence limits in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Fisher-s-exact-test-p-value-or-95-confidence-limits/m-p/549195#M27425</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run proc freq to test association between two binary variables using the Fisher's exact test. However, the outputs seem contradict to each other as&amp;nbsp;&lt;STRONG&gt;Two-sided Pr &amp;lt;= P 0.0355 &lt;/STRONG&gt;whereas the OR and the 95% Confidence Limits 0.1097 &lt;STRONG&gt;[0.0118, 1.0170]&lt;/STRONG&gt; includes 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means that p-value shows that they are significantly associated while the 95% CI does not indicate that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is that based on the output from SAS, what should I use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code I used:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc freq data=final;
	Table var1* var2 / fisher or;
Run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 08 Apr 2019 07:31:36 GMT</pubDate>
    <dc:creator>trungdungtran</dc:creator>
    <dc:date>2019-04-08T07:31:36Z</dc:date>
    <item>
      <title>Fisher's exact test: p-value or 95% confidence limits</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fisher-s-exact-test-p-value-or-95-confidence-limits/m-p/549195#M27425</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run proc freq to test association between two binary variables using the Fisher's exact test. However, the outputs seem contradict to each other as&amp;nbsp;&lt;STRONG&gt;Two-sided Pr &amp;lt;= P 0.0355 &lt;/STRONG&gt;whereas the OR and the 95% Confidence Limits 0.1097 &lt;STRONG&gt;[0.0118, 1.0170]&lt;/STRONG&gt; includes 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means that p-value shows that they are significantly associated while the 95% CI does not indicate that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is that based on the output from SAS, what should I use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code I used:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc freq data=final;
	Table var1* var2 / fisher or;
Run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Apr 2019 07:31:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fisher-s-exact-test-p-value-or-95-confidence-limits/m-p/549195#M27425</guid>
      <dc:creator>trungdungtran</dc:creator>
      <dc:date>2019-04-08T07:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher's exact test: p-value or 95% confidence limits</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fisher-s-exact-test-p-value-or-95-confidence-limits/m-p/549571#M27432</link>
      <description>&lt;P&gt;Please post the results of the Fisher's Exact Test and Odds Ratio tables. In particular, I am curious about the size of your sample, I am guessing that you have a small sample.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Strictly speaking, what you describe is possible, but probably rare. Fisher's exact test is an exact p-value based on a combinatorial computation. It is most often used for small samples. The OR and RR results are asymptotic results. For small samples, they can deviate from the exact computation. The sampling distribution in small samples might not be well-approximated by the asymptotic distribution that is used to compute the p-value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding "what to use," use the exact test. However, IMHO a wiser course of action would be to collect more data.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 13:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fisher-s-exact-test-p-value-or-95-confidence-limits/m-p/549571#M27432</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-04-09T13:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher's exact test: p-value or 95% confidence limits</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fisher-s-exact-test-p-value-or-95-confidence-limits/m-p/561074#M27753</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;: Thank you for your reply and sorry for a late response from me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree with you that I have a small sample size as the contingency table is matrix(data=c(17, 31, 5, 1), nrow=2, ncol=2, byrow=FALSE).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the numbers in my first post are the exact number rather than&amp;nbsp;&lt;SPAN&gt;asymptotic&amp;nbsp;approximation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you see that I take p-value from the first table (last row) and the exact confidence limits from the last two rows of the last table (see attachment please). They are all exact as I understand correctly from the output of SAS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please see here an article talking about this problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://academic.oup.com/biostatistics/article/11/2/373/267728" target="_blank"&gt;https://academic.oup.com/biostatistics/article/11/2/373/267728&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 08:34:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fisher-s-exact-test-p-value-or-95-confidence-limits/m-p/561074#M27753</guid>
      <dc:creator>trungdungtran</dc:creator>
      <dc:date>2019-05-23T08:34:42Z</dc:date>
    </item>
  </channel>
</rss>

