Does anyone know of an implementation in R of the Hodges-Lehmann nonparametric difference between two groups? I am interested in the estimate of the difference and the CI or significance of that difference. I did some quick searching and didn't see it, but I may not have been looking for the right name, etc. Thanks, Sean
On Tue, 2006-03-14 at 14:07 -0500, Sean Davis wrote:> Does anyone know of an implementation in R of the Hodges-Lehmann > nonparametric difference between two groups? I am interested in the > estimate of the difference and the CI or significance of that difference. I > did some quick searching and didn't see it, but I may not have been looking > for the right name, etc. > > Thanks, > SeanSean, See the Details section of ?wilcox.test and/or the wilcox.exact() function in the exactRankTests CRAN package by Torsten Hothorn and Kurt Hornik. BTW: RSiteSearch("Hodges-Lehmann") would get you to both functions. HTH, Marc Schwartz
On Tue, 14 Mar 2006, Sean Davis wrote:> Does anyone know of an implementation in R of the Hodges-Lehmann > nonparametric difference between two groups? I am interested in the > estimate of the difference and the CI or significance of that difference. I > did some quick searching and didn't see it, but I may not have been looking > for the right name, etc. >wilcox.test() computes this. (I think it's false advertising to call something that assumes a location shift model "nonparametric") -thomas Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle
Seemingly Similar Threads
- Hodges-Lehmann EXACT confidence interval for small dataset with ties
- wilcox.test point estimates perverse (PR#1150)
- Base R wilcox.test gives incorrect answers, has been fixed in DescTools, solution can likely be ported to Base R
- The three routines in R that calculate the wilcoxon signed-rank test give different p-values.......which is correct?
- comparing segments of a time series