[R] wilcox.test and ties

kjetil halvorsen kjetilh at umsanet.edu.bo
Fri Jul 19 17:20:02 CEST 2002



"Swanepoel, Christiaan Edward" wrote:
> 
> Hello,
> 
> when performing the wilcox.test on a sample (n=100) with the following frequency distribution:
> Value   |       Frequency
> ----------------------------------------
> 0       |       10
> 0.1     |       88
> 1       |       1
> 2.6     |       1
> 
> I get the following error message:
> 
> Error in uniroot(wdiff, c(mumin, mumax), tol = 1e-04, zq = qnorm(alpha/2,  :
>         f() values at end points not of opposite sign
> 
> The error only occurs when I specify that the confidence interval should be computed.
> 
> Could anybody suggest how I can compute the confidence interval for this sample? Is the problem connected with the large number of ties and if so, how can I handle these ties?

You could look inti the package exactRankTests.

Kjetil Halvorsen

> 
> Thanks in advance.
> 
> Regards
> Chris
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list