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 p.adjust).

...

Additional arguments pass to friedman.test or pairwise.wilcox.test.

Value

A list with components:

fried

Hypothesis test results of friedman.test.

wilcox

Hypothesis test results of pairwise.wilcox.test.

gl.pval

Global or overall p value returned by friedman.test.

mc.pval

Pairwise p value returned by pairwise.wilcox.test.

Author(s)

Wanchang Lin

See Also

maccest, mc.anova

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]