[R] Wilcoxon Test

Tripoli Massimiliano M.Tripoli at aifa.gov.it
Fri Apr 21 14:37:19 CEST 2017


Dear R users,
Why the result of Wilcoxon sum rank test by R is different from sas 

https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_npar1way_sect022.htm

The code is next:

sampleA <- c(1.94, 1.94, 2.92, 2.92, 2.92, 2.92, 3.27, 3.27, 3.27, 3.27, 
        3.7, 3.7, 3.74)

sampleB <- c(3.27, 3.27, 3.27, 3.7, 3.7, 3.74)
wilcox.test(A,B,paired = F)


Thanks in advance



More information about the R-help mailing list