Re: [R] Wilcoxon Signed Rank Test

From: Torsten Hothorn <Torsten.Hothorn_at_rzmail.uni-erlangen.de>
Date: Wed 24 Aug 2005 - 21:31:12 EST

> Dear list,
>
> Please forgive me if this is a dumb question. I want to compare a set of
> paired data (pre and late). There are ties in pre and late. I searched
> on line, some document says use wilcox.exact in R instead of
> wilcox.test. Anyone has any experience using wilcoxon signed rank test
> to share?

R> library("exactRankTests")
R> x <- c(1.83,  0.50,  1.62,  2.48, 1.68, 1.88, 1.55, 3.06, 1.30)
R> y <- c(0.878, 0.647, 0.598, 2.05, 1.06, 1.29, 1.06, 3.14, 1.29)
R> wilcox.exact(x, y, paired = TRUE, alternative = "greater")

        Exact Wilcoxon signed rank test

data: x and y
V = 40, p-value = 0.01953
alternative hypothesis: true mu is greater than 0

is one of the examples shown in ?wilcox.exact

Best,

Torsten

> Thanks in advance.
>
> platform i686-pc-linux-gnu
> arch i686
> os linux-gnu
> system i686, linux-gnu
> status
> major 2
> minor 1.0
> year 2005
> month 04
> day 18
> language R
>
> --
> Jeanie (Jie) Na
>
> Programmer Analyst II _ _ ___ _ _ ____
> Department of Quantitative Health Sciences [_]-[_] / - \ | |_| | (_(_
> Cleveland Clinic Foundation | | ( |_| ) ) _ ( _| )
> Tel: (216)4451369 [_]-[_] \_\_\ |_| |_| (___/
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Aug 24 21:40:47 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:49:47 EST