<?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 sas hodges lehmann and confidence interval in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952128#M47641</link>
    <description>&lt;P&gt;Hello, I am using SAS and the "proc npar1way" procedure to compare two groups.&lt;/P&gt;&lt;P&gt;Using the code below, I was able to generate results, but in some cases, the Hodges-Lehmann estimate is displayed, while in others it is not. Why does this happen?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc npar1way data=A wilcoxon hl;
    class Group;
    var Value;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Nov 2024 11:42:29 GMT</pubDate>
    <dc:creator>sasinitialuser</dc:creator>
    <dc:date>2024-11-28T11:42:29Z</dc:date>
    <item>
      <title>sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952128#M47641</link>
      <description>&lt;P&gt;Hello, I am using SAS and the "proc npar1way" procedure to compare two groups.&lt;/P&gt;&lt;P&gt;Using the code below, I was able to generate results, but in some cases, the Hodges-Lehmann estimate is displayed, while in others it is not. Why does this happen?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc npar1way data=A wilcoxon hl;
    class Group;
    var Value;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 11:42:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952128#M47641</guid>
      <dc:creator>sasinitialuser</dc:creator>
      <dc:date>2024-11-28T11:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952148#M47644</link>
      <description>Is there any WARNING or ERROR information in your LOG ?&lt;BR /&gt;&lt;BR /&gt;Post your full LOG when your H-L is not displayed.</description>
      <pubDate>Fri, 29 Nov 2024 01:11:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952148#M47644</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-11-29T01:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952149#M47645</link>
      <description>&lt;P&gt;There is no warning.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other solution for this?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 03:27:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952149#M47645</guid>
      <dc:creator>sasinitialuser</dc:creator>
      <dc:date>2024-11-29T03:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952331#M47650</link>
      <description>&lt;P&gt;Hello, will you please post your full log for further diagnoses?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 20:50:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952331#M47650</guid>
      <dc:creator>tonya_sas</dc:creator>
      <dc:date>2024-12-02T20:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952496#M47654</link>
      <description>&lt;P&gt;A log appears saying that there is not enough memory.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 03:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952496#M47654</guid>
      <dc:creator>sasinitialuser</dc:creator>
      <dc:date>2024-12-04T03:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952537#M47656</link>
      <description>Hi, will you please reply with your PROC NPAR1WAY log that includes your code and generated messages.  Thank you</description>
      <pubDate>Wed, 04 Dec 2024 14:44:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952537#M47656</guid>
      <dc:creator>tonya_sas</dc:creator>
      <dc:date>2024-12-04T14:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952595#M47658</link>
      <description>&lt;P&gt;I can't copy the code because of the security of my data.&lt;/P&gt;&lt;P&gt;Below is the code I used and the log accordingly.&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=""&gt;proc npar1way data = aa wilcoxon hl (refclass = "2") median;
class group;
var cost;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=""&gt;warning: There is not enough memory available to compute Hodges-Lehmann estimates.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 03:41:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952595#M47658</guid>
      <dc:creator>sasinitialuser</dc:creator>
      <dc:date>2024-12-05T03:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952620#M47659</link>
      <description>&lt;P&gt;Run the following and tell us the sample size for each group:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=aa;
tables group;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The HL test is an all pairwise computation, so if the the groups are very large, the computation can be resource intensive. Knowing the sample sizes helps us assess the situation.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 11:41:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952620#M47659</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-12-05T11:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952705#M47666</link>
      <description>&lt;P&gt;The number of samples in each of the two groups is 9800.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please understand that the result of executing the code cannot be pasted as it is.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 03:52:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952705#M47666</guid>
      <dc:creator>sasinitialuser</dc:creator>
      <dc:date>2024-12-06T03:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952723#M47670</link>
      <description>&lt;P&gt;Here is simulated data that has 9800 observations in each group.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let n1 = 9800;
%let n2 = 9800;  /* 37 s */
data AA;
call streaminit(1234);
Group = 1;
do i = 1 to &amp;amp;n1;
   cost = rand("Normal", 1);
   output;
end;
Group=2;
do i = 1 to &amp;amp;n2;
   cost = rand("Exponential", log(2));
   output;
end;
run;

proc npar1way data = aa wilcoxon hl (refclass = "2") median;
   class group;
   var cost;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;On my old PC, it runs in about 35 seconds and does not give an error. Run this code on your system. Based on what you've said, I suspect you will see&lt;BR /&gt;&lt;STRONG&gt;WARNING: There is not enough memory available to compute Hodges-Lehmann estimates&lt;/STRONG&gt;&lt;BR /&gt;in the log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, run this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option=memsize value;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P data-unlink="true"&gt;The log reports the amount of RAM that SAS has available.&amp;nbsp;My guess is that your SAS process is using only 2GB of RAM. If you are running SAS on a PC, you can configure it to use more RAM by using the -MEMSIZE=8GB option to increase your available RAM. (See &lt;A href="https://blogs.sas.com/content/iml/2015/07/31/large-matrices.html" target="_self"&gt;"Changing the command-line invocation for SAS" section in this blog post&lt;/A&gt;.) If you are running SAS on a server, contact your SAS administrator and tell him/her that you need more RAM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 14:19:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952723#M47670</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-12-06T14:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: sas hodges lehmann and confidence interval</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952873#M47680</link>
      <description>&lt;P&gt;Thank you very much. I will give it a try.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2024 02:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-hodges-lehmann-and-confidence-interval/m-p/952873#M47680</guid>
      <dc:creator>sasinitialuser</dc:creator>
      <dc:date>2024-12-08T02:57:08Z</dc:date>
    </item>
  </channel>
</rss>

