EconPapers    
Economics at your fingertips  
 

NbClust: An R Package for Determining the Relevant Number of Clusters in a Data Set

Malika Charrad, Nadia Ghazzali, Véronique Boiteau and Azam Niknafs

Journal of Statistical Software, 2014, vol. 061, issue i06

Abstract: Clustering is the partitioning of a set of objects into groups (clusters) so that objects within a group are more similar to each others than objects in different groups. Most of the clustering algorithms depend on some assumptions in order to define the subgroups present in a data set. As a consequence, the resulting clustering scheme requires some sort of evaluation as regards its validity. The evaluation procedure has to tackle difficult problems such as the quality of clusters, the degree with which a clustering scheme fits a specific data set and the optimal number of clusters in a partitioning. In the literature, a wide variety of indices have been proposed to find the optimal number of clusters in a partitioning of a data set during the clustering process. However, for most of indices proposed in the literature, programs are unavailable to test these indices and compare them. The R package NbClust has been developed for that purpose. It provides 30 indices which determine the number of clusters in a data set and it offers also the best clustering scheme from different results to the user. In addition, it provides a function to perform k-means and hierarchical clustering with different distance measures and aggregation methods. Any combination of validation indices and clustering methods can be requested in a single function call. This enables the user to simultaneously evaluate several clustering schemes while varying the number of clusters, to help determining the most appropriate number of clusters for the data set of interest.

Date: 2014-11-03
References: View complete reference list from CitEc
Citations: View citations in EconPapers (149)

Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v061i06/v61i06.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... NbClust_2.0.3.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... ile/v061i06/v61i06.R
https://www.jstatsoft.org/index.php/jss/article/do ... 06/SimulatedData.txt

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:061:i06

DOI: 10.18637/jss.v061.i06

Access Statistics for this article

Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis

More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().

 
Page updated 2025-03-19
Handle: RePEc:jss:jstsof:v:061:i06