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

clues: An R Package for Nonparametric Clustering Based on Local Shrinking

Author

Listed:
  • Chang, Fang
  • Qiu, Weiliang
  • Zamar, Ruben H.
  • Lazarus, Ross
  • Wang, Xiaogang

Abstract

Determining the optimal number of clusters appears to be a persistent and controversial issue in cluster analysis. Most existing R packages targeting clustering require the user to specify the number of clusters in advance. However, if this subjectively chosen number is far from optimal, clustering may produce seriously misleading results. In order to address this vexing problem, we develop the R package clues to automate and evaluate the selection of an optimal number of clusters, which is widely applicable in the field of clustering analysis. Package clues uses two main procedures, shrinking and partitioning, to estimate an optimal number of clusters by maximizing an index function, either the CH index or the Silhouette index, rather than relying on guessing a pre-specified number. Five agreement indices (Rand index, Hubert and Arabie's adjusted Rand index, Morey and Agresti's adjusted Rand index, Fowlkes and Mallows index and Jaccard index), which measure the degree of agreement between any two partitions, are also provided in clues. In addition to numerical evidence, clues also supplies a deeper insight into the partitioning process with trajectory plots.

Suggested Citation

  • Chang, Fang & Qiu, Weiliang & Zamar, Ruben H. & Lazarus, Ross & Wang, Xiaogang, 2010. "clues: An R Package for Nonparametric Clustering Based on Local Shrinking," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i04).
  • Handle: RePEc:jss:jstsof:v:033:i04
    DOI: http://hdl.handle.net/10.18637/jss.v033.i04
    as

    Download full text from publisher

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v033i04/clues_0.5-0.tar.gz
    Download Restriction: no

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v033i04/WDBC.csv.zip
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v033.i04?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. Wang, Xiaogang & Qiu, Weiliang & Zamar, Ruben H., 2007. "CLUES: A non-parametric clustering method based on local shrinking," Computational Statistics & Data Analysis, Elsevier, vol. 52(1), pages 286-298, September.
    2. Mack, Y. P. & Rosenblatt, M., 1979. "Multivariate k-nearest neighbor density estimates," Journal of Multivariate Analysis, Elsevier, vol. 9(1), pages 1-15, March.
    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. Paola Tellaroli & Marco Bazzi & Michele Donato & Alessandra R Brazzale & Sorin Drăghici, 2016. "Cross-Clustering: A Partial Clustering Algorithm with Automatic Estimation of the Number of Clusters," PLOS ONE, Public Library of Science, vol. 11(3), pages 1-14, March.
    2. Rodríguez, Carlos E. & Núñez-Antonio, Gabriel & Escarela, Gabriel, 2020. "A Bayesian mixture model for clustering circular data," Computational Statistics & Data Analysis, Elsevier, vol. 143(C).
    3. Suner Aslı, 2019. "Clustering methods for single-cell RNA-sequencing expression data: performance evaluation with varying sample sizes and cell compositions," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 18(5), pages 1-14, October.
    4. James, Nicholas A. & Matteson, David S., 2015. "ecp: An R Package for Nonparametric Multiple Change Point Analysis of Multivariate Data," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 62(i07).

    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. repec:jss:jstsof:33:i04 is not listed on IDEAS
    2. Qiu Weiliang & He Wenqing & Wang Xiaogang & Lazarus Ross, 2008. "A Marginal Mixture Model for Selecting Differentially Expressed Genes across Two Types of Tissue Samples," The International Journal of Biostatistics, De Gruyter, vol. 4(1), pages 1-28, October.
    3. Gery Geenens, 2014. "Probit Transformation for Kernel Density Estimation on the Unit Interval," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 109(505), pages 346-358, March.
    4. Cheng, Philip E., 1995. "A note on strong convergence rates in nonparametric regression," Statistics & Probability Letters, Elsevier, vol. 24(4), pages 357-364, September.
    5. Penrose, Mathew D., 2000. "Central limit theorems for k-nearest neighbour distances," Stochastic Processes and their Applications, Elsevier, vol. 85(2), pages 295-320, February.
    6. Onur Genç & Ali Dağ, 2016. "A machine learning-based approach to predict the velocity profiles in small streams," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 30(1), pages 43-61, January.
    7. Lucio Barabesi, 2001. "Local parametric density estimation methods in line transect sampling," Metron - International Journal of Statistics, Dipartimento di Statistica, Probabilità e Statistiche Applicate - University of Rome, vol. 0(1-2), pages 22-38.
    8. Tomasz Jetka & Karol Nienałtowski & Tomasz Winarski & Sławomir Błoński & Michał Komorowski, 2019. "Information-theoretic analysis of multivariate single-cell signaling responses," PLOS Computational Biology, Public Library of Science, vol. 15(7), pages 1-23, July.
    9. Burman, Prabir, 2002. "Estimation of equifrequency histograms," Statistics & Probability Letters, Elsevier, vol. 56(3), pages 227-238, February.
    10. Jing Qi & Yang Zhou & Zicen Zhao & Shuilin Jin, 2021. "SDImpute: A statistical block imputation method based on cell-level and gene-level information for dropouts in single-cell RNA-seq data," PLOS Computational Biology, Public Library of Science, vol. 17(6), pages 1-20, June.
    11. Wang, Xiaogang & Qiu, Weiliang & Zamar, Ruben H., 2007. "CLUES: A non-parametric clustering method based on local shrinking," Computational Statistics & Data Analysis, Elsevier, vol. 52(1), pages 286-298, September.
    12. Devroye, Luc & Krzyzak, Adam, 2002. "New Multivariate Product Density Estimators," Journal of Multivariate Analysis, Elsevier, vol. 82(1), pages 88-110, July.
    13. Sain, Stephan R., 2002. "Multivariate locally adaptive density estimation," Computational Statistics & Data Analysis, Elsevier, vol. 39(2), pages 165-186, April.
    14. Fan, Yanqin & Hou, Lei & Yan, Karen X., 2018. "On the density estimation of air pollution in Beijing," Economics Letters, Elsevier, vol. 163(C), pages 110-113.
    15. Dmitri Pavlov & Svetla Slavova & Richard J. Kryscio, 2009. "Estimating Relative Risk on the Line Using Nearest Neighbor Statistics," Methodology and Computing in Applied Probability, Springer, vol. 11(2), pages 249-265, June.
    16. Bécue-Bertaut, Monica & Pagès, Jérome, 2008. "Multiple factor analysis and clustering of a mixture of quantitative, categorical and frequency data," Computational Statistics & Data Analysis, Elsevier, vol. 52(6), pages 3255-3268, February.
    17. Fraiman, Ricardo & Justel, Ana & Svarc, Marcela, 2010. "Pattern recognition via projection-based kNN rules," Computational Statistics & Data Analysis, Elsevier, vol. 54(5), pages 1390-1403, May.
    18. Zheng Li & Guannan Liu & Qi Li, 2017. "Nonparametric Knn estimation with monotone constraints," Econometric Reviews, Taylor & Francis Journals, vol. 36(6-9), pages 988-1006, October.
    19. Kung, Yi-Hung & Lin, Pei-Sheng & Kao, Cheng-Hsiung, 2012. "An optimal k-nearest neighbor for density estimation," Statistics & Probability Letters, Elsevier, vol. 82(10), pages 1786-1791.
    20. Kohtaro Hitomi & Masamune Iwasawa & Yoshihiko Nishiyama, 2018. "Rate Optimal Specification Test When the Number of Instruments is Large," KIER Working Papers 986, Kyoto University, Institute of Economic Research.
    21. Hino, Hideitsu & Koshijima, Kensuke & Murata, Noboru, 2015. "Non-parametric entropy estimators based on simple linear regression," Computational Statistics & Data Analysis, Elsevier, vol. 89(C), pages 72-84.

    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:033:i04. 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.