Learn R Programming

WCQ (version 0.2)

onesamplemeantest: Chen-Qin Multidimensional One-Sample Mean Test

Description

Multidimensional one-sample mean test used by WCQ.

Usage

onesamplemeantest(X1)

Arguments

X1
matrix/array containing population data to be tested

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.data <- array(rnorm(100),c(10,10))
onesamplemeantest(sample.data)

Run the code above in your browser using DataLab