Skip to content
Back to formatted view

Raw Message

Message-ID: <CA+8X3fV_iuuTEet7Yu4nZdbuWkcciKuWkH0BFvSOhPxMiqgQZg@mail.gmail.com>
Date: 2017-06-24T07:57:39Z
From: Jim Lemon
Subject: Paired Weighted Wilcoxon test in R
In-Reply-To: <57B68802-850B-4B14-AD89-9713AC93DD67@gmail.com>

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.