K-Means clustering analysis of public satisfaction with 50% electricity tariff reduction
DOI:
https://doi.org/10.35335/mandiri.v14i1.418Keywords:
Electricity Tariff, K-Means Clustering, Public Satisfaction, Sentiment Analyze, Social Media XAbstract
At the beginning of 2025, the Indonesian government implemented a policy to reduce electricity tariffs by 50% for household customers with power capacities of up to 2,200 VA. This policy aims to boost public purchasing power and stimulate economic growth, particularly among lower-middle-income groups. However, public responses to the policy have been varied and widely expressed on social media, especially on platform X (formerly known as Twitter). This study aims to evaluate public satisfaction with the electricity tariff reduction policy through sentiment analysis on social media X using the K-Means Clustering method. Data were collected through a crawling process using specific relevant keywords, followed by preprocessing steps such as cleansing, case folding, tokenizing, stemming, and conversion into numerical form using TF-IDF. The clustering results show that Cluster 1 dominates with 662 tweets (68.74%), predominantly reflecting positive sentiment, indicating that the majority of the public responded favorably to the 50% electricity tariff reduction policy. Cluster 2 consists of 165 tweets (17.13%) expressing negative sentiment, suggesting that some members of the public voiced concerns or dissatisfaction with the policy. Meanwhile, Cluster 0 includes 136 tweets (14.12%) containing neutral sentiment, representing moderate responses without a strong stance. These findings indicate that, overall, the policy received a generally positive reception from the public, although there are still critical and neutral perspectives.
References
Alwaan, A. Z., Muhammad, B., Wahyuni, S., & Hidayah, H. (2025). Analisis Persepsi Masyarakat Terhadap Aktivitas Media Sosial dalam Pembentukan Opini Publik di Era Digital. Analisis Persepsi Masyarakat
Terhadap Aktivitas Media Sosial Dalam Pembentukan Opini Publik Di Era Digital, 6(1), 459–462.
Amiri, F., Abbasi, S., & Babaie Mohamadeh, M. (2022). Clustering Methods to Analyze Social Media Posts during Coronavirus Pandemic in Iran. Technology Journal of Artificial Intelligence and Data Mining, 10(2), 159–169. https://doi.org/10.22044/JADM.2022.11270.228
Desiderio, R. J., & Pablo, del R. (2022). Analysing the drivers of the efficiency of households in electricity consumption. Energy Policy, 164, 112828. https://doi.org/10.1016/j.enpol.2022.11282
Enrich, J., Li, R., Mizrahi, A., & Reguant, M. (2024). Measuring the impact of time-of-use pricing on electricity consumption: Evidence from Spain. Journal of Environmental Economics and Management, 123, 102901. https://doi.org/10.1016/j.jeem.2023.102901
Gilardi, F., Gessler, T., Kubli, M., & Müller, S. (2021). Social Media and Policy Responses to the COVID‐19 Pandemic in Switzerland. Swiss Political Science Review, 27(2), 243–256. https://doi.org/10.1111/spsr.12458
Gumelar, G., & Girsang, A. S. (2024). Understanding Public Opinions of Government Measures Against COVID-19 Through Twitter Sentiment Analysis. Journal of Logistics, Informatics and Service Science, 11(2). https://doi.org/10.33168/JLISS.2024.0201
Hoti, M. H., & Ajdari, J. (2023). Sentiment Analysis Using the Vader Model for Assessing Company Services Based on Posts on Social Media. SEEU Review, 18(2), 19–33. https://doi.org/10.2478/seeur-2023-0043
Hutagalung, W. M. S. N., Tony, T., & Jaya Perdana, N. (2023). Analisis Sentimen Pada Opini Kenaikan Harga Bahan Bakar Minyak Pada Media Sosial Twitter. Simtek: Jurnal Sistem Informasi Dan Teknik Komputer, 8(2), 280–284. https://doi.org/10.51876/simtek.v8i2.207
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. https://doi.org/10.1016/j.ins.2022.11.139
Ilyas, R., Hussain, K., Ullah, M. Z., & Xue, J. (2022). Distributional impact of phasing out residential electricity subsidies on household welfare. Energy Policy, 163, 112825. https://doi.org/10.1016/j.enpol.2022.112825
Itua, E., & Monday, O. S. (2025). Utility of Quantitative Research Methods: Implication for Public Administration. International Journal of Social Science and Human Research, 08(05). https://doi.org/10.47191/ijsshr/v8-i5-33
Kusuma, A., & Nugroho, A. (2021). Analisa Sentimen Pada Twitter Terhadap Kenaikan Tarif Dasar Listrik Dengan Metode Naïve Bayes. Jurnal Ilmiah Teknologi Informasi Asia, 15(2), 137. https://doi.org/10.32815/jitika.v15i2.557
Miranti, A. Z. L., Nurul, A. S. W., Muhammad, S. R., & Galuh, W. S. (2025). Penerapan Metode K-Means Clustering dalam Menganalisis Sentimen Masyarakat terhadap K-Popers pada Twitter. Progresif: Jurnal Ilmiah Komputer, 18(2), 201–210. https://databoks.katadata.co.id/
Mutumba, G. S., Mubiinzi, G., & Amwonya, D. (2024). Electricity consumption and economic growth: Evidence from the East African community. Energy Strategy Reviews, 54, 101431. https://doi.org/10.1016/j.esr.2024.101431
Nurcahyawati, V., Mustaffa, Z., & Khalaf, M. (2025). Exceeding Manual Labeling: VADER Lexicon as an Accurate Alternative to Automatic Sentiment Classification. The International Arab Journal of Information Technology, 22(2). https://doi.org/10.34028/iajit/22/2/2
Qi, M., Zhao, J., & Feng, Y. (2024). An optimized public opinion communication system in social media networks based on K-means cluster analysis. Heliyon, 10(24), e40033. https://doi.org/10.1016/j.heliyon.2024.e40033
Rahmawati, N, Buaton, R & Ambarita. I. (2024). Klasifikasi Tingkat Kepuasan Masyarakat Penggunaan BPJS Kesehatan di Kota Binjai Menggunakan K-Means Clustering. Switch: Jurnal Sains Dan Teknologi Informasi, 2(4), 86–98. https://doi.org/10.62951/switch.v2i4.188
Rochman, R. S., Retnani, W. E. Y., & Juwita, O. (2020). Rancang Bangun Aplikasi Analisis Indeks Kepuasan Pelanggan pada PT. PLN (PERSERO) Area Jember dengan Menggunakan Pendekatan Metode Servqual dan K-Means Clustering. Berkala Saintek, 8(3), 96. https://doi.org/10.19184/bst.v8i3.12571
Satria, T., & Nurmandi, A. (2024). Behavioral Patterns of Social Media Users toward Policy: A Scientometric Analysis. Policy & Governance Review, 8(2), 192. https://doi.org/10.30589/pgr.v8i2.902
Setiawan, G. H., & Adnyana, I. M. B. (2023). Improving Helpdesk Chatbot Performance with Term Frequency-Inverse Document Frequency (TF-IDF) and Cosine Similarity Models. Journal of Applied Informatics and Computing, 7(2), 252–257. https://doi.org/10.30871/jaic.v7i2.6527
Sjoraida, D. F., Guna, B. W. K., Nungraha, A. R., Pasaribu, D., & Djafri, N. (2024). Public Opinion Formation in the Digital Age : A Review of Literature. Indonesia Journal of Engineering and Education Technology (IJEET), 2(2), 290–297. https://doi.org/10.61991/ijeet.v2i2.52
Supriadi, A. Y., Ikhsan, M., Mahi, B. R., & Girianna, M. (2020). Impact of Changes to Subsidised Electricity Tariffs on The Welfare Of Households. ETIKONOMI, 18(2), 169–184. https://doi.org/10.15408/etk.v18i2.12041
Wang, Z., Li, H., Deng, N., Cheng, K., Lu, B., Zhang, B., & Wang, B. (2020). How to effectively implement an incentive-based residential electricity demand response policy? Experience from large-scale trials and matching questionnaires. Energy Policy, 141, 111450. https://doi.org/10.1016/j.enpol.2020.111450
Weng, S., Schwarz, G., Schwarz, S., & Hardy, B. (2021). A Framework for Government Response to Social Media Participation in Public Policy Making: Evidence from China. International Journal of Public Administration, 44(16), 1424–1434. https://doi.org/10.1080/01900692.2020.1852569
Xiao, E. (2024). Comprehensive K-Means Clustering. Journal of Computer and Communications, 12(03), 146–159. https://doi.org/10.4236/jcc.2024.123009
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Muhammad Fitrah Affandi Harahap, Abdul Halim Hasugian

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




