Description Usage Arguments Value References Examples
This function implements the two-sample high-dimensional test proposed by Srivastava, Katayama, and Kano(2013).
1 | SKK_test(X, Y)
|
X |
The data matrix (n by p) from the first population. |
Y |
The data matrix (m by p) from the second population. |
A list consisting of the values of the test statistic and p-value.
Srivastava, M. S., Katayama, S., and Kano, Y. (2013). A two sample test in high dimensional data. Journal of Multivariate Analysis, 114:349-358.
1 2 3 4 5 6 7 8 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.