<?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 Proc NPAR1WAY Wilcoxon Ranked Sum Test Continually Runs/Never Ends in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-NPAR1WAY-Wilcoxon-Ranked-Sum-Test-Continually-Runs-Never/m-p/611731#M29617</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the below code SAS continually "runs" and I don't seem to ever get an output despite waiting over 10 minutes. My dataset has under 200 observations so I can't imagine that processing power is the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc NPAR1WAY data=mvrx19.master wilcoxon correct=no;&lt;BR /&gt;title "compare PSS Medians by FI status";&lt;BR /&gt;class FI_1;&lt;BR /&gt;var PSS4NS_1 PSS10NS_1;&lt;BR /&gt;where psurvey1 ne '.'d;&lt;BR /&gt;exact wilcoxon;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried taking out "Exact wilcoxon" which fixed this issue, but wondering why I couldn't get output when including it, and would like to have the option of generating exact p values.&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;I am running SAS University Edition with 6 GB RAM dedicated for the virtual Machine.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2019 21:17:40 GMT</pubDate>
    <dc:creator>JackHP</dc:creator>
    <dc:date>2019-12-13T21:17:40Z</dc:date>
    <item>
      <title>Proc NPAR1WAY Wilcoxon Ranked Sum Test Continually Runs/Never Ends</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-NPAR1WAY-Wilcoxon-Ranked-Sum-Test-Continually-Runs-Never/m-p/611731#M29617</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the below code SAS continually "runs" and I don't seem to ever get an output despite waiting over 10 minutes. My dataset has under 200 observations so I can't imagine that processing power is the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc NPAR1WAY data=mvrx19.master wilcoxon correct=no;&lt;BR /&gt;title "compare PSS Medians by FI status";&lt;BR /&gt;class FI_1;&lt;BR /&gt;var PSS4NS_1 PSS10NS_1;&lt;BR /&gt;where psurvey1 ne '.'d;&lt;BR /&gt;exact wilcoxon;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried taking out "Exact wilcoxon" which fixed this issue, but wondering why I couldn't get output when including it, and would like to have the option of generating exact p values.&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;I am running SAS University Edition with 6 GB RAM dedicated for the virtual Machine.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 21:17:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-NPAR1WAY-Wilcoxon-Ranked-Sum-Test-Continually-Runs-Never/m-p/611731#M29617</guid>
      <dc:creator>JackHP</dc:creator>
      <dc:date>2019-12-13T21:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Proc NPAR1WAY Wilcoxon Ranked Sum Test Continually Runs/Never Ends</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-NPAR1WAY-Wilcoxon-Ranked-Sum-Test-Continually-Runs-Never/m-p/611749#M29618</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298893"&gt;@JackHP&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wouldn't rule out that the computation of the two exact tests takes a long time. (There's a reason why the MAXTIME= option of the EXACT statement exists; see&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_npar1way_syntax04.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en#statug_npar1way001004" target="_blank" rel="noopener"&gt;Computation Options&lt;/A&gt;.) To estimate the time needed I would restrict the input dataset using a suitable (extended) WHERE condition or an OBS= dataset option or by drawing random samples so as to use only, say, 10, 20, 40, ... observations and see how the run times increase. Of course, both FI_1 values must be represented in each of these smaller datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, if the extrapolated run time for the full dataset was inacceptable, I would use the MC option of the EXACT statement (after a slash, see link above) and as long as the run times are tolerable add the N= option (MC is then redundant) with increasing values &lt;EM&gt;n&lt;/EM&gt;&amp;gt;10000 (the default). You'll observe that the confidence limits of the exact p-values tend to get narrower as &lt;EM&gt;n&lt;/EM&gt; increases. (As random variables they fluctuate even between runs of the same code, unless you use the SEED= option.) Finally, the Monte Carlo estimate with the largest tolerable &lt;EM&gt;n&lt;/EM&gt; value might be the best estimate of the exact p-value that you can reasonably get.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 22:17:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-NPAR1WAY-Wilcoxon-Ranked-Sum-Test-Continually-Runs-Never/m-p/611749#M29618</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-12-13T22:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proc NPAR1WAY Wilcoxon Ranked Sum Test Continually Runs/Never Ends</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-NPAR1WAY-Wilcoxon-Ranked-Sum-Test-Continually-Runs-Never/m-p/613258#M29644</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your detailed response and suggestions. I will take a look at restricting my sample to get an idea of processing time for smaller samples to extrapolate the run time for the whole sample - great idea! I appreciate your explanation and links to these resources, it is very helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 15:42:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-NPAR1WAY-Wilcoxon-Ranked-Sum-Test-Continually-Runs-Never/m-p/613258#M29644</guid>
      <dc:creator>JackHP</dc:creator>
      <dc:date>2019-12-20T15:42:02Z</dc:date>
    </item>
  </channel>
</rss>

