Comparative Study of Agglomerative Hierarchical Clustering and K-Means for Student Academic Stress Grouping


  • Irfan Arifin Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Iwan Iskandar * Mail Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Elvia Budianita Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Novi Yanti Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Fitri Insani Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • (*) Corresponding Author
Keywords: Academic Stress; Agglomerative Hierarchical Clustering; K-Means; Perception of Academic Stress Scale; University Students

Abstract

Academic stress is a common problem experienced by college students due to high academic demands, parental expectations, and social pressures during their college years. The high levels of academic stress experienced by students underscore the need for a data-driven approach to more accurately identify and map students’ stress levels. This research aims to compare the performance of the Agglomerative Hierarchical Clustering (AHC) and K-Means methods in clustering students’ academic stress levels and to determine which method produces the best clustering quality. Data were obtained from the distribution of the Perception of Academic Stress Scale (PAS) questionnaire, consisting of 18 statement items, with 361 valid respondents from the Informatics Engineering Program at UIN SUSKA Riau, class of 2022–2025. The selection of the best linkage method in AHC was performed using the Cophentic Correlation Coefficient (CCC), where Ward Linkage was selected with the highest CCC value of 0.8180. Comparative evaluation was conducted using the Silhouette Coefficient, Davies-Bouldin Index, and Calinski-Harabasz Index for variations in the number of clusters from K=2 to K=7. The test results showed that AHC Ward Linkage with K=2 was the best configuration with a Silhouette Coefficient of 0.4407 and a Davies-Bouldin Index of 0.8373, outperforming K-Means, which only excelled in the Calinski-Harabasz Index with a value of 419.7405 The clustering resulted in two clusters: High Stress with 244 students (67.6%) and Low Stress with 117 students (32.4%). The 2023 and 2024 cohorts had the highest proportions of high stress at 90.4% and 90.6%, respectively. This research contributes empirical evidence comparing hierarchy-based and partition-based clustering methods for academic stress data, while also demonstrating the use of the Cophenetic Correlation Coefficient as an objective basis for linkage method selection in AHC. It is hoped that the results of this study can serve as a basis for the institution in designing targeted mental health intervention programs for students.

Downloads

Download data is not yet available.

References

F. Yunita Sari, M. Sukma Kuntari, W. Ari Yati, H. Khaulasari, and M. Hafiyusholeh, “Implementasi K-Means Clustering Melalui Pemanfaatan Sampling Kombinasi Pada Pengelompokan Pola Kesehatan Mental Mahasiswa Sains dan Teknologi,” J. Nas. Teknol. dan Sist. Inf., vol. 11, no. 1, pp. 9–16, Apr. 2025, doi: 10.25077/TEKNOSI.V11I01.2025.9-16.

Z. Mufatihah, A. P. Zelya, R. A. Puriani, and R. M. Putri, “Fenomena Stres Akademik Pada Mahasiswa,” EDU Res., vol. 6, no. 1, pp. 573–580, Mar. 2025, doi: 10.47827/JER.V6I1.564.

Y. Deng et al., “Family and Academic Stress and Their Impact on Students’ Depression Level and Academic Performance,” Front. Psychiatry, vol. 13, p. 869337, Jun. 2022, doi: 10.3389/FPSYT.2022.869337/EPUB.

R. K. Djoar et al., “Faktor - Faktor Yang Mempengaruhi Stress Akademik Mahasiswa Tingkat Akhir,” Jambura Heal. Sport J., vol. 6, no. 1, pp. 52–59, 2024, doi: 10.37311/JHSJ.V6I1.24064.

H. Lubis, A. Ramadhani, and M. Rasyid, “Stres Akademik Mahasiswa dalam Melaksanakan Kuliah Daring Selama Masa Pandemi Covid 19,” Psikostudia, vol. 10, no. 1, pp. 31–39, 2021, doi: 10.30872/psikostudia.v10i1.5454.

K. J. Jensen, J. F. Mirabelli, A. J. Kunze, T. E. Romanchek, and K. J. Cross, “Undergraduate student perceptions of stress and mental health in engineering culture,” Int. J. STEM Educ., vol. 10, no. 1, pp. 30-, 2023, doi: 10.1186/S40594-023-00419-6.

L. D. Wiranti, E. Budianita, A. Nazir, F. Insani, and R. Susanti, “Penerapan Algoritma K-Means Untuk Mengelompokkan Tingkat Stres Akademik Pada Mahasiswa,” Build. Informatics, Technol. Sci., vol. 7, no. 1, pp. 400–409, Jun. 2025, doi: 10.47065/BITS.V7I1.7410.

N. S. Nurfadilah, E. Budianita, A. Nazir, F. Insani, and R. Susanti, “Pengelompokan Tingkat Stres Akademik Pada Mahasiswa Menggunakan Algoritma K-Medoids,” Build. Informatics, Technol. Sci., vol. 7, no. 1, pp. 344–353, Jun. 2025, doi: 10.47065/BITS.V7I1.7409.

