vix.ing · top · new · best · stats · spec

Clusters that are not there: An R tutorial and a Shiny app to quantify a priori inferential risks when using clustering methods

2024/09/19 by Enrico Toffalini, Filippo Gambarota, Ambra Perugini +6
Psychology · #Mental Health Research Topics

paper · pdf · doi:10.1002/ijop.13246

openalex publication_date 2024/09/19 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/01

Abstract

Clustering methods are increasingly used in social science research. Generally, researchers use them to infer the existence of qualitatively different types of individuals within a larger population, thus unveiling previously "hidden" heterogeneity. Depending on the clustering technique, however, valid inference requires some conditions and assumptions. Common risks include not only failing to detect existing clusters due to a lack of power but also revealing clusters that do not exist in the population. Simple data simulations suggest that under conditions of sample size, number, correlation and skewness of indicators that are frequently encountered in applied psychological research, commonly used clustering methods are at a high risk of detecting clusters that are not there. Generally, this is due to some violations of assumptions that are not usually considered critical in psychology. The present article illustrates a simple R tutorial and a Shiny app (for those who are not familiar with R) that allow researchers to quantify a priori inferential risks when performing clustering methods on their own data. Doing so is suggested as a much-needed preliminary sanity check, because conditions that inflate the number of detected clusters are very common in applied psychological research scenarios.

Citations

Related