Pengelompokan Tingkat Kesejahteraan dan Tekanan Psikologis Mahasiswa Menggunakan Mental Health Inventory-38 dengan Algoritma K-Means
Abstract
Student mental health is an urgent issue, particularly in STEM environments with high academic demands. This study aims to categorize the mental health patterns of students in the Faculty of Science and Technology at UIN Sultan Syarif Kasim Riau from the 2022–2025 cohorts using the K-Means Clustering algorithm. Data were collected via the MHI-38 questionnaire, which was adapted into Indonesian and validated by a clinical psychologist. Of the 559 data points, 522 valid data points were used after the data cleaning stage. Clustering evaluation utilized the Davies-Bouldin Index (DBI) and the Silhouette Coefficient with two distance calculation methods Euclidean and Manhattan across the range of k=2 to 10. The best configuration was obtained at k=2; Euclidean Distance yielded a DBI of 2.03 and a Silhouette of 0.18, while Manhattan Distance yielded a DBI of 2.19 and a Silhouette of 0.20. The clustering formed two clusters: Cluster 0 consisted of 334 students (64%) categorized as having psychological well-being with an average score of 3.82, and Cluster 1 consisted of 188 students (36%) categorized as experiencing psychological stress with an average score of 2.98. Cross-cohort analysis showed that the 2022 cohort was the most stable (72.4% in Cluster 0), while the 2023 and 2024 cohorts had a proportion of Cluster 1 of around 40%. By major, Computer Science was dominated by Cluster 1 (61.8%), while Mathematics and Electrical Engineering were dominated by Cluster 0 (83.3% and 82%, respectively). These results are expected to provide information to program administrators so they can evaluate their courses.
Downloads
References
World Health Organization, World Mental Health Report: Transforming Mental Health for All. 2023. [Online]. Available: https://www.who.int/publications/i/item/9789240055109
N. Khoirunnisha and A. Sriati, “Stigma Kesehatan Mental dan Perilaku Mencari Bantuan Di Kalangan Mahasiswa: A Scoping Review,” RIGGS J. Artif. Intell. Digit. Bus., vol. 4, no. 4, pp. 228–240, 2025, doi: 10.31004/riggs.v4i4.3366.
H. Wiyono, R. D. Ariyanto, N. S. Beda, M. S. Nuwa, and I. G. Juanamasta, “Masalah Psikososial pada Mahasiswa/I di Era Pandemi Covid-19,” J. Keperawatan Jiwa, vol. 11, no. 1, p. 155, 2023, doi: 10.26714/jkj.11.1.2023.155-162.
L. Chen, H. Li, and Y. Zhang, “Academic Stress as a Predictor of Mental Health in University Students,” Cogent Educ., vol. 43, pp. 2893–2907, 2022, doi: 10.1007/s12144-022-03300-2.
W. A. Statistika, S. Y. U. Sihombing, R. K. Lubis, R. R. A. Situmorang, P. M. Fadilah, and S. Manullang, “Survei Kesehatan Mental Mahasiswa Menjelang Ujian Akhir Semester: Analisis Stres, Kecemasan, dan Strategi Penanggulangan.,” J. Pendidik. Tambusai, vol. 9(2), pp. 22722–22729, 2025.
Y. Astuti, I. R. Wulandari, A. R. Putra, and N. Kharomadhona, “Naïve Bayes untuk Prediksi Tingkat Pemahaman Kuliah Online Terhadap Mata Kuliah Algoritma Struktur Data,” J. Edukasi dan Penelit. Inform., vol. 8, no. 1, p. 28, 2022, doi: 10.26418/jp.v8i1.48848.
C. T. Veit and J. E. Ware, “The Structure of Psychological Distress and Well-Being in General Populations,” J. Consult. Clin. Psychol., vol. 51, no. 5, pp. 730–742, 1983, doi: 10.1037/0022-006X.51.5.730.
X. Sun, “Application of Data Mining Technology in College Mental Health Education,” Front. Psychol., vol. 13, no. August, pp. 1–10, 2022, doi: 10.3389/fpsyg.2022.974576.
T. G. Van Solang and A. Nugroho, “Analisis Kesehatan Mental Mahasiswa Menggunakan K-Means,” J. TEKINKOM, vol. 6, no. 1, pp. 8–15, 2023, doi: 10.37600/tekinkom.v6i1.641.
F. Sari, M. Kuntari, W. 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, 2025, doi: 10.25077/teknosi.v11i01.2025.9-16.
P. Alluri, Z. Chen, T. Thesen, N. C. Jacobson, and W. J. Marrero, “Fairness-aware K-means Clustering in Digital Mental Health for Higher Education Students : a generalizable framework for equitable clustering,” JAMIA Open, vol. 9, no. 1, pp. 1–11, 2026, doi: 10.1093/jamiaopen/ooaf174.
G. Bondolfi and P. Ghisletta, “Psychological Distress and Well-being among Students of Health Disciplines in Geneva , Switzerland : The Importance of Academic Satisfaction in The Context of Academic year- end and COVID-19 Stress on Their Learning Experience,” PLoS One, vol. 433, no. June 2020, pp. 1–13, 2022, doi: 10.1371/journal.pone.0266612.
J. Wan, C. S. S. and , Lei Hum Wee, and Y. H. Wong, “Psychological Well-being and its Associated Factors Among University Students in Sichuan ,” Front. Psychol., vol. 16, no. February, pp. 1–11, 2025, doi: 10.3389/fpsyg.2025.1473871.
M. Muhamad Rizki, “Penerapan Metode K-Means Clustering Pada Data Penjualan,” J. Mhs. Tek. Inform., vol. 7, no. 2, pp. 1303–1307, 2023, doi: 10.36040/jati.v7i2.6562.
D. A. Muhammad Sholeh, Suraya, “Penerapan Data Mining pada Model Clustering Data Kuesioner Mahasiswa terhadap Kinerja Dosen,” EKSPLORA Inform., vol. 13, no. 2, pp. 208–217, 2023, doi: 10.30864/eksplora.v13i2.751.
M. Cui, “Introduction to the K-Means Clustering Algorithm Based on the Elbow Method,” Clausius Sci. Press, vol. 1, no. 1, pp. 5–8, 2020, doi: 10.23977/accaf.2020.010102.
B. Chong, “K-means Clustering Algorithm : a brief review,” Comput. Inf. Sci., vol. 4, no. 5, pp. 37–40, 2021, doi: 10.25236/AJCIS.2021.040506.
J. Lei, “An Analytical Model of College Students ’ Mental Health Education Based on the Clustering Algorithm,” Math. Probl. Eng., vol. 2022, p. 11, 2022, doi: 10.1155/2022/1880214.
I. G. A. Gunadi and I. M. A. Wirawan, “Studi Perbandingan Algoritma Euclidean, Manhattan dan Chebysev Distance Untuk Optimasi Metode K-Means Clustering Pada Pengelompokan,” Pendidik. Teknol. dan Kejuru., vol. 22, no. 2, pp. 116–127, 2025, doi: 10.33292/jptk.v22i2.54463.
M. Orisa and A. Faisol, “Analisis Algoritma Partitioning Around Medoid untuk Penentuan Klasterisasi,” Teknol. Inf. dan Terap., vol. 8, no. 2, pp. 86–90, 2021, doi: 10/25047/jtit.v8i2.258.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Pengelompokan Tingkat Kesejahteraan dan Tekanan Psikologis Mahasiswa Menggunakan Mental Health Inventory-38 dengan Algoritma K-Means
Pages: 304-315
Copyright (c) 2026 Elvia Budianita, Yadullah Asy-syakiri, Iwan Iskandar, Fadhilah Syafria, Yuli Widiningsih

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).


