Learn R Programming

WCQ (version 0.2)

twosamplemeantest: Chen-Qin Multidimensional Two-Sample Mean Test

Description

Multidimensional two-sample test of means used by WCQ

Usage

twosamplemeantest(X1, X2)

Arguments

X1,X2
matrices/arrays containing population values for the test

Value

pval
p-value of the test

References

Chen,Y.X., Qin,Y.L. (2010) A Two-Sample Test for High-Dimensional Data with Applications to Gene-Set Testing, The Annals of Statistics, 38(2), 808-835.

Examples

Run this code
sample.data1 <- array(rnorm(100),c(10,10))
sample.data2 <- array(rnorm(100),c(10,10))
twosamplemeantest(sample.data1, sample.data2)

Run the code above in your browser using DataLab