Inspect positive-semidefinite diagnostics for correlation matrices
Source:R/04_post_00_matrix_diagnostics.R
get_matrix_diagnostics.RdReturns matrix-level diagnostics computed from the unrounded
within- and between-cluster correlation matrices stored in a wbCorr()
object. Pairwise-complete correlations can be non-positive-semidefinite when
different pairs use different rows. A diagnostic is not assessable when the
corresponding matrix contains an unavailable (NA) coefficient.
Value
A data frame with one row for each level and columns identifying the diagnostic status, positive-semidefinite result, minimum eigenvalue, completeness, numerical tolerance, number of variables, missing-data mode, whether PSD followed from a common-matrix construction, and reason when assessment was unavailable.