KKSAPvalue: Kharrati-Kopaei and Sadooghi-Alvandi's test for...

Description Usage Arguments Details Value Author(s) References See Also Examples

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

1
KKSAPvalue(hfobj)

Arguments

hfobj

An object of class HiddenF created by the HiddenF function

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

1
2
3
4
5
library(hiddenf)
data(cjejuni.mtx)
cjejuni.out <- HiddenF(cjejuni.mtx)
KKSA.out <- KKSAPvalue(cjejuni.out)
print(KKSA.out$pvalue)

hiddenf documentation built on May 2, 2019, 2:47 p.m.