[Rd] Help: StatXact

Torsten Hothorn Torsten.Hothorn@rzmail.uni-erlangen.de
Mon, 18 Dec 2000 19:53:03 +0100 (MET)


> # Data from the StatXact-4 manual, page 221
> treat <- c(94, 108, 110, 90)
> contr <- c(80, 94, 85, 90, 90, 90, 108, 94, 78, 105, 88)
> 
> My results: 

Upps, sorry, those results where totally non-sense. I'm to tired ;-)  

here are the results of my current implementation for the dataset above
(but data were correct!):

> wilcox.exact(treat, contr)

         Wilcoxon rank sum test 

data:  treat and contr 
W = 35, p-value = 0.0989 
alternative hypothesis: true mu is not equal to 0 

> wilcox.exact(treat, contr, alternative="l")

         Wilcoxon rank sum test 

data:  treat and contr 
W = 35, p-value = 0.9648 
alternative hypothesis: true mu is less than 0 

> wilcox.exact(treat, contr, alternative="g")

         Wilcoxon rank sum test 

data:  treat and contr 
W = 35, p-value = 0.05568 
alternative hypothesis: true mu is greater than 0 

Sorry again, 

Torsten

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._