Learn R Programming

scmamp (version 0.2.55)

wilcoxonSignedTest: Wilcoxon signed-rank est

Description

This function implements the paired Wilcoxon signed-rank test

Usage

wilcoxonSignedTest(x, y, ...)

Arguments

x
First sample
y
Second sample
...
Ignored

Value

A list with class "htest" containing the following components: statistic, the value of the statistic used in the test; p.value, the p-value for the test; method, a character string indicating what type of test was performed and data.name, a character string giving the name of the data.

Details

The test has been implemented according to the version in Demsar (2006), page 7

References

Demsar, J. (2006) Statistical Comparisons of Classifiers over Multiple Data Sets. Journal of Machine Learning Research, 7, 1-30.

Examples

Run this code
x <- rbeta(50, 2, 20)
y <- x + runif(50) * 0.2
wilcoxonSignedTest(x, y)

Run the code above in your browser using DataLab