bug ? wilcox() (PR#243)
Peter Dalgaard BSA
p.dalgaard@biostat.ku.dk
09 Aug 1999 18:45:39 +0200
ATurpin@discoveriesinsight.org writes:
> > 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
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) 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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._