<?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 WARNING: Computing exact p-values and memory in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/WARNING-Computing-exact-p-values-and-memory/m-p/768403#M37571</link>
    <description>&lt;P&gt;Dear Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a newbie here on the SAS platform. I am trying to calculate the exact p-values. While running the script, I am getting warnings&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: Computing exact p-values for this problem may require much time and memory. Press the&lt;BR /&gt;system interrupt key to terminate exact computations.&lt;BR /&gt;WARNING: There is not enough memory available to compute exact p-values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the output file, I can not see the exact p-values.&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;Exact Pr &amp;gt;= Chi-Square
&lt;TABLE cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code I am using is&lt;/P&gt;
&lt;P&gt;proc npar1way wilcoxon correct=no data=VRS;&lt;BR /&gt;class genotype;&lt;BR /&gt;var A1;&lt;BR /&gt;exact wilcoxon;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Few lines of the data structure are below (Excel sheets)&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;genotype&lt;/TD&gt;
&lt;TD&gt;A1&lt;/TD&gt;
&lt;TD&gt;A2&lt;/TD&gt;
&lt;TD&gt;A3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Pi&lt;/TD&gt;
&lt;TD&gt;1.6092&lt;/TD&gt;
&lt;TD&gt;9.4472&lt;/TD&gt;
&lt;TD&gt;10.3580&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Pi&lt;/TD&gt;
&lt;TD&gt;1.5242&lt;/TD&gt;
&lt;TD&gt;6.9565&lt;/TD&gt;
&lt;TD&gt;7.8193&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Pi&lt;/TD&gt;
&lt;TD&gt;1.7642&lt;/TD&gt;
&lt;TD&gt;10.9033&lt;/TD&gt;
&lt;TD&gt;12.1278&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will be pleased with the help I get.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seema&lt;/P&gt;</description>
    <pubDate>Mon, 20 Sep 2021 07:46:01 GMT</pubDate>
    <dc:creator>sahayseema47</dc:creator>
    <dc:date>2021-09-20T07:46:01Z</dc:date>
    <item>
      <title>WARNING: Computing exact p-values and memory</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/WARNING-Computing-exact-p-values-and-memory/m-p/768403#M37571</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a newbie here on the SAS platform. I am trying to calculate the exact p-values. While running the script, I am getting warnings&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: Computing exact p-values for this problem may require much time and memory. Press the&lt;BR /&gt;system interrupt key to terminate exact computations.&lt;BR /&gt;WARNING: There is not enough memory available to compute exact p-values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the output file, I can not see the exact p-values.&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;Exact Pr &amp;gt;= Chi-Square
&lt;TABLE cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code I am using is&lt;/P&gt;
&lt;P&gt;proc npar1way wilcoxon correct=no data=VRS;&lt;BR /&gt;class genotype;&lt;BR /&gt;var A1;&lt;BR /&gt;exact wilcoxon;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Few lines of the data structure are below (Excel sheets)&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;genotype&lt;/TD&gt;
&lt;TD&gt;A1&lt;/TD&gt;
&lt;TD&gt;A2&lt;/TD&gt;
&lt;TD&gt;A3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Pi&lt;/TD&gt;
&lt;TD&gt;1.6092&lt;/TD&gt;
&lt;TD&gt;9.4472&lt;/TD&gt;
&lt;TD&gt;10.3580&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Pi&lt;/TD&gt;
&lt;TD&gt;1.5242&lt;/TD&gt;
&lt;TD&gt;6.9565&lt;/TD&gt;
&lt;TD&gt;7.8193&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Pi&lt;/TD&gt;
&lt;TD&gt;1.7642&lt;/TD&gt;
&lt;TD&gt;10.9033&lt;/TD&gt;
&lt;TD&gt;12.1278&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will be pleased with the help I get.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seema&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 07:46:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/WARNING-Computing-exact-p-values-and-memory/m-p/768403#M37571</guid>
      <dc:creator>sahayseema47</dc:creator>
      <dc:date>2021-09-20T07:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: WARNINGS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/WARNING-Computing-exact-p-values-and-memory/m-p/768412#M37572</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/398682"&gt;@sahayseema47&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Dear Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a newbie here on the SAS platform. I am trying to calculate the exact p-values. While running the script, I am getting warnings&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: Computing exact p-values for this problem may require much time and memory. Press the&lt;BR /&gt;system interrupt key to terminate exact computations.&lt;BR /&gt;WARNING: There is not enough memory available to compute exact p-values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the output file, I can not see the exact p-values.&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;Exact Pr &amp;gt;= Chi-Square
