Re: [Rd] Error from wilcox.test

2008-01-02 Thread Prof Brian Ripley
On Wed, 2 Jan 2008, Prof Brian Ripley wrote: > Try exact = TRUE: the default switches to a normal approximation that will > not be adequate in your extreme example. I've modified the code in R-devel to give an answer in such extreme cases, but note that the p-value is pretty inaccurate, and so i

Re: [Rd] Error from wilcox.test

2008-01-01 Thread Prof Brian Ripley
Try exact = TRUE: the default switches to a normal approximation that will not be adequate in your extreme example. On Tue, 1 Jan 2008, Wolfgang Huber wrote: > When one of the two groups has only one member and the other one more > than 49, wilcox.test will exit with the below error message, > >

[Rd] Error from wilcox.test

2008-01-01 Thread Wolfgang Huber
When one of the two groups has only one member and the other one more than 49, wilcox.test will exit with the below error message, n=51; wilcox.test(1:n ~ 1:n==1, conf.int=TRUE) Error in uniroot(wdiff, c(mumin, mumax), tol = 1e-04, zq = qnorm(alpha/2, : f() values at end points not of o