search for: g2f

Displaying 1 result from an estimated 1 matches for "g2f".

Did you mean: 2f
2010 Aug 17
3
Weird differing results when using the Wilcoxon-test
...default and an approximation, especially, when ties are involved 2) wilcox_test{coin}, which does calculate the distribution _exactly_ even, with ties. I have the following scenario: #---BeginCode--- # big example size = 60 big1 = rnorm(size, 0, 1) big2 = rnorm(size, 0.5, 1 g1f = rep(1, size) g2f = rep(2, size) big = c(big1, big2) data_frame = data.frame(big, gr=as.factor(c(g1f, g2f))) wilcox_approx = wilcox.test(big1, big2) wilcox_exact = wilcox_test(big ~ gr, data=data_frame, distribution="exact") #---EndCode--- I found here http://www-stat.stanford.edu/~susan/courses/s141/hon...