| cm13 | R Documentation |
Performs a one-sample covariance matrix test based on the procedure proposed by Cai and Ma (2013).
cm13(X, Sigma0, alpha)
X |
An |
Sigma0 |
A specified |
alpha |
The significance level. |
The null hypothesis is
H_0: \Sigma = \Sigma_0
where \Sigma denotes the population covariance
matrix and \Sigma_0 denotes the hypothesized
covariance matrix.
A named list containing:
The calculated test statistic.
The critical value for rejection.
A logical value indicating whether the null hypothesis is rejected.
set.seed(123)
n <- 30
p <- 5
X <- matrix(rnorm(n * p), nrow = n)
Sigma0 <- diag(p)
cm13(X, Sigma0, alpha = 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.