mtukey.test: Modified Tukey Additivity Test

Description Usage Arguments Details Value References See Also Examples

View source: R/mtukey.test.R

Description

Test for an interaction in two-way ANOVA table by the modified Tukey test.

Usage

1
mtukey.test(Y, alpha = 0.05, correction = 0, Nboot = 1000)

Arguments

Y

data matrix

alpha

level of the test

correction

type of small sample size correction (0=none, 1=bootstrap without replacement, 2=sampling), see Details

Nboot

number of simulations to be used for small sample size correction

Details

The level of the modified Tukey test is unstable for a small sample size. In such cases either bootstraping (correction=1) or sampling (correction=2) should be used to compute the critical value.

Value

A list with class "aTest" containing the following components: test statistics stat, critical value critical.value and the result of the test result, i.e. whether the additivity hypothesis has been rejected.

References

Simecek, Petr, and Simeckova, Marie. "Modification of Tukey's additivity test." Journal of Statistical Planning and Inference, 2012.

See Also

tukey.test, mandel.test, johnson.graybill.test, lbi.test, johnson.graybill.test

Examples

1
2
3
data(Boik)
mtukey.test(Boik)
mtukey.test(Boik,correction=2,Nboot=2000)

additivityTests documentation built on May 29, 2017, 3:37 p.m.