[R] Hodges-Lehmann EXACT confidence interval for small dataset with ties

Frank E Harrell Jr f.harrell at Vanderbilt.Edu
Fri Feb 5 15:11:59 CET 2010


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



More information about the R-help mailing list