tukeyTest: Tukey test

Description Usage Arguments Details Value References Examples

Description

This function performs the Tukey test

Usage

1
tukeyTest(data, alpha = 0.05)

Arguments

data

Matrix or data frame where each algorithm is in a column

alpha

Significance level

Details

The test has been implemented according to Test 28 in Kanji (2006).

Value

A list with class "htest" containing the following components: statistic, the value of the statistic used in the test; method, a character string indicating what type of test was performed; data.name, a character string giving the name of the data and diff.matirx, a matrix with all the pairwise absolute difference of average values.

References

Kanji, G. K. (2006) 100 Statistical Tests. SAGE Publications Ltd, 3rd edition.

Examples

1
2
3
4
data(data_gh_2008)
res <- tukeyTest(data.gh.2008, alpha=0.1)
res
res$diff.matrix

Example output

	Tukey test

data:  data.gh.2008
Critical difference = 0.042443, K = 5, df2 = 145

           [,1]       [,2]       [,3]      [,4]       [,5]
[1,]         NA 0.10060000 0.02320000 0.2103333 0.05116667
[2,] 0.10060000         NA 0.07740000 0.1097333 0.04943333
[3,] 0.02320000 0.07740000         NA 0.1871333 0.02796667
[4,] 0.21033333 0.10973333 0.18713333        NA 0.15916667
[5,] 0.05116667 0.04943333 0.02796667 0.1591667         NA

scmamp documentation built on May 1, 2019, 10:10 p.m.