Logistic Regression for Sentiment Analysis of Insecurity Phenomena on Platform X

Authors

  • Emeylia Safitri Universitas Terbuka
  • Wara Alfa Syukrilla UIN Syarif Hidayatullah Jakarta
  • Ika Nur Laily Fitriana Universitas Terbuka

DOI:

https://doi.org/10.36456/jstat.vol18.no1.a10545

Keywords:

insecurity, Logistic Regression, sentiment, platform X, text mining

Abstract

The phenomenon of insecurity as a psychological symptom is increasingly becoming a topic of discussion on social media. This study aims to analyze public sentiment toward the phenomenon of insecurity as expressed through posts on Platform X. The use of sentiment analysis in the context of insecurity is crucial because the phenomenon is subjective and often undetectable in real life. In this context, sentiment analysis is an effective tool for systematically and objectively exploring user sentiment. Data was collected from Indonesian-language tweets in January 2025 using related keywords such as “insecure”,“minder”, and “overthinking.” After undergoing text preprocessing, the data was classified into three sentiment categories: positive, neutral, and negative. Logistic regression was employed as the classification method, with 10-fold cross-validation used to evaluate model performance. The study’s results show a dominance of negative sentiment at 73.34%, with positive and neutral sentiments accounting for 20.38% and 6.28%, respectively. The model’s average accuracy reached 83.13%, with the best performance in detecting negative sentiment. Wordcloud visualizations revealed a dominance of negatively nuanced words such as “takut”,“rendah” and “sendiri.” These findings underscore the importance of deeper understanding of the psychological dynamics of the digital public. This study also paves the way for data-driven interventions to support mental health literacy in online spaces.

References

[1] A. Valentina, G. L. Putri, V. Valiani, and O. H. Putri, “Komunikasi Visual untuk Edukasi Insecurity pada Remaja Perempuan yang Diakibatkan oleh Penggunaan Media Sosial,”, bahasarupa, vol. 5, no. 2, pp. 237–245, 2022.

[2] D. D. Anwar, K. A. Wibowo and H. S. M. Rohayati, “Pengaruh Penggunaan Media Sosial X (Twitter) Terhadap Partisipasi Politik pada Pemilu Presiden Indonesia Tahun 2024,” Jurnal Riset Komunikasi, vol. 15, no. 2, pp. 314–328, 2024.

[3] S. A. R. Manaf, A. Alamudi, and A. Fitrianto, “Sentiment Analysis of Twitter Users’ Opinion Towards Face-to-Face Learning: Analisis Sentimen Tanggapan Masyarakat Pengguna Twitter terhadap Pembelajaran Tatap Muka,”, Indonesian Journal of Statistics and Its Applications, vol. 7, no. 1, pp. 15–31, 2023.

[4] A. N. Alifah, A. I. Edina, and M. Almuhayar, “Ordinal Logistic Regression Model of Micro, Small, and Medium-Sized Enterprises Income: A Case Study of Micro, Small and Medium-Sized Enterprises in Surabaya,”, Indonesian Journal of Statistics and Its Applications, vol. 8, no. 2, pp. 143–154, 2024.

[5] C. Lee, G. H. Huang, S. J. Ashford, Jayanti, S. P. Palupi, and K. A. Notodiputro, “Job Insecurity and the Changing Workplace: Recent Developments and the Future Trends in Job Insecurity Research,”, Annual Review of Organizational Psychology and Organizational Behaviour, vol. 5, no 1, pp. 335–359, 2018.

[6] R Nikhil, N. Tikoo, S. Kurle, H. S. Pisupati, and G. R. Prasa, “Sentiment Analysis of Twitter Users’ Opinion Towards Face-to-Face Learning,”, Journal of Emerging Technologies and Innovative Research (JETIR), vol. 2, no. 4, pp. 1292-1296, 2015.

[7] D. Jayanti, S. P. Palupi, and K. A. Notodiputro, “A Conditional Logistic Regression Model for Analyzing Unemployment Rates in West Java: Model Regresi Logistik Bersyarat untuk Analisis Tingkat Pengangguran di Provinsi Jawa Barat,”, Indonesian Journal of Statistics and Its Applications, vol. 5, no. 1, pp. 195–204, 2021.

[8] A. Z. Taufan and W. Wibowo, “Analisis Sentimen Terkait Persepsi Keamanan Data Informasi Dan Privasi di Indonesia Menggunakan Pendekatan Machine Learning,”, JINTEKS, vol. 6, no. 3, pp. 728-736, 2024.

[9] Y. Zhang, Z. Xu, and J. Lin, “Text Mining for Social Media Analysis: Trends and Techniques,”, Journal of Data Science, vol. 20, no. 1, pp. 65–80, 2022.

[10] S. M. Mohammad. "Sentiment analysis: Automatically detecting valence, emotions, and other affectual states from text,". In H. L. Meiselman (Ed.), Emotion measurement (2nd ed.) Elsevier, pp. 323–379), 2021.

[11] A. F. Ningrum and I. F. Amri, “Sentiment Analysis Of Public Opinion On Handling Stunting In Indonesia Using Random Forest,”, J Statistika, vol. 17, no. 1, pp. 645–654, 2024.

[12] D. K. A. Astutik, A. Indrasetianingsih, F. Fitriani, “Penerapan Text Mining pada Analisis Sentimen Pengguna Twitter Layanan Transportasi Online Menggunakan Metode Density Based Spatial Clustering of Applications With Noise (DBSCAN) dan K-Means,”, J Statistika, vol. 15, no. 1, pp. 184-194, 2022.

[13] R. Singh, and A. Gupta, “Precision and Recall in Machine Learning Algorithms,”, Journal of Machine Learning Applications, vol. 11, no. 3, pp. 213–221, 2020.

[14] N. Thamrin, A. F. Baktiar, F. A. Addawiyah, M. Husna, and T. Irwati, “Determinants of Antenatal Care Visits in Indonesia with Synthetic Minority Over-Sampling Techniques for Imbalance Data: Determinan Kunjungan Antenatal Care di Indonesia dengan Teknik Synthetic Minority Over-Sampling untuk Imbalanced Data,”, Indonesian Journal of Statistics and Its Applications, vol. 7, no. 2, pp. 86–104, 2023.

Downloads

Published

07/24/2025

How to Cite

Logistic Regression for Sentiment Analysis of Insecurity Phenomena on Platform X. (2025). J Statistika: Jurnal Ilmiah Teori Dan Aplikasi Statistika, 18(1), 948-956. https://doi.org/10.36456/jstat.vol18.no1.a10545