Message-ID: <df488fee-d28f-6e89-551b-f55e8060130e@math.nsc.ru>
Date: 2019-12-09T02:10:10Z
From: Pavel S. Ruzankin
Subject: Inconsistencies in wilcox.test
In-Reply-To: <20191207185536.b6cmmkzywwyuateq@PMW>
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.)