Description Usage Arguments Value Examples
The fuction tests whether the mean of X is differnt from u, a hypothesized population average. GHT replaces the sample covariance matrix in classical Hoteling's test with a shrinkage based (positve definite) covariance matrix. Significance is evaluated via permuation. The method is designed for paired microbiome studies, in which X is the paired differences after log-ratio transformation. However, the method is equally applicable to other high dimensional settings.
1 | GHT(X, u = 0, nsim = 1000, target = "equal", centered = F)
|
X |
n x p matrix of numerical variables |
u |
a vector of numerical variables indicating the true value of the mean |
nsim |
number of permutations. |
target |
target matrix for covariance estimate. "equal": diagonal matrix with equal diagonal element;"unequal", diagonal matrix with unequal diagonal element;"identity": identity matrix |
p value
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.