I was able to produce a stratified Wilcoxon test, but I can't figure out if it is also possible to obtain stratified Hodges-Lehmann estimates for the location shift.
If that option is not available, I am not sure if it would make sense to compute it as a weighted sum of the location shift for each strata? I could not find any reference on that.
Program code:
proc npar1way data=input hl wilcoxon;
CLASS treatment;
VAR variable;
EXACT hl;
STRATA strat1 strat2 / wilcoxon;
run;
Thanks!
Calling @StatDave
Check this reference out (ASA members can get around the paywall):
https://www.tandfonline.com/doi/abs/10.1198/tast.2010.08121?journalCode=utas20
The authors cover the HL aligned rank test, with some adaptive testing schemes, and are quite pleased with the results.
SteveDenham
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.