[R] wilcox.test and ties

Swanepoel, Christiaan Edward christiaan.edward.swanepoel at sap.com
Fri Jul 19 15:16:58 CEST 2002


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?

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list