R. Z. Alfaiza, E. Budianita, S. K. Gusti, and I. Afrianty, “Pengelompokkan Tingkat Stres Akademik Pada Mahasiswa Menggunakan Algoritma Fuzzy C-Means,” TIN Terap. Inform. Nusant., vol. 6, no. 5, pp. 516–527, 2025, doi: 10.47065/tin.v6i5.8460.

J. Wijaya, T. Magdalena, A. Januaviani, and K. Kunci, “Clustering Faktor Stres Pada Mahasiswa Aktif Menggunakan Algoritma K-Means dan K-Modes,” Mutiara Multidiciplinary Sci., vol. 2, no. 2, pp. 907–917, Mar. 2024, doi: 10.57185/MUTIARA.V2I2.137.

A. Trifani, S. Tunas Bangsa, A. Perdana, W. Stikom, T. Bangsa, and H. Qurniawan, “Penerapan Data Mining Klasifikasi C4.5 dalam Menentukan Tingkat Stres Mahasiswa Akhir,” J. Ris. RUMPUN ILMU Tek., vol. 1, no. 2, pp. 91–105, Oct. 2022, doi: 10.55606/JURRITEK.V1I2.414.

K. P. Simanjuntak and U. Khaira, “Pengelompokkan Titik Api di Provinsi Jambi dengan Algoritma Agglomerative Hierarchical Clustering,” MALCOM Indones. J. Mach. Learn. Comput. Sci., vol. 1, no. 1, pp. 7–16, Mar. 2021, doi: 10.57152/MALCOM.V1I1.6.

R. Kusumastuti, E. Bayunanda, A. M. Rifa’i, M. R. G. Asgar, F. I. Ilmawati, and K. Kusrini, “Clustering Titik Panas Menggunakan Algoritma Agglomerative Hierarchical Clustering (AHC),” CogITo Smart J., vol. 8, no. 2, pp. 501–513, Dec. 2022, doi: 10.31154/COGITO.V8I2.438.501-513.

E. Widodo, P. Ermayani, L. N. Laila, and A. T. Madani, “Pengelompokkan Provinsi di Indonesia Berdasarkan Tingkat Kemiskinan Menggunakan Analisis Hierarchical Agglomerative Clustering,” Semin. Nas. Off. Stat., vol. 2021, no. 1, pp. 557–566, Nov. 2021, doi: 10.34123/SEMNASOFFSTAT.V2021I1.971.

A. Sujjada, G. P. Insany, and S. Noer, “Analisis Clustering Data Penyandang Disabilitas Menggunakan Metode Agglomerative Hierarchical Clustering dan K-means,” J. Teknol. dan Manaj. Inform., vol. 10, no. 1, pp. 1–12, Jun. 2024, doi: 10.26905/JTMI.V10I1.10654.

T. Abdulpatah, B. N. Sari, U. S. Karawang, J. H. S. R. Waluyo, T. Timur, and J. Barat, “Perbandingan Algoritma K-Means dan Agglomerative Hierarchical Clustering untuk Pengelompokan Daerah Penghasil Padi di Indonesia,” J. Inform. dan Tek. Elektro Terap., vol. 13, no. 3, pp. 2830–7062, 2025, doi: 10.23960/JITET.V13I3.7251.

L. Husna, D. Hamdhana, and M. Ula, “Analisis Perbandingan Kinerja Algoritma Agglomerative Hierarchical Clustering dan K-Medoids untuk Klasterisasi Jenis Penyakit Pasien Rawat Inap,” Rabit J. Teknol. dan Sist. Inf. Univrab, vol. 10, no. 2, pp. 1355–1368, 2025, doi: 10.36341/RABIT.V10I2.6554.

C. Tjipta et al., “Comparison of K-Means++ and Agglomerative Hierarchical Methods in Clustering Healthcare Workers,” INOVTEK Polbeng - Seri Inform., vol. 10, no. 2, pp. 717–728, 2025, doi: 10.35314/PCBRS043.

W. R. Murdhiono and V. Vidayanti, “Examining Academic Stress and Its Source Among Nursing Professional Students (Ners) Using the Modified Perception of Academic Stress Scale (PAS),” Indones. Nurs. J. Educ. Clin., vol. 7, no. 1, p. 2, 2022, doi: 10.24990/INJEC.V7I1.441.

N. F. Hadi and N. K. Afandi, “Literature Review is A Part of Research,” Sulawesi Tenggara Educ. J., vol. 1, no. 3, pp. 64–71, 2021, doi: 10.54297/SEDUJ.V1I3.203.

A. M. Hudin and M. S. Budiani, “Hubungan antara Workplace Well-Being dengan Kinerja Karyawan pada PT. X di Sidoarjo,” Character J. Penelit. Psikol., vol. 8, no. 4, pp. 257–267, 2021, doi: 10.26740/CJPP.V8I4.41192.

