Description Usage Arguments Details Value Author(s) References Examples
computes Kharrati-Kopaei and Sadooghi-Alvandi's test statistics and corresponding p-value. They proposed a test procedure for testing non-additivity based on splitting the b-by-t data matrix into two non empty sub-matrixes by dividing the rows, each having at least two rows. Suppose that b<e2><89><a5>t and b<e2><89><a5>4.Divided mean square errors for any two sub-matrixes such that maximize its ratio and computed the corresponding p-value. Their test statistics are the minimum value of p-values over all possible configurations: 2^(b-1)-b-1.
1 |
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 |
dist |
If dist="sim", we used Monte Carlo simulation for estimating exact p-value, and if dist="asy", Bonferroni-adjusted p-value computed. The defaut value is "sim" |
If rows numer(b) of data matrix is less than it's columns number(t) at fiest transposing data matrix. In addition requires that data matrix has more than three rows or columns
A p-value for input
Zahra. Shenavari, ...
Kharrati-Kopaei, M., Sadooghi-Alvandi, S. M. (2007). A New Method for Testing Interaction in Unreplicated Two-Way Analysis of Variance. Communications in Statistics-Theory and Methods 36:2787<e2><80><93>2803.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.