[Rd] small bug in ansari.test

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Mar 29 21:49:35 CEST 2007


On Thursday 29 March 2007 21:39, Thomas Friedrichsmeier wrote:
> The help page for ansari.test() says (emphasis added):
>
> 	By default (if exact is not specified), an exact p-value is computed if
> both samples contain less than 50 finite values **and there are no ties**.
> Otherwise, a normal approximation is used.
>
> However, this does not appear to be the case in R 2.4.1 or R 2.5.0.

Well, to be precise, the exact p-value really isn't computed in this case, but 
there's still the warning, as though exact=TRUE had been specified, which I 
don't believe is intended.

Regards
Thomas Friedrichsmeier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-devel/attachments/20070329/1e62cf91/attachment.bin 


More information about the R-devel mailing list