Re: [R] wilcox_test function in coin package

2013-06-03 Thread Henric Winell
Janh, Janh Anni skrev 2013-06-01 19:47: Hello All, Thanks a lot for the helpful suggestions. I wonder how ties are handled for the rank sum test by wilcox_test and wilcox.exact? For instance, Ties handling was mainly a problem back in the day when recursion formulas were used for the

Re: [R] wilcox_test function in coin package

2013-06-03 Thread Janh Anni
Hello Henric, Thank you so much for the detailed responses and helpful information. Much appreciated. Regards Janh On Mon, Jun 3, 2013 at 6:15 AM, Henric Winell nilsson.hen...@gmail.comwrote: Janh, Janh Anni skrev 2013-06-01 19:47: Hello All, Thanks a lot for the helpful suggestions.

Re: [R] wilcox_test function in coin package

2013-06-01 Thread Janh Anni
Hello peter, Thanks for the comment. wilcox.exact is simpler as you pointed out but the fact that it is no longer being developed is somewhat concerning. Regards Janh On Fri, May 31, 2013 at 6:50 PM, Peter Ehlers ehl...@ucalgary.ca wrote: On 2013-05-30 20:20, Janh Anni wrote: Hello Greg,

Re: [R] wilcox_test function in coin package

2013-06-01 Thread Henric Winell
Janh, Janh Anni skrev 2013-06-01 04:27: Hello peter, Thanks for the comment. wilcox.exact is simpler as you pointed out but the fact that it is no longer being developed is somewhat concerning. Admittedly, 'coin' is being actively developed and has a lot more bells and whistles. But for

Re: [R] wilcox_test function in coin package

2013-06-01 Thread Janh Anni
Hello All, Thanks a lot for the helpful suggestions. I wonder how ties are handled for the rank sum test by wilcox_test and wilcox.exact? For instance, other software such as Minitab correct for ties by adjusting the variance of the test statistic, and actually provide the p values before and

Re: [R] wilcox_test function in coin package

2013-05-31 Thread Peter Ehlers
On 2013-05-30 20:20, Janh Anni wrote: Hello Greg, Thank you so much for your kind assistance. It looks like there's no way around using the formula format. I longed in vain for a simpler script more like the wilcox.test format. Thanks again. Janh I don't see why the formula syntax would

[R] wilcox_test function in coin package

2013-05-30 Thread Janh Anni
Dear All, I have two simple data samples (no groups or factors, etc.) and would just like to compute the two-sample Wilcoxon Rank Sum test using the wilcox_test function contained in the coin package, which is reportedly better than the regular wilcox.test function because it performs some

Re: [R] wilcox_test function in coin package

2013-05-30 Thread Greg Snow
What have you tried so far? Have you read the help page? have you run the examples on that page? I would expect that it is something as simple as library(coin) wilcox_test(x,y) or wilcox_test( y ~ group ) But you should trust the help page more than the expectations of someone who has not

Re: [R] wilcox_test function in coin package

2013-05-30 Thread Janh Anni
I thought (hoped) wilcox_test(x,y) would do it but it doesn't and the package maintainer says the data have to be rearranged but does not specify how. Thanks Janh On Thu, May 30, 2013 at 6:05 PM, Greg Snow 538...@gmail.com wrote: What have you tried so far? Have you read the help page?

Re: [R] wilcox_test function in coin package

2013-05-30 Thread Greg Snow
Ok, it looks like the function mainly works through the formula syntax. It still would have been nice to have a reproducible example of what your data may look like, but I can show an example with simulated x and y: x - rpois(10, 3) y - rpois(11, 3.1) mydf - data.frame( vals = c(x,y), +

Re: [R] wilcox_test function in coin package

2013-05-30 Thread Janh Anni
Hello Greg, Thank you so much for your kind assistance. It looks like there's no way around using the formula format. I longed in vain for a simpler script more like the wilcox.test format. Thanks again. Janh On Thu, May 30, 2013 at 6:21 PM, Greg Snow 538...@gmail.com wrote: Ok, it looks