Analysis of the Happiness Level of Indonesian Society Using the Long Short-Term Memory (LSTM) Model
DOI:
https://doi.org/10.21831/pythagoras.v20i2.95489Keywords:
Long Short-Term Memory, Prediksi, IFLSAbstract
Happiness is an important indicator for assessing societal well-being. Various research methods have been employed to analyze people's happiness levels; however, studies utilizing soft computing approaches, including Long Short-Term Memory (LSTM), remain limited. This study aims to analyze the application of the LSTM model and describe its performance in predicting the happiness levels of the Indonesian population. The data were obtained from the fifth wave of the Indonesian Family Life Survey (IFLS), comprising 1,642 respondents. The independent variables included age, marital status, gender, employment status, highest educational attainment, life satisfaction, economic status, health, religious devotion, hope, and personality, while the dependent variable was happiness, which was classified into four levels. The LSTM model used to predict the happiness levels of the Indonesian population employed three gates, namely the forget gate, input gate, and output gate, with four units in the LSTM layer and 10 training epochs. The results showed that the model achieved an accuracy of 77%, precision of 77%, recall of 100%, and an F1-score of 87%. These findings indicate that the LSTM model performs well in predicting the happiness levels of the Indonesian population. The performance of the LSTM model is also influenced by the selection of independent variables. Therefore, the findings further suggest that the independent variables used in this study may serve as meaningful indicators of happiness among the Indonesian population.
References
Awalloedin, N. (2023). Prediksi Harga Beras Super dan Medium Menggunakan LSTM dan BILSTM (Moving Average Smoothing). Jurnal Ilmu Komputer, 16(1), 32. https://doi.org/10.24843/jik.2023.v16.i01.p04
Hochreiter, S., & Schmidhuber, J. (1997). Long Short-Term Memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
Itponjaroen, N., Apsornpasakorn, K., Pimthai, E., Kaewkaisorn, K., Panitchart, S., & Siriborvornratanakul, T. (2023). Speech emotion classification using semi-supervised LSTM. Advances in Computational Intelligence, 3(4), 12. https://doi.org/10.1007/s43674-023-00059-x
Jamshidi, S., Mohammadi, M., Bagheri, S., Najafabadi, H. E., Rezvanian, A., Gheisari, M., Ghaderzadeh, M., Shahabi, A. S., & Wu, Z. (2024). Effective text classification using BERT, MTM LSTM, and DT. Data and Knowledge Engineering, 151(April), 102306. https://doi.org/10.1016/j.datak.2024.102306
JOHARI, S. M. (2014). Inklusi Keuangan Di Indonesia: Faktor Penentu Pendapatan Dan Kepuasan Hidup Pada 1993-2014. Repository.Umy.Ac.Id, 3, 1–17. http://repository.umy.ac.id/bitstream/handle/123456789/36520/ttttttttttttttttttt.pdf?sequence=1
Majeed, M. A., Shafri, H. Z. M., Zulkafli, Z., & Wayayok, A. (2023). A Deep Learning Approach for Dengue Fever Prediction in Malaysia Using LSTM with Spatial Attention. International Journal of Environmental Research and Public Health, 20(5). https://doi.org/10.3390/ijerph20054130
Nurcahyo, J. A., Rosyadah, H., Ekonomika, D., & Mada, U. G. (2023). Pengaruh Tingkat Pendapatan Individu Berdasarkan UMP Terhadap Tingkat Kebahagiaan di Provinsi DIY Jawa Tengah . memiliki pengaruh terhadap tingkat kebahagiaan individu di DIY atau tidak . Sebagai tujuan pada penelitian bersumber dari Indonesian Family Lif. 11(1).
Pratiwi, N. M., & Kismiantini. (2019). Implementing ordinal regression model for analyzing happiness level in Indonesia. Journal of Physics: Conference Series, 1320(1). https://doi.org/10.1088/1742-6596/1320/1/012015
Ramsari, N., & Munawar, Z. (2016). Pengambilan Keputusan Dengan Teknik Soft Computing. Jurnal Ilmiah Teknologi Infomasi Terapan, 2(3). https://doi.org/10.33197/jitter.vol2.iss3.2016.114
Rifqi, M. A., Safitri, N., & Rohman, M. A. (2022). Maqashid Effect : Apakah Maqashid Syariah Membuat Muslim Bahagia ? Studi Kasus Data Ifls Gelombang 5. Asyafina Journal: Jurnal Akademi Pesantren, 1(1), 1–14.
Strauss, J., Witoelar, F., & Sikoki, B. (2016). The Fifth Wave of the Indonesia Family Life Survey: Overview and Field Report: Volume 1. The Fifth Wave of the Indonesia Family Life Survey: Overview and Field Report: Volume 1, 1(March). https://doi.org/10.7249/wr1143.1
Tsantekidis, A., Passalis, N., & Tefas, A. (2022). Recurrent neural networks. Dalam Deep Learning for Robot Perception and Cognition. https://doi.org/10.1016/B978-0-32-385787-1.00010-5
Yuan, T., & Sheng, R. (2015). Understanding LSTM Networks. Online. 1–9.
Published
How to Cite
Issue
Section
Citation Check
License
Copyright (c) 2025 PYTHAGORAS Jurnal Matematika dan Pendidikan Matematika

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

Pythagoras is licensed under a Creative Commons Attribution 4.0 International License.
Based on a work at http://journal.uny.ac.id/index.php/pythagoras.


