mc.fried {mt} | R Documentation |
Multiple Comparison by 'Friedman Test' and Pairwise Comparison by 'Wilcoxon Test'
Description
Performs multiple comparison by Friedman test
and pairwise comparison by
Wilcoxon Test
.
Usage
mc.fried(x, p.adjust.method = p.adjust.methods,...)
Arguments
x |
A matrix or data frame to be tested. |
p.adjust.method |
Method for adjusting p values (see |
... |
Additional arguments pass to |
Value
A list with components:
fried |
Hypothesis test results of |
wilcox |
Hypothesis test results of |
gl.pval |
Global or overall p value returned by |
mc.pval |
Pairwise p value returned by |
Author(s)
Wanchang Lin
See Also
Examples
# Iris data
data(iris)
x <- subset(iris, select = -Species)
y <- iris$Species
method <- c("randomForest","svm","pcalda","knn")
pars <- valipars(sampling="cv", niter = 10, nreps=4)
res <- maccest(x, y, method=method, pars=pars,
comp="fried",kernel="linear")
res
htest <- mc.fried(res$acc.iter)
[Package mt version 2.0-1.20 Index]