Description Usage Arguments Value Author(s) References Examples
Repors the exact p-value from Malik et al. (2016)
.They proposed to partition
the residuals(components of residual matrix R of input data matrix under additivity
assumption) into three clusters using a suitable clustering method like <e2><80><9c>k-means clustering<e2><80><9d>.
The hypothesis of no interaction can be interpreted as the effects of the three
clusters are equal.Compute Malik's test statistics and corresponding p-value by Monte Carlo simulation.
1 | Malik.test(x, nsim = 500)
|
x |
A b-by-t data matrix, which rows corresponding to b-block effects and columns are t-treatment effects |
nsim |
Number of simulation for compueting exact p-value. The defaut value is 500 |
An exact p-value for input
Zahra. Shenavari, ..
Malik, W. A., Mo <cc><88>hring, J., Piepho, H. P. (2016). A clustering-based test for non-additivity in an unreplicated two-way layout. Communications in Statistics-Simulation and Computation 45(2):660-670.
1 2 3 | ## Not run: this is an example
data(impurity)
Malik.test(impurity,nsim=1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.