MalikTab {hiddenf} | R Documentation |
Malik's critical values
Description
This function computes Monte Carlo estimates of critical values for Malik's test for non-additivity at significance levels .01,.05 and .1
Usage
MalikTab(r, c, N=1000)
Arguments
r |
Number of levels of row factor |
c |
Number of levels of column factor |
N |
Number of additive datasets to be generated for Monte Carlo estimation of critical values |
Value
A list with several components:
Tcsim |
a random sample of N test statistics from Malik's procedure under the hypothesis of additivity |
q |
a vector with first two elements equal to the number of levels of the row and column factors, along with the 99th, 95th and 90th quantiles from the random sample |
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, just-accepted
See Also
MalikPvalue
Examples
# get critical values to conduct Malik's test of additivity
# in an experiment with row and column factors with 4 and 5 levels,
# respectively
## Not run:
data(cjejuni.mtx)
cjejuni.out <- HiddenF(cjejuni.mtx)
Malik.pvalue <- MalikPvalue(cjejuni.out)
cjejuni.Malikobj <- Maliktab(4,5,N=1000)
print(cjejuni.Malikobj$q)
## End(Not run)