sri.test: Srivastava's Test

Description Usage Arguments Value References See Also Examples

View source: R/sri.test.R

Description

Tests multivariate differences between two samples with Srivastava's Test

Usage

1
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

1
2
3
A=matrix(rnorm(13.15),13,15)
B=matrix(rnorm(13.15),13,15)
sri.test(A,B)

multifluo documentation built on May 2, 2019, 1:07 p.m.