Skip to content
Prev 199404 / 398503 Next

wilcox.test returning 'NA' p-value

Ambar Amarelo wrote:
You probably can, but so what? I realize that p-value obsession
is rampant, but sometimes it's actually best to study the data.

You can always check for the sort of pathological case you're
interested in before passing data to wilcox.test(), using, say,
diff() or rle() on your vectors.

You might also find the error messages in coin::wilcox_test()
more informative.
Yes, but my point was that R is case-sensitive;
"paired" != "PAIRED"

  -Peter Ehlers