<?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 Exact Test Corrections in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/648183#M194112</link>
    <description>&lt;P&gt;That's very helpful, thank you. I read through the documentation link you posted and saw that the correction is more helpful with smaller sample sizes (like mine). In that case, I'm assuming that the correction is automatically enabled. Since I have a small sample size, would you recommend sticking with a Fisher test?&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 22:01:22 GMT</pubDate>
    <dc:creator>e_miller</dc:creator>
    <dc:date>2020-05-15T22:01:22Z</dc:date>
    <item>
      <title>Fisher Exact Test Corrections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/646561#M193454</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a Fisher Exact Test and wanted to ensure that corrections were disabled. I read &lt;A href="https://support.sas.com/documentation/onlinedoc/stat/131/freq.pdf" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;piece of documentation but could not find the default corrections or how to disable them for Fisher (if they are even applied by default).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone clarify the default corrections for Fisher (or chi-square test) and how to disable them?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 01:32:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/646561#M193454</guid>
      <dc:creator>e_miller</dc:creator>
      <dc:date>2020-05-11T01:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher Exact Test Corrections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/646567#M193455</link>
      <description>&lt;P&gt;Fisher's exact test doesn't include any corrections.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Documentation is here:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_freq_details08.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en#statug.freq.freqfisher" target="_self"&gt;Fisher's Exact Test&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_freq_details106.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;Exact Statistics&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_freq_syntax08.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en#statug.freq.freqchisqopt" target="_self"&gt;CHISQ&lt;/A&gt; option in PROC FREQ produces several chi-square tests and statistics.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information, see the documentation here:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_freq_details08.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;Chi-Square Tests and Statistics&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 02:27:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/646567#M193455</guid>
      <dc:creator>Watts</dc:creator>
      <dc:date>2020-05-11T02:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher Exact Test Corrections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/646712#M193490</link>
      <description>&lt;P&gt;Show the code you used, or the code generated.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 14:21:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/646712#M193490</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-05-11T14:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher Exact Test Corrections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/646856#M193543</link>
      <description>&lt;P&gt;It's a simple proc freq statement, shown below:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc freq data = newSet;
	tables var1*var2 / expected fisher;
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 May 2020 19:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/646856#M193543</guid>
      <dc:creator>e_miller</dc:creator>
      <dc:date>2020-05-11T19:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher Exact Test Corrections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/647955#M193969</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just wanted to post a followup and ask about Yate's corrections in chi-square tests. I see in &lt;A href="https://online.stat.psu.edu/stat504/node/74/" target="_self"&gt;this post&lt;/A&gt;&amp;nbsp;and this other &lt;A href="https://communities.sas.com/t5/SAS-Procedures/Yates-correction/td-p/334618" target="_self"&gt;sas forum post&lt;/A&gt;&amp;nbsp;that the continuity correction is included as a different value ('Continuity Adj. Chi-Square').&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I run my tests in sas 9.4, I see the all of the same chi-square values&amp;nbsp;&lt;STRONG&gt;except&amp;nbsp;&lt;/STRONG&gt;for the continuity chi-square value. I wanted to see whether sas9.4 included Yate's correction by default or if I need an additional option to enable it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 02:02:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/647955#M193969</guid>
      <dc:creator>e_miller</dc:creator>
      <dc:date>2020-05-15T02:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher Exact Test Corrections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/648037#M194026</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_freq_syntax08.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en#statug.freq.freqchisqopt" target="_self"&gt;CHISQ&lt;/A&gt;&amp;nbsp;option in the TABLES statement (in PROC FREQ) produces several chi-square tests and measures, which include the continuity-adjusted chi-square for 2x2 tables. You don't need to specify a separate/additional option to request the continuity-adjusted chi-square.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC FREQ computes the continuity-adjusted chi-square by using the Yates (1934) correction. For details, see the subsection "Continuity-Adjusted Chi-Square Test" in the section&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_freq_details08.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;Chi-Square Tests and Statistics&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This correction (Yates 1934) was developed to improve the chi-square approximation for 2x2 contingency tables in which the sample sizes (cell expected frequencies) are small. Generally speaking, continuity corrections are not heavily used these days for contingency tables because exact tests are now available.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For 2x2 tables, Fisher's exact test is automatically produced by the CHISQ option. For larger tables, you can request Fisher's exact test (and other exact chi-square tests) by using the&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_freq_syntax03.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;EXACT&lt;/A&gt;&amp;nbsp;statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 13:52:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/648037#M194026</guid>
      <dc:creator>Watts</dc:creator>
      <dc:date>2020-05-15T13:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher Exact Test Corrections</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/648183#M194112</link>
      <description>&lt;P&gt;That's very helpful, thank you. I read through the documentation link you posted and saw that the correction is more helpful with smaller sample sizes (like mine). In that case, I'm assuming that the correction is automatically enabled. Since I have a small sample size, would you recommend sticking with a Fisher test?&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 22:01:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fisher-Exact-Test-Corrections/m-p/648183#M194112</guid>
      <dc:creator>e_miller</dc:creator>
      <dc:date>2020-05-15T22:01:22Z</dc:date>
    </item>
  </channel>
</rss>

