<?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 - Taking long to run - 4x4 table with greater than 1000 sample size in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874734#M38827</link>
    <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code has been running for 45 min now.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My code is:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC FREQ DATA = Dataset;
TABLES Variable1*variable2/ FISHER;
RUN; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 May 2023 19:55:15 GMT</pubDate>
    <dc:creator>varatt90</dc:creator>
    <dc:date>2023-05-09T19:55:15Z</dc:date>
    <item>
      <title>Fisher's - Taking long to run - 4x4 table with greater than 1000 sample size</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874731#M38825</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to run a fisher's test, as I have some cells with less than 5 counts, but my sample size is 6,000. As a result, the time to run the code is taking long.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there another test I could use or should I just wait it out?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 19:35:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874731#M38825</guid>
      <dc:creator>varatt90</dc:creator>
      <dc:date>2023-05-09T19:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher's - Taking long to run - 4x4 table with greater than 1000 sample size</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874733#M38826</link>
      <description>&lt;P&gt;How long is "long"?&lt;/P&gt;
&lt;P&gt;Can you share the code that you are currently running? There are multiple procedures that use Fisher's test so we really need to know which one you are using.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 19:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874733#M38826</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-09T19:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher's - Taking long to run - 4x4 table with greater than 1000 sample size</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874734#M38827</link>
      <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code has been running for 45 min now.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My code is:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC FREQ DATA = Dataset;
TABLES Variable1*variable2/ FISHER;
RUN; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 19:55:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874734#M38827</guid>
      <dc:creator>varatt90</dc:creator>
      <dc:date>2023-05-09T19:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher's - Taking long to run - 4x4 table with greater than 1000 sample size</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874740#M38828</link>
      <description>&lt;P&gt;It's always a good idea, highly recommended, to read the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_freq_syntax08.htm#statug.freq.freqexactopt" target="_self"&gt;documentation&lt;/A&gt;&amp;nbsp;which says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;/SPAN&gt;: PROC FREQ computes exact tests by using fast and efficient algorithms that are superior to direct enumeration. Exact tests are appropriate when a data set is small, sparse, skewed, or heavily tied. For some large problems, computation of exact tests might require a substantial amount of time and memory. Consider using asymptotic tests for such problems. Alternatively, when asymptotic methods might not be sufficient for such large problems, consider using Monte Carlo estimation of exact &lt;SPAN class=" aa-mathtext"&gt;p&lt;/SPAN&gt;-values. You can request Monte Carlo estimation by specifying the &lt;A tabindex="0" href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_freq_syntax03.htm#statug.freq.freqmc" target="_blank" rel="noopener"&gt;MC&lt;/A&gt; &lt;SPAN class=" aa-argument"&gt;computation-option&lt;/SPAN&gt; in the EXACT statement. See the section &lt;A tabindex="0" href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_freq_details106.htm#statug.freq.freqcompres" target="_blank" rel="noopener"&gt;Computational Resources&lt;/A&gt; for more information.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 09 May 2023 20:33:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874740#M38828</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-05-09T20:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Fisher's - Taking long to run - 4x4 table with greater than 1000 sample size</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874745#M38830</link>
      <description>&lt;P&gt;Thank you, that worked! If anyone else is wondering, I was able to produce the F-test using the code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC FREQ DATA = dataset;&lt;BR /&gt;TABLES variable1*variable2;&lt;BR /&gt;EXACT FISHER/ MC;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 20:40:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Fisher-s-Taking-long-to-run-4x4-table-with-greater-than-1000/m-p/874745#M38830</guid>
      <dc:creator>varatt90</dc:creator>
      <dc:date>2023-05-09T20:40:14Z</dc:date>
    </item>
  </channel>
</rss>

