[R] Wilcoxon test p value with one decimal place

Bert Gunter gunter.berton at gene.com
Thu Feb 16 19:35:36 CET 2012


On Thu, Feb 16, 2012 at 10:15 AM, Jun Shen <jun.shen.ut at gmail.com> wrote:
> Dear list,
>
> Let's say I have data
>
>  a=c(37.961,38.214,57.68)
>  b=c(77.56,61.875,67.683)
>
> wilcox.test(a,b)
>
> the wilcoxon test only gives me a p value with one decimal place. Is this
> normal?

No, it's discrete  :-)

(Actually, that's the answer. Read up on the Mann-Whitney test to see why).

-- Bert

Thanks.
>
> Jun
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



More information about the R-help mailing list