Description Usage Arguments Value Author(s) References See Also Examples
This function computes Monte Carlo estimates of critical values for Malik's test for non-additivity at significance levels .01,.05 and .1
1 |
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 |
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 |
Jason A. Osborne, Christopher T. Franck and Bongseog Choi
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
MalikPvalue
1 2 3 4 5 6 7 8 9 10 11 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.