evaluateClusterQuality {cata} | R Documentation |
Evaluate Quality of Cluster Analysis Solution
Description
Evaluate the quality of cluster analysis solutions using measures related to within-cluster product discrimination, between-cluster non-redundancy, overall diversity (coverage), average RV, sensory differentiation retained, and within-cluster homogeneity.
Usage
evaluateClusterQuality(X, M, alpha = .05, M.order = NULL,
quiet = FALSE, digits = getOption("digits"), ...)
Arguments
X |
three-way array; the |
M |
cluster memberships |
alpha |
significance level to be used for two-tailed tests |
M.order |
can be used to change the cluster numbers (e.g. to label
cluster 1 as cluster 2 and vice versa); defaults to |
quiet |
if |
digits |
significant digits (to display) |
... |
other parameters for |
Value
A list containing cluster analysis quality measures:
$solution
:Pct.b
= percentage of the total sensory differentiation retained in the solutionmin(NR)
= smallest observed between-cluster non-redundancyDiv_G
= overall diversity (coverage)H_G
= overall homogeneity (weighted average of within-cluster homogeneity indices)avRV
= average RV coefficient for all between-cluster comparisons
$clusters
:ng
= number of cluster membersbg
= sensory differentiation retained in clusterxbarg
= average citation rate in clusterHg
= homogeneity index within cluster (seehomogeneity
)Dg
= within-cluster product discrimination
$nonredundancy.clusterpairs
:square data frame showing non-redundancy for each pair of clusters (low values indicate high redundancy)
$rv.clusterpairs
:square data frame with RV coefficient for each pair of clusters (high values indicate higher similarity in product configurations)
References
Castura, J.C., Meyners, M., Varela, P., & Næs, T. (2022). Clustering consumers based on product discrimination in check-all-that-apply (CATA) data. Food Quality and Preference, 104564. doi:10.1016/j.foodqual.2022.104564.
See Also
Examples
data(bread)
evaluateClusterQuality(bread$cata[1:8,,1:5], M = rep(1:2, each = 4))