SKK_test {highDmean} | R Documentation |
High-dimensional two-sample test (SKK) proposed by Srivastava, Katayama, and Kano(2013)
Description
This function implements the two-sample high-dimensional test proposed by Srivastava, Katayama, and Kano(2013).
Usage
SKK_test(X, Y)
Arguments
X |
The data matrix (n by p) from the first population. |
Y |
The data matrix (m by p) from the second population. |
Value
A list consisting of the values of the test statistic and p-value.
References
Srivastava, M. S., Katayama, S., and Kano, Y. (2013). A two sample test in high dimensional data. Journal of Multivariate Analysis, 114:349-358.
Examples
# Generate a simulated dataset and apply the SKK test
data <- buildData(n = 45, m =60, p = 300,
muX = rep(0,300), muY = rep(0,300),
dep = 'IND', S = 1, innov = rnorm)
SKK_test(data[[1]]$X, data[[1]]$Y)
# Apply the SKK test to the data for a GO term stored in GO_example
SKK_test(GO_example$X, GO_example$Y)
[Package highDmean version 0.1.0 Index]