IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v050i13.html
   My bibliography  Save this article

ClustOfVar: An R Package for the Clustering of Variables

Author

Listed:
  • Chavent, Marie
  • Kuentz-Simonet, Vanessa
  • Liquet, Benoît
  • Saracco, Jérôme

Abstract

Clustering of variables is as a way to arrange variables into homogeneous clusters, i.e., groups of variables which are strongly related to each other and thus bring the same information. These approaches can then be useful for dimension reduction and variable selection. Several specific methods have been developed for the clustering of numerical variables. However concerning qualitative variables or mixtures of quantitative and qualitative variables, far fewer methods have been proposed. The R package ClustOfVar was specifically developed for this purpose. The homogeneity criterion of a cluster is defined as the sum of correlation ratios (for qualitative variables) and squared correlations (for quantitative variables) to a synthetic quantitative variable, summarizing ``as good as possible'' the variables in the cluster. This synthetic variable is the first principal component obtained with the PCAMIX method. Two clustering algorithms are proposed to optimize the homogeneity criterion: iterative relocation algorithm and ascendant hierarchical clustering. We also propose a bootstrap approach in order to determine suitable numbers of clusters. We illustrate the methodologies and the associated package on small datasets.

Suggested Citation

  • Chavent, Marie & Kuentz-Simonet, Vanessa & Liquet, Benoît & Saracco, Jérôme, 2012. "ClustOfVar: An R Package for the Clustering of Variables," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 50(i13).
  • Handle: RePEc:jss:jstsof:v:050:i13
    DOI: http://hdl.handle.net/10.18637/jss.v050.i13
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v050i13/v50i13.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v050i13/ClustOfVar_0.7.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v050i13/v50i13.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v050.i13?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Lawrence Hubert & Phipps Arabie, 1985. "Comparing partitions," Journal of Classification, Springer;The Classification Society, vol. 2(1), pages 193-218, December.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Gero Szepannek, 2022. "An Overview on the Landscape of R Packages for Open Source Scorecard Modelling," Risks, MDPI, vol. 10(3), pages 1-33, March.
    2. Wang, Endong & Alp, Neslihan & Shi, Jonathan & Wang, Chao & Zhang, Xiaodong & Chen, Hong, 2017. "Multi-criteria building energy performance benchmarking through variable clustering based compromise TOPSIS with objective entropy weighting," Energy, Elsevier, vol. 125(C), pages 197-210.
    3. Luther Elliott & Christopher Keith Haddock & Stephanie Campos & Ellen Benoit, 2019. "Polysubstance use patterns and novel synthetics: A cluster analysis from three U.S. cities," PLOS ONE, Public Library of Science, vol. 14(12), pages 1-17, December.
    4. Lbath, Hanâ & Petersen, Alexander & Meiring, Wendy & Achard, Sophie, 2024. "Clustering-based inter-regional correlation estimation," Computational Statistics & Data Analysis, Elsevier, vol. 191(C).
    5. Julian Cardenas & Fernando Santa & Eva Kaštovská, 2021. "The Exudation of Surplus Products Links Plant Functional Traits and Plant-Microbial Stoichiometry," Land, MDPI, vol. 10(8), pages 1-16, August.
    6. Yao, Xingzhi & Izzeldin, Marwan & Li, Zhenxiong, 2019. "A novel cluster HAR-type model for forecasting realized volatility," International Journal of Forecasting, Elsevier, vol. 35(4), pages 1318-1331.
    7. Ana Belén Ramos-Guajardo, 2022. "A hierarchical clustering method for random intervals based on a similarity measure," Computational Statistics, Springer, vol. 37(1), pages 229-261, March.
    8. Jeoffrey Dehez & Sandrine Lyser, 2024. "How ocean beach recreational quality fits with safety issues? An analysis of risky behaviours in France," Post-Print hal-04384330, HAL.
    9. Wang, Endong, 2017. "Decomposing core energy factor structure of U.S. residential buildings through principal component analysis with variable clustering on high-dimensional mixed data," Applied Energy, Elsevier, vol. 203(C), pages 858-873.
    10. Vanessa Kuentz-Simonet & Amaury Labenne & Tina Rambonilaza, 2017. "Using ClustOfVar to Construct Quality of Life Indicators for Vulnerability Assessment Municipality Trajectories in Southwest France from 1999 to 2009," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 131(3), pages 973-997, April.
    11. Xiaowen Wang & Shanshan Yao & Mengying Wang & Guiying Cao & Zishuo Chen & Ziting Huang & Yao Wu & Ling Han & Beibei Xu & Yonghua Hu, 2020. "Multimorbidity among Two Million Adults in China," IJERPH, MDPI, vol. 17(10), pages 1-13, May.
    12. Xavier Bry & Lionel Cucala, 2022. "A von Mises–Fisher mixture model for clustering numerical and categorical variables," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 16(2), pages 429-455, June.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Miriam Aparicio, 2021. "Resiliency and Cooperation or Regarding Social and Collective Competencies for University Achievement. An Analysis from a Systemic Perspective," European Journal of Social Sciences Education and Research Articles, Revistia Research and Publishing, vol. 8, ejser_v8_.
    2. Yunpeng Zhao & Qing Pan & Chengan Du, 2019. "Logistic regression augmented community detection for network data with application in identifying autism‐related gene pathways," Biometrics, The International Biometric Society, vol. 75(1), pages 222-234, March.
    3. Wu, Han-Ming & Tien, Yin-Jing & Chen, Chun-houh, 2010. "GAP: A graphical environment for matrix visualization and cluster analysis," Computational Statistics & Data Analysis, Elsevier, vol. 54(3), pages 767-778, March.
    4. José E. Chacón, 2021. "Explicit Agreement Extremes for a 2 × 2 Table with Given Marginals," Journal of Classification, Springer;The Classification Society, vol. 38(2), pages 257-263, July.
    5. F. Marta L. Di Lascio & Andrea Menapace & Roberta Pappadà, 2024. "A spatially‐weighted AMH copula‐based dissimilarity measure for clustering variables: An application to urban thermal efficiency," Environmetrics, John Wiley & Sons, Ltd., vol. 35(1), February.
    6. Yifan Zhu & Chongzhi Di & Ying Qing Chen, 2019. "Clustering Functional Data with Application to Electronic Medication Adherence Monitoring in HIV Prevention Trials," Statistics in Biosciences, Springer;International Chinese Statistical Association, vol. 11(2), pages 238-261, July.
    7. Irene Vrbik & Paul McNicholas, 2015. "Fractionally-Supervised Classification," Journal of Classification, Springer;The Classification Society, vol. 32(3), pages 359-381, October.
    8. Maurizio Vichi & Carlo Cavicchia & Patrick J. F. Groenen, 2022. "Hierarchical Means Clustering," Journal of Classification, Springer;The Classification Society, vol. 39(3), pages 553-577, November.
    9. Batool, Fatima & Hennig, Christian, 2021. "Clustering with the Average Silhouette Width," Computational Statistics & Data Analysis, Elsevier, vol. 158(C).
    10. Patrick D. Shay & Stephen S. Farnsworth Mick, 2017. "Clustered and distinct: a taxonomy of local multihospital systems," Health Care Management Science, Springer, vol. 20(3), pages 303-315, September.
    11. Roberto Rocci & Stefano Antonio Gattone & Roberto Di Mari, 2018. "A data driven equivariant approach to constrained Gaussian mixture modeling," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 12(2), pages 235-260, June.
    12. Wan-Lun Wang, 2019. "Mixture of multivariate t nonlinear mixed models for multiple longitudinal data with heterogeneity and missing values," TEST: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 28(1), pages 196-222, March.
    13. Matthijs Warrens, 2010. "Inequalities Between Kappa and Kappa-Like Statistics for k×k Tables," Psychometrika, Springer;The Psychometric Society, vol. 75(1), pages 176-185, March.
    14. Redivo, Edoardo & Nguyen, Hien D. & Gupta, Mayetri, 2020. "Bayesian clustering of skewed and multimodal data using geometric skewed normal distributions," Computational Statistics & Data Analysis, Elsevier, vol. 152(C).
    15. Jerzy Korzeniewski, 2016. "New Method Of Variable Selection For Binary Data Cluster Analysis," Statistics in Transition New Series, Polish Statistical Association, vol. 17(2), pages 295-304, June.
    16. Zhu, Xuwen & Melnykov, Volodymyr, 2018. "Manly transformation in finite mixture modeling," Computational Statistics & Data Analysis, Elsevier, vol. 121(C), pages 190-208.
    17. Amiri, Babak & Karimianghadim, Ramin, 2024. "A novel text clustering model based on topic modelling and social network analysis," Chaos, Solitons & Fractals, Elsevier, vol. 181(C).
    18. Li, Pai-Ling & Chiou, Jeng-Min, 2011. "Identifying cluster number for subspace projected functional data clustering," Computational Statistics & Data Analysis, Elsevier, vol. 55(6), pages 2090-2103, June.
    19. A van Giessen & K G M Moons & G A de Wit & W M M Verschuren & J M A Boer & H Koffijberg, 2015. "Tailoring the Implementation of New Biomarkers Based on Their Added Predictive Value in Subgroups of Individuals," PLOS ONE, Public Library of Science, vol. 10(1), pages 1-14, January.
    20. Guang Ouyang & Dipak K. Dey & Panpan Zhang, 2020. "Clique-Based Method for Social Network Clustering," Journal of Classification, Springer;The Classification Society, vol. 37(1), pages 254-274, April.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:050:i13. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.