[R] Paired Weighted Wilcoxon test in R

Jim Lemon drjimlemon at gmail.com
Sat Jun 24 09:57:39 CEST 2017


Hi DC9,
As no one has answered, I would say that as both the survey package
and Professor Lumley are widely respected, that is as good as it gets.

Jim

On Fri, Jun 23, 2017 at 7:26 PM, Dreams Collector
<dreamscollector9 at gmail.com> wrote:
> Dear R-users,
>
> I’m trying to perform a non-parametric statistical pairwise comparison of two samples "x" and "y" using the Wilcoxon test in R, but each of the pairs have a weight associated.
>
> An example of my data is the following one:
>
> set.seed(9)
> x <- sample(x = c(1:100), size = 20, replace = TRUE)
> y <- sample(x = c(1:100), size = 20, replace = TRUE)
> weight <- runif(n = 20)
> data <- data.frame(x = x, y = y, weight = weight)
>
> I’m new with statistical tests. I’ve read this other post about a similar issue:
>
> http://r.789695.n4.nabble.com/Weighted-Mann-Whitney-Wilcoxon-Test-td4695699.html <http://r.789695.n4.nabble.com/Weighted-Mann-Whitney-Wilcoxon-Test-td4695699.html>
>
> But I’m not sure if I can use the packages/works cited there.
>
> Any help/comment would be fantastic for me.
>
> Thank you!
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list