Hello, I am using SAS and the "proc npar1way" procedure to compare two groups.
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?
proc npar1way data=A wilcoxon hl;
class Group;
var Value;
run;
There is no warning.
Is there any other solution for this?
Hello, will you please post your full log for further diagnoses?
Thank you
A log appears saying that there is not enough memory.
I can't copy the code because of the security of my data.
Below is the code I used and the log accordingly.
proc npar1way data = aa wilcoxon hl (refclass = "2") median;
class group;
var cost;
run;
warning: There is not enough memory available to compute Hodges-Lehmann estimates.
Run the following and tell us the sample size for each group:
proc freq data=aa;
tables group;
run;
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.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.