bfeed=c(0,0,0,0,0,1,1,1,2,2,2,3,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,7,7,7,8,8,8,8,8,9,11,11,11,12,14,15) marms=c(3,7,9,9,9,9,10,10,10,10,10,11,11,11,11,11,11,12,12,12,13,13,13,13,13,13,13,14,14,14,14,14,15,15,15,15,15,16,16,17,17,17,17,18,18) wilcox.test(bfeed,marms,conf.int=TRUE)

Gives something like this:

Wilcoxon rank sum test data: bfeed and marms W = 158, p-value = 7.866e-12 alternative hypothesis: true mu is not equal to 0 95 percent confidence interval: -9.000012 -6.000045 sample estimates: difference in location -7.999997 Warning messages: 1: cannot compute exact p-value with ties in:wilcox.test.default(bfeed, marms, conf.int = TRUE, correct = FALSE) 2: cannot compute exact confidence intervals with ties in: wilcox.test.default(bfeed, marms, conf.int = TRUE, correct = FALSE) >

Except where otherwise specified, all text and images on this page are copyright InfluentialPoints, all rights reserved. Images not copyright InfluentialPoints credit their source on web-pages attached via hypertext links from those images.