Subject: Re: bug ? wilcox() (PR#243)
From: Peter Dalgaard BSA (email@example.com)
Date: Tue 10 Aug 1999 - 02:45:39 EST
> > Hi,
> > I am getting a strange result from the wilcox function in the code below.
> > This code has worked for many other wilcox's, but not this particular one.
> > The p-value printed should be much higher (consistent with the p-value
> > for the t-test).
> > I am using R Version 0.64.2 under Debian Linux.
> > I hope it is not me being stupid...
This *was* a bug in older versions of ctest. Your example has a huge
number of cases with x==y and the test was based on
STATISTIC <- sum(r[x > 0])
(x being x-y at that stage)
The current version at CRAN removes the zeros first...
-- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (firstname.lastname@example.org) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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: email@example.com _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:07 EST