Carrie Li
2010-Feb-05 07:22 UTC
[R] Hodges-Lehmann EXACT confidence interval for small dataset with ties
Dear r-helpers, I have a small dataset (n<50), and I want to compute the Hodges Lehmann exact confidence interval. So far, I know that "pairwiseCI" has the function "HL.diff". The description is as follows : HL.diff calculates the Hodges-Lehmann confidence interval for the difference of locations by calling wilcox.exact in package exactRankTests ; But when I check wilcox.exact, it says " an exact p-value is computed if the samples contain less than 50 finite values and there are no ties " However, there are many ties in the dataset, so is there any other way I can compute the exact CI for a small dataset even with ties? Any help is highly appreciated!!! Carrie. [[alternative HTML version deleted]]
Frank E Harrell Jr
2010-Feb-05 14:11 UTC
[R] Hodges-Lehmann EXACT confidence interval for small dataset with ties
Carrie Li wrote:> Dear r-helpers, > > I have a small dataset (n<50), and I want to compute the Hodges Lehmann > exact confidence interval. > So far, I know that "pairwiseCI" has the function "HL.diff". The description > is as follows : > > HL.diff calculates the Hodges-Lehmann confidence interval for the difference > of locations by calling wilcox.exact in package exactRankTests ; > > But when I check wilcox.exact, it says > " an exact p-value is computed if the samples contain less than 50 finite > values and there are no ties " > However, there are many ties in the dataset, so is there any other way I can > compute the exact CI for a small dataset even with ties? > > Any help is highly appreciated!!! > > Carrie.See http://biostat.mc.vanderbilt.edu/WilcoxonSoftware -- Frank E Harrell Jr Professor and Chairman School of Medicine Department of Biostatistics Vanderbilt University
Seemingly Similar Threads
- Hodges-lehmann test and CI/significance
- 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
- Errors in wilcox family functions
- exact Wilcoxon signed rank test with ties and the "no longer under development" exactRanksumTests package