&lt;TABLE cellspacing="0" cellpadding="5"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code I am using is&lt;/P&gt;
&lt;P&gt;proc npar1way wilcoxon correct=no data=VRS;&lt;BR /&gt;class genotype;&lt;BR /&gt;var A1;&lt;BR /&gt;exact wilcoxon;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Few lines of the data structure are below (Excel sheets)&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;genotype&lt;/TD&gt;
&lt;TD&gt;A1&lt;/TD&gt;
&lt;TD&gt;A2&lt;/TD&gt;
&lt;TD&gt;A3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Pi&lt;/TD&gt;
&lt;TD&gt;1.6092&lt;/TD&gt;
&lt;TD&gt;9.4472&lt;/TD&gt;
&lt;TD&gt;10.3580&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Pi&lt;/TD&gt;
&lt;TD&gt;1.5242&lt;/TD&gt;
&lt;TD&gt;6.9565&lt;/TD&gt;
&lt;TD&gt;7.8193&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Pi&lt;/TD&gt;
&lt;TD&gt;1.7642&lt;/TD&gt;
&lt;TD&gt;10.9033&lt;/TD&gt;
&lt;TD&gt;12.1278&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will be pleased with the help I get.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seema&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Since the second warning says that your system does not have enough memory to compute exact p-values you should not be surprised the exact is not in the output.&lt;/P&gt;
&lt;P&gt;You don't say how many records you have in your data but some computations with many records take &lt;STRONG&gt;a lot of memory&lt;/STRONG&gt;. The first warning SAS tells you that. The second means that with that data set, those options and that variable (likely others as well) you will need to drop the requirement for exact to get usable output.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2021 06:29:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/WARNING-Computing-exact-p-values-and-memory/m-p/768412#M37572</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-09-18T06:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: WARNINGS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/WARNING-Computing-exact-p-values-and-memory/m-p/768422#M37573</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/398682"&gt;@sahayseema47&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Exact statistics" as an activity is extremely resource intensive,&amp;nbsp;which is not surprising if you know how exact statistics work.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/rnd/app/stat/topics/exact-methods.html" target="_blank"&gt;https://support.sas.com/rnd/app/stat/topics/exact-methods.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But why are you doing an exact test? The word 'exact' is&amp;nbsp;tempting of course, but you should only work 'exact' if&amp;nbsp;&lt;SPAN&gt;asymptotic methods&amp;nbsp;don't work (because of unmet assumptions).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So first, try to find out if you really need exact statistics.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If yes, and exact tests do not give you output (because of lack of resources), you can:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;&lt;SPAN&gt;raise the memory (memsize option)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;make a model (instead of doing a mere hypothesis test) ... the model-approach is very flexible and versatile.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;approximate the exact results by techniques like bootstrapping, Monte Carlo Simulation and so on.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Last ... there's also a software package that specializes&amp;nbsp;in exact statistics and optimal CPU / memory management therefore. This software package is based on SAS, but is not developed nor&amp;nbsp;marketed by SAS.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Sep 2021 14:49:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/WARNING-Computing-exact-p-values-and-memory/m-p/768422#M37573</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-09-18T14:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: WARNINGS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/WARNING-Computing-exact-p-values-and-memory/m-p/768453#M37579</link>
      <description>Yes. Exact test would cost you lots and lots of resource .&lt;BR /&gt;But you could try to&lt;BR /&gt;requests Monte Carlo estimation of exact p-values instead of direct exact p-value computation.&lt;BR /&gt;&lt;BR /&gt;Check option MC and MAXTIME= of EXACT statement .</description>
      <pubDate>Sun, 19 Sep 2021 11:17:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/WARNING-Computing-exact-p-values-and-memory/m-p/768453#M37579</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-09-19T11:17:52Z</dc:date>
    </item>
  </channel>
</rss>

