Test for an interaction in two-way ANOVA table by the Johnson-Graybill test.
level of the test
number of simulations to be used for a critical value estimation
The critical value can be computed in advance and given in the parameter
If not a function
critical.values is called to do that.
A list with class "
aTest" containing the following components:
stat, critical value
critical.value and the result of
result, i.e. whether the additivity hypothesis has been rejected.
Johnson, D.E. and Graybill, F.A.: An analysis of a two-way model with interaction and no replication, Journal of the American Statistical Association 67, pp. 862–868, 1972.
Johnson and Graybill test on 5% alpha-level: Test statistic: 0.854 Critival value: 0.7433 The additivity hypothesis was rejected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.