RobCat | R Documentation |
RobCat
computes p value based on robust CAT algorithm to compare two means vectors
under multivariate Behrens-Fisher problem.
RobCat(X, Y, M = 1000, alpha = 0.75)
X |
a matrix or data frame for first group. |
Y |
a matrix or data frame for second group. |
M |
iteration number and the default is 1000. |
alpha |
numeric parameter controlling the size of the subsets over which the determinant is minimized; roughly alpha*n, observations are used for computing the determinant. Allowed values are between 0.5 and 1 and the default is 0.75. |
This function computes p value based on robust CAT algorithm to compare two means vectors under multivariate Behrens-Fisher problem. When p value<0.05, it means the difference of two mean vectors is significant statistically.
a list with 2 elements:
Cstat |
Calculated value of test statistic |
pval |
The p value |
Hasan BULUT <hasan.bulut@omu.edu.tr>
data(iris)
RobCat(X=iris[1:20,-5],Y=iris[81:100,-5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.