KKSAPvalue {hiddenf} | R Documentation |
Kharrati-Kopaei and Sadooghi-Alvandi's test for non-additivity
Description
Reports the p-value from Kharrati-Kopaei and Sadooghi-Alvandi's test for non-additivity. This procedure searches over all configurations of rows of the input matrix into two non-empty sets, each having at least two elements. Separate linear models in which row and column effects are additive are fit to each set, and the configuration with maximum ratio of error mean squares is reported, along with a p-value.
Usage
KKSAPvalue(hfobj)
Arguments
hfobj |
An object of class |
Details
Requires that data matrix has more than four rows (r > 4)
Value
A list containing the input data matrix converted to list form, a numeric p-value from a test of the hypothesis of additivity, and a vector giving the corresponding configuration of rows into two groups.
Author(s)
Jason A. Osborne, Christopher T. Franck and Bongseog Choi
References
Kharrati-Kopaei, M. and Sadooghi-Alvandi, SM. (2007). A New Method for Testing Interaction in Unreplicated Two-Way Analysis of Variance, Communications in Statistics - Theory and Methods, 36:2787-2803.
See Also
HiddenF, additivityPvalues
Examples
library(hiddenf)
data(cjejuni.mtx)
cjejuni.out <- HiddenF(cjejuni.mtx)
KKSA.out <- KKSAPvalue(cjejuni.out)
print(KKSA.out$pvalue)