Description Usage Arguments Examples
This function calculate for the parameters given, the type of problem. Problems could be 1.0 = Matrix size 0 1.1 = Matrix size 1 2.0 = Matrix size 2 where a marginal row or column equal 0 2.1 = Matrix size 2 and diagonal 2.2 = Matrix size 2 not diagonal 3.0 = Matrix size greater than 2 with a marginal row or column equal 0 3.1 = Matrix size greater than 2 and diagonal 3.2 = Matrix size greater than 2 with k-1 row or columns with marginal equal to a_ii or k-2 where marginals of columns and rows equals to a_ii 3.3 = Matrix size greater than 2 with h where Xt - sum(diag(M1)) = Xr[h] + Xc[h] - 2 * M1[h,h] 3.4 = Matrix size greater than 2 with i where a_ii = 0 or equal to marginals by columns or row 3.5 = Matrix size greater than 2 without a_ii = 0 or without marginals by columns or row equals to zero
1 | TestType(tp, M1, k, Xr, Xc, Xt)
|
tp |
String. Type of problem to check of the previous list. |
M1 |
Matrix. Matrix reduced. |
k |
Integer. Size of the problem. |
Xr |
Vector. Marginals by row. |
Xc |
Vector. Marginals by column. |
Xt |
Double. Sum of all elements in the matrix. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.