wilcox.test {PairedData} | R Documentation |
Wilcoxon's signed rank test for paired data
Description
A method designed for objects of class paired.
Usage
## S3 method for class 'paired'
wilcox.test(x, ...)
Arguments
x |
An object of class paired. |
... |
further arguments to be passed to or from methods. |
Value
A list with class "htest" containing the following components:
statistic |
the value of V statistic. |
parameter |
the parameter(s) for the exact distribution of the test statistic. |
p.value |
the p-value for the test. |
null.value |
the true location shift mu. |
alternative |
a character string describing the alternative hypothesis. |
method |
a character string indicating what type of test was performed (always paired here) |
data.name |
a character string giving the name(s) of the data. |
conf.int |
a confidence interval for the location parameter. (Only present if argument conf.int = TRUE.) |
estimate |
an estimate of the location parameter. (Only present if argument conf.int = TRUE.) |
Author(s)
Stephane Champely
See Also
yuen.test
Examples
data(PrisonStress)
with(PrisonStress,wilcox.test(PSSbefore,PSSafter))
with(PrisonStress,wilcox.test(PSSbefore,PSSafter,paired=TRUE))
with(PrisonStress,wilcox.test(paired(PSSbefore,PSSafter)))
[Package PairedData version 1.1.1 Index]