This sub-routine is called by matrixStrucTest
and prepBoxPlots
.
matrixStrucTestSub(A, group_list_ord, Delta, multi_group_ind, A_upper_ind,
K)
Distance or similarity matrix, e.g. correlation
List of groupings for ordered matrix A
Delta matrix
List of indicator matrices for membership in block k test
indicator matrix for upper triangular elements
Total number of hypothesized blocks
Gamma_overall: Overall Hubert's Gamma
Gamma_multi: Block-specific Hubert's Gamma
t_overall: Overall t-statistic (unequal variance)
t_multi: Block-specific t-statistics
Ak_list: List of values in A used for each block-specific test
Deltak_list: List of values in Delta used for each block-specific test
A_upper: Upper triangular elements of A (used for box plot function)
Delta_upper: Upper triangular elements of Delta (used for box plot function)