[R] wilcox.test returning 'NA' p-value

2009-11-05 Thread Ambar Amarelo
Hi folks, sorry for this beginner question but what means a p-value = NA on a menn-whitney test? v1 - c(0.022, 0.022, 0.022, 0.022, 0.022, 0.022) v2 - c(0.022, 0.022, 0.022, 0.022, 0.022) wilcox.test(v1, v2, PAIRED=FALSE) W = 15, p-value = NA I know that there's no statistical difference

Re: [R] wilcox.test returning 'NA' p-value

2009-11-05 Thread Ista Zahn
Hi Ambar, v1 and v2 are constants. they need to be variables. try e.g., v1 - c(0.021, 0.022, 0.022, 0.022, 0.022, 0.022) v2 - c(0.021, 0.022, 0.022, 0.022, 0.022) wilcox.test(v1, v2, PAIRED=FALSE) -Ista On Thu, Nov 5, 2009 at 7:23 PM, Ambar Amarelo ambar.amar...@gmail.com wrote: Hi folks,

Re: [R] wilcox.test returning 'NA' p-value

2009-11-05 Thread Peter Ehlers
Ambar Amarelo wrote: Hi folks, sorry for this beginner question but what means a p-value = NA on a menn-whitney test? v1 - c(0.022, 0.022, 0.022, 0.022, 0.022, 0.022) v2 - c(0.022, 0.022, 0.022, 0.022, 0.022) wilcox.test(v1, v2, PAIRED=FALSE) W = 15, p-value = NA I know that there's no