flury.AIC | R Documentation |
Calculates the Akaike Information Criterion (AIC) for the higher model vs. the lower model in Flury's hierarchy of covariance matrices.
flury.AIC(covmats.high, covmats.low, nvec, df)
covmats.high |
Array of estimated covariance matrices under the higher model in Flury's hierarchy. |
covmats.low |
Array of estimated covariance matrices under the lower model in Flury's hierarchy. |
nvec |
Vector of sample sizes of the k groups. |
df |
Degrees of freedom of the higher model, versus the model of unrelated covariance matrices. |
This is a utility function used by flury.test
, but can also be called directly if required.
Returns the AIC value (scalar).
Theo Pepler
Flury, B. (1988). Common Principal Components and Related Multivariate Models. Wiley.
flury.test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.