From ruz@nk|n @end|ng |rom m@th@n@c@ru  Mon Dec  9 03:10:10 2019
From: ruz@nk|n @end|ng |rom m@th@n@c@ru (Pavel S. Ruzankin)
Date: Mon, 9 Dec 2019 09:10:10 +0700
Subject: [Rd] Inconsistencies in wilcox.test
In-Reply-To: <20191207185536.b6cmmkzywwyuateq@PMW>
References: <20191207185536.b6cmmkzywwyuateq@PMW>
Message-ID: <df488fee-d28f-6e89-551b-f55e8060130e@math.nsc.ru>

I'd like to ask the developers to include some exact computation for 
ties into wilcox.test(). Just try

wilcox.test(c(1,1,5),c(10,11))

wilcox.test(c(1,2,5),c(10,11))

The p-values differ significantly.

But if I try

library(exactRankTests)

wilcox.exact(c(1,1,5),c(10,11))

wilcox.exact(c(1,2,5),c(10,11))

then the p-values coincide as expected. (R is used by many 
non-mathematicians/non-engineers who pay no attention at warnings.)



[Rd] Inconsistencies in wilcox.test
Pavel S. Ruzankin