K-Means Clustering of Karawang Regency Sub-Districts Based on Population Educational Attainment to Support Educational Equity
DOI:
https://doi.org/10.31980/0tpvbx54Keywords:
K-means clustering, Regional segmentation, Educational attainment, Educational equity, Karawang RegencyAbstract
Educational attainment is unevenly distributed across the 30 sub-districts of Karawang Regency, yet regional open data remain in raw form and offer no objective guidance for equity-oriented policy. This study segments the sub-districts by the educational attainment of their residents using K-means clustering. Secondary open data from the Karawang Regency One Data portal for 2024, covering 2,612,065 residents in ten education categories, were pivoted, converted into percentages of each sub-district's population, and standardized with z-scores. The number of clusters was examined with the elbow method and the silhouette score for k = 2 to 9, and the final model used k-means++ initialization with ten restarts. Three clusters were obtained, with a silhouette score of 0.386: an advanced cluster of three sub-districts (38.51% of residents with senior high school education or above), a moderate cluster of five sub-districts (35.03%), and a lagging cluster of 22 sub-districts (17.23%) that is home to 56.1% of the population and is dominated by primary school graduates. The silhouette score was higher for k = 2 (0.467) and k = 4 (0.421), and k = 3 was selected for its policy interpretability; the advanced cluster is weakly separated (mean silhouette 0.165). The Tirtajaya value (54.71% not yet in school) could not be confirmed against a downloadable provider record; no correction or sensitivity result is claimed. The segmentation offers a screening basis for equity planning, particularly for the Lagging cluster, but represents one year and one dimension of attainment.
References
Arthur, D., & Vassilvitskii, S. (2007). k-means++: The advantages of careful seeding. In Proceedings of the 18th Annual ACM-SIAM Symposium on Discrete Algorithms (pp. 1027–1035). Philadelphia, PA: SIAM.
Barro, R. J., & Lee, J.-W. (2013). A new data set of educational attainment in the world, 1950–2010. Journal of Development Economics, 104, 184–198. doi:10.1016/j.jdeveco.2012.10.001
Choir, R. M., & Azzura, N. I. A. (2026). Pemetaan ketersediaan fasilitas pendidikan menggunakan analisis biplot dan K-Means di Kabupaten Kediri. MATHunesa: Jurnal Ilmiah Matematika, 14(1), 324–332.
Diskominfo Kabupaten Karawang. (2025). Jumlah penduduk berdasarkan jenjang pendidikan per kecamatan di Kabupaten Karawang [Dataset; data producer: Dinas Kependudukan dan Pencatatan Sipil Kabupaten Karawang]. Portal Satu Data Kabupaten Karawang. Retrieved September 22, 2026, from https://opendata.karawangkab.go.id/datasets/disdukcapil/jumlah-penduduk-berdasarkan-jenjang-pendidikan-per-kecamatan-di-kabupaten-karawang-1631039215
Han, J., Kamber, M., & Pei, J. (2012). Data mining: Concepts and techniques (3rd ed.). Waltham, MA: Morgan Kaufmann.
Hanushek, E. A., & Woessmann, L. (2008). The role of cognitive skills in economic development. Journal of Economic Literature, 46(3), 607–668.
Ikotun, A. M., Ezugwu, A. E., Abualigah, L., Abuhaija, B., & Heming, J. (2023). K-means clustering algorithms: A comprehensive review, variants analysis, and advances in the era of big data. Information Sciences, 622, 178–210.
Jain, A. K. (2010). Data clustering: 50 years beyond K-means. Pattern Recognition Letters, 31(8), 651–666.
James, G., Witten, D., Hastie, T., & Tibshirani, R. (2013). An introduction to statistical learning. New York, NY: Springer.
Janssen, M., Charalabidis, Y., & Zuiderwijk, A. (2012). Benefits, adoption barriers and myths of open data and open government. Information Systems Management, 29(4), 258–268.
Jolliffe, I. T., & Cadima, J. (2016). Principal component analysis: A review and recent developments.
Philosophical Transactions of the Royal Society A, 374(2065), 20150202. doi:10.1098/rsta.2015.0202
Kaufman, L., & Rousseeuw, P. J. (1990). Finding groups in data: An introduction to cluster analysis. New York, NY: Wiley.
Lloyd, S. P. (1982). Least squares quantization in PCM. IEEE Transactions on Information Theory, 28(2), 129–137.
MacQueen, J. (1967). Some methods for classification and analysis of multivariate observations. In L. M. Le Cam & J. Neyman (Eds.), Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability (Vol. 1, pp. 281–297). Berkeley, CA: University of California Press.
Milligan, G. W., & Cooper, M. C. (1988). A study of standardization of variables in cluster analysis. Journal of Classification, 5(2), 181–204.
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., … Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830.
Republik Indonesia. (2003). Undang-Undang Nomor 20 Tahun 2003 tentang Sistem Pendidikan Nasional. Jakarta: Sekretariat Negara.
Republik Indonesia. (2019). Peraturan Presiden Nomor 39 Tahun 2019 tentang Satu Data Indonesia. Jakarta: Sekretariat Negara.
Rousseeuw, P. J. (1987). Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. Journal of Computational and Applied Mathematics, 20, 53–65. doi:10.1016/0377-0427(87)90125-7
Safwa V.R., B. J. S., Tectona, Z. S., & Widodo, E. (2026). Segmentation of educational quality in Indonesian provinces based on K-means clustering. Jurnal Sintak, 4(2), 70–81. doi:10.62375/jsintak.v4i2.794
Shutaywi, M., & Kachouie, N. N. (2021). Silhouette analysis for performance evaluation in machine learning with applications to clustering. Entropy, 23(6), 759. doi:10.3390/e23060759
Sinaga, K. P., & Yang, M.-S. (2020). Unsupervised K-means clustering algorithm. IEEE Access, 8, 80716–80727. doi:10.1109/ACCESS.2020.2988796
Syakur, M. A., Khotimah, B. K., Rochman, E. M. S., & Satoto, B. D. (2018). Integration K-means clustering method and elbow method for identification of the best customer profile cluster. IOP Conference Series: Materials Science and Engineering, 336, 012017. doi:10.1088/1757-899X/336/1/012017
Thorndike, R. L. (1953). Who belongs in the family? Psychometrika, 18(4), 267–276.
United Nations. (2015). Transforming our world: The 2030 Agenda for Sustainable Development (A/RES/70/1). New York, NY: Author.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Riza Rumayanti Dewi, Anwar Hilman, Deden Moh Alfiansyah, Arif Budimansyah Purba, Jajang Mulyana

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