D. Chicco, L. Oneto, and E. Tavazzi, “Eleven quick tips for data cleaning and feature engineering,” PLOS Comput. Biol., vol. 18, no. 12, p. e1010718, 2022, doi: 10.1371/JOURNAL.PCBI.1010718.

M. S. I. Lubis et al., “Analisis Pengelompokan Wilayah Kepolisian Daerah di Indonesia menggunakan Algoritma Hierarchical Clustering,” Innov. J. Soc. Sci. Res., vol. 5, no. 3, pp. 6646–6663, Jun. 2025, doi: 10.31004/INNOVATIVE.V5I3.19790.

E. K. Tokuda, C. H. Comin, and L. da F. Costa, “Revisiting agglomerative clustering,” Phys. A Stat. Mech. its Appl., vol. 585, p. 126433, 2022, doi: 10.1016/J.PHYSA.2021.126433.

E. U. Oti and M. O. Olusola, “Overview of Agglomerative Hierarchical Clustering Methods,” Br. J. Comput. Netw. Inf. Technol., vol. 7, no. 2, pp. 14–23, 2024, doi: 10.52589/BJCNIT-CV9POOGW.

T. Wismarini, S. Eniyati, E. Lestariningsih, S. Soelistijadi, E. Ardhianto, and W. Handoko, “Identifikasi Pola Konflik Lahan Perkebunan di Lingkungan PTPN Group Berbasis Data Hukum Menggunakan Hierarchical Clustering dengan Algoritma Agglomerative,” J. FASILKOM, vol. 14, no. 3, pp. 654–666, Dec. 2024, doi: 10.37859/JF.V14I3.7915.

A. Karna and K. Gibert, “Automatic identification of the number of clusters in hierarchical clustering,” Neural Comput. Appl. 2021 341, vol. 34, no. 1, pp. 119–134, 2021, doi: 10.1007/S00521-021-05873-3.

A. M. Ikotun, A. E. Ezugwu, L. Abualigah, B. Abuhaija, and J. Heming, “K-means clustering algorithms: A comprehensive review, variants analysis, and advances in the era of big data,” Inf. Sci. (Ny)., vol. 622, pp. 178–210, 2023, doi: 10.1016/J.INS.2022.11.139.

X. Wang, Z. Shao, Y. Shen, and Y. He, “Research on fast marking method for indicator diagram of pumping well based on K-means clustering,” Heliyon, vol. 9, no. 10, p. e20468, 2023, doi: 10.1016/J.HELIYON.2023.E20468.

D. F. Surianto and D. F. Surianto, “Enhancing K-Means Clustering for Journal Articles using TF-IDF and LDA Feature Extraction,” Brill. Res. Artif. Intell., vol. 4, no. 2, pp. 964–972, 2024, doi: 10.47709/BRILLIANCE.V4I2.5547.

S. Saraçlı and M. Akşit, “Comparison of Hierarchic Clustering Methods with Cophenetic Correlation Coefficient in Big Data,” Afyon Kocatepe Üniversitesi Fen Ve Mühendislik Bilim. Derg., vol. 22, no. 3, pp. 552–559, 2022, doi: 10.35414/AKUFEMUBID.1018302.

A. Gere, “Recommendations for validating hierarchical clustering in consumer sensory projects,” Curr. Res. Food Sci., vol. 6, p. 100522, 2023, doi: 10.1016/J.CRFS.2023.100522.

D. Chicco, A. Campagner, A. Spagnolo, D. Ciucci, and G. Jurman, “The Silhouette coefficient and the Davies-Bouldin index are more informative than Dunn index, Calinski-Harabasz index, Shannon entropy, and Gap statistic for unsupervised clustering internal evaluation of two convex clusters,” PeerJ Comput. Sci., vol. 11, p. e3309, 2025, doi: 10.7717/PEERJ-CS.3309/TABLE-18.

A. Anfossi and D. Chicco, “An easy guide to the Davies-Bouldin index for unsupervised internal clustering evaluation,” Discov. Comput. 2026 291, vol. 29, no. 1, pp. 212-, 2026, doi: 10.1007/S10791-026-10094-0.

F. Pascoal, P. Branco, L. Torgo, R. Costa, and C. Magalhães, “Definition of the microbial rare biosphere through unsupervised machine learning,” Commun. Biol., vol. 8, no. 1, 2025, doi: 10.1038/S42003-025-07912-4.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Comparative Study of Agglomerative Hierarchical Clustering and K-Means for Student Academic Stress Grouping

Dimensions Badge
Article History
Submitted: 2026-06-10
Published: 2026-06-30
Abstract View: 0 times
PDF Download: 0 times
How to Cite
Arifin, I., Iskandar, I., Budianita, E., Yanti, N., & Insani, F. (2026). Comparative Study of Agglomerative Hierarchical Clustering and K-Means for Student Academic Stress Grouping. Building of Informatics, Technology and Science (BITS), 8(1), 425-438. https://doi.org/10.47065/bits.v8i1.10265
Issue
Section
Articles

Most read articles by the same author(s)

<< < 1 2 3