Description Usage Arguments Value References Examples
View source: R/CovTest2.2013Cai.R
Given two sets of data, it performs 2-sample test for equality of covariance matrices where the null hypothesis is
H_0 : Σ_1 = Σ_2
where Σ_1 and Σ_2 represent true (unknown) covariance
for each dataset based on a procedure proposed by Cai and Ma (2013).
If statistic
> threshold
, it rejects null hypothesis.
1 | CovTest2.2013Cai(X, Y, alpha = 0.05)
|
X |
an (m\times p) matrix where each row is an observation from the first dataset. |
Y |
an (n\times p) matrix where each row is an observation from the second dataset. |
alpha |
level of significance. |
a named list containing
a test statistic value.
rejection criterion to be compared against test statistic.
a logical; TRUE
to reject null hypothesis, FALSE
otherwise.
cai_optimal_2013CovTools
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.