MalikPvalue {hiddenf} | R Documentation |
Malik's test for non-additivity
Description
Computes the p-value from the clustering-based test for non-additivity developed in Malik, et al. (2015).
Usage
MalikPvalue(hfobj, N=500,pnote=TRUE)
Arguments
hfobj |
An object of class |
N |
The number of Monte Carlo datasets used to determine critical thresholds for Malik's test statistic. Default value is N=500 |
pnote |
Boolean variable that can be used to suppress note about number of Monte Carlo datasets used to estimate pvalue |
Value
A Monte Carlo estimate of the p-value from the Malik et al (2015) test of non-additivity. The standard error of this estimate is inversely proportional to the square root of N.
Author(s)
Jason A. Osborne, Christopher T. Franck and Bongseog Choi
References
Malik, WA, Mohring, J and Piepho, H. (2014) A clustering-based test for non-additivity in an unreplicated two-way layout, Communications in Statistics-Simulation and Computation.
See Also
HiddenF, additivityPvalues
Examples
## Not run:
library(hiddenf)
data(cjejuni.mtx)
cjejuni.out <- HiddenF(cjejuni.mtx)
cjejuni.MalikPvalue <- MalikPvalue(cjejuni.out)
## End(Not run)