Learn R Programming

multifluo (version 1.1)

sri.test: Srivastava's Test

Description

Tests multivariate differences between two samples with Srivastava's Test

Usage

sri.test(matx, maty)

Arguments

matx

First sample (with observations as lines and variables as columns)

maty

Second sample (with observations as lines and variables as columns). matx and maty have to have the same number of variables.

Value

a list containing the p-value and the statistique (corresponding to T1 in the Srivastava's paper)

References

M. S. Srivastava and M. Du. A test for the mean vector with fewer observations than the dimension.Journal of Multivariate Analysis , 99(3):386 402, Mar. 2008.

See Also

difftable,hotelling.test

Examples

Run this code
# NOT RUN {
A=matrix(rnorm(13.15),13,15)
B=matrix(rnorm(13.15),13,15)
sri.test(A,B)
# }

Run the code above in your browser using DataLab