Description Usage Arguments Value Author(s) References
This is a helper function for the generalized component test from Gregory et al. (2014) which computes and returns the value 1 + \hat{c}_{jn}/n + \hat{d}_{jn}/n^2 for a component j. The GCT.test
and GCT.sim
average these values across j=1,…,p to obtain the centering 1 + \hat{a}_{n}/n + \hat{b}_{n}/n^2 for the generalized component test statistic.
1 | center(xy,n,m,ntoorderminus=2)
|
xy |
a vector of length |
n |
the number of entries in |
m |
the number of entries in |
ntoorderminus |
the order of terms retained in 1 + \hat{c}_{jn}/n + \hat{d}_{jn}/n^2. If |
A scalar equal to 1, 1 + \hat{c}_{jn}/n , or 1 + \hat{c}_{jn}/n+\hat{d}_{jn}/n^2 , respectively, for ntoorderminus=0,1,2
.
Karl Gregory kgregory@mail.uni-mannheim.de, http://www.stat.tamu.edu/~kbgregory.
Gregory, K., Carroll, R. J., Baladandayuthapani, V. and Lahiri, S. (2015). A two-sample test for equality of means in high dimension. Journal of the American Statistician, to appear
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.