[R] Weighted Mann-Whitney-Wilcoxon-Test

2014-08-26 Thread Alexander Sommer
On Tuesday, August 19, 2014 9:46 PM Thomas Lumley wrote: >> Is anyone aware of an(other) implementation in R? > survey::svyranktest Oh, that easy. Thanks a lot. Actually, in my case the weights do not derive from some selection probabilities, but your test works anyway. For completeness (and

Re: [R] Weighted Mann-Whitney-Wilcoxon-Test

2014-08-19 Thread Thomas Lumley
]On Wed, Aug 20, 2014 at 2:01 AM, Alexander Sommer wrote: > tl;dr: I am looking for a nonparametric alternative to wtd.t.test in package > weights. > > Is anyone aware of an(other) implementation in R? survey::svyranktest T. Lumley and A.J. Scott (2013). Two-sample rank tests under complex sa

[R] Weighted Mann-Whitney-Wilcoxon-Test

2014-08-19 Thread Alexander Sommer
Hi fellow R-users, well, say I got two groups, A and B. Nested within each group are subgroups and in each subgroup are objects with values x and y to a certain attribute. So, I can compute the portion of x-objects for each subgroup as #x/(#x + #y). Artificial example with 12 subgroups in group