Description Usage Arguments Value References Examples
The function returns the dimension that minimizes the $p$-value from the likelihood ratio test (LRT) derived by Lawley (1956).
1 | LawleyTest(lambda, M)
|
lambda |
a numeric vector of positive sample eigenvalues that sums to $n$ |
M |
a positive integer for the number of observations or features |
an integer $K$ between 1 and $n$ that minimizes the LRT $p$-value.
Lawley, D. N. (1956) Tests of significance for the latent roots of covariance and correlation matrices. **Biometrika** *43*.1/2: 128-136. <doi:10.2307/2333586>
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.