BookmarkSubscribeRSS Feed
DIZJ
Calcite | Level 5

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!

2 REPLIES 2
SteveDenham
Jade | Level 19

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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 1011 views
  • 1 like
  • 3 in conversation