Learn R Programming

additivityTests (version 1.1-4.2)

tukey.test: Tukey Additivity Test

Description

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

Usage

tukey.test(data, alpha = 0.05, critical.value = NA)

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.

Arguments

data

data matrix

alpha

level of the test

critical.value

result of critical.values function, see Details

Details

The critical value can be computed in advance and given in the parameter critical value. If not a function critical.values is called to do that.

References

Tukey, J.W.: One Degree of Freedom for Non-additivity, Biometrics 5, pp. 232--242, 1949.

See Also

tusell.test, mtukey.test, mandel.test, lbi.test, johnson.graybill.test

Examples

Run this code
data(Boik)
tukey.test(Boik)

Run the code above in your browser using DataLab