Predicting the Happiness Index Based on the HDI Indicator in Indonesia Using the Ensemble Learning Approach

Prediksi Indeks Kebahagiaan Berdasarkan Indikator IPM di Indonesia Menggunakan Pendekatan Ensemble Learning

Authors

  • Syafrial Fachri Pane Universitas Logistik dan Bisnis Internasional https://orcid.org/0000-0001-5119-3808
  • Rofi Nafiis Zain Universitas Logistik dan Bisnis Internasional
  • Iwan Setiawan Universitas Logistik dan Bisnis Internasional
  • Virdiandry Putratama Universitas Logistik dan Bisnis Internasional

DOI:

https://doi.org/10.25134/ilkom.v19i2.410

Keywords:

Prediction, Happiness, HDI, Stacking Ensemble Learning, Indonesia

Abstract

Machine Learning is used to analyze complex data in various fields of research. In  this study, we applied an ensemble learning approach consisting of Random Forest Regression (RF), XGBoost Regression (XGB), Decision Tree Regression (DT) and Pearson correlation analysis as well as Shapley Additive Explanations (SHAP) to analyze the relationship between the HDI and Happiness indicators in Indonesia. Second, building a prediction model with an ensemble learning approach, namely stacking, which consists of several algorithms including RF, XGB, DT. The results of this study, one, based on the results of Pearson correlation analysis, Permutation Importance (PI), and SHAP, show that the happiness score of Indonesian people has a strong correlation with the Human Development Index variable. The Pearson correlation result shows a value of 0.88, which indicates a very strong positive relationship between HDI and happiness. In addition, the Permutation Importance and SHAP analysis also confirms that HDI is one of the most influential variables in predicting happiness scores in Indonesia. Second, the performance model for predicting happiness using stacking regressors with an R-Squared value of 97.68\%, MAE 0.002900, MSE 0.000021, and RMSE 0.004604.

Downloads

Download data is not yet available.

Author Biography

Syafrial Fachri Pane, Universitas Logistik dan Bisnis Internasional

Syafrial Fachri Pane was born in Medan, North Sumatra in April 1988. He obtained his bachelor of informatics degree from Pasundan University and master of informatics from Bina Nusantara University, Bandung, in 2019 and 2021, respectively. Currently, she is pursuing her doctoral program at Telkom University, Bandung. He is involved in data science and machine learning research. He is also a lecturer at the University of Logistics and International Business (ULBI), Bandung. His research interests include data analytics and machine learning. His research dissertation focuses on Hybrid Multi-objective Metaheuristic Machine Learning for Pandemic Modelling.

References

[1] V. Susanti and A. Fitri, “Economics of Happiness: What Really Counts?,” Kne Social Sciences, 2024, doi: 10.18502/kss.v9i16.16258.

[2] Kenzo, A. Yudiarso, M. A. Nugroho, and J. S. Mustika, “Analyzing Oxford Happiness Questionnaire Indonesian Version Using the Generalized Partial Credit Model,” Psyche 165 Journal, 2024, doi: 10.35134/jpsy165.v17i2.353.

[3] Q. Liu, “Can Happiness Be Measured?,” Advances in Education Humanities and Social Science Research, 2023, doi: 10.56028/aehssr.7.1.423.2023.

[4] K. Ruggeri, E. Garcia-Garzon, Á. Maguire, S. Matz, and F. A. Huppert, “Well-being is more than happiness and life satisfaction: a multidimensional analysis of 21 countries,” Health Qual Life Outcomes, vol. 18, pp. 1–16, 2020.

[5] A. . I. Akgun, S. P. Türkoğlu, and S. Erikli, “Investigating the determinants of happiness index in EU-27 countries: a quantile regression approach,” International Journal of Sociology and Social Policy, vol. 43, no. 1/2, pp. 156–177, 2022.

[6] J. Tanuwijaya, C. Krisanti, and A. W. Gunawan, “The Impact of Perceived Inclusion Climate for Leader Diversity (PICLD) on Organizational Justice and Its Effects on Employee Engagement, Emotional Wage, and Happiness at Work,” Ajesh, 2024, doi: 10.46799/ajesh.v3i10.423.

[7] P. R. Sihombing, “Comparison of Regression Analysis With Machine Learning Supervised Predictive Model Techniques,” Jurnal Ekonomi Dan Statistik Indonesia, 2023, doi: 10.11594/jesi.03.02.03.

[8] S. C. Br Ginting, S. Afifuddin, and R. RAHMANTA, “Analysis of the Effect of Macroeconomic Variables on Happiness in Indonesia,” International Journal of Research and Review, 2021, doi: 10.52403/ijrr.20211009.

[9] M. Acharya, A. Dumre, P. Poudel, and S. C. Dhakal, “Happiness Index; Current Status, Global Ranking and Its Importance in the Government’s Agenda ‘Prosperous Nepal, Happy Nepali,’” Acta Scientific Agriculture, 2020, doi: 10.31080/asag.2020.04.0789.

[10] A. Jannani, N. Sael, and F. Benabbou, “Machine learning for the analysis of quality of life using the World Happiness Index and Human Development Indicators,” Mathematical Modeling and Computing, vol. 10, no. 2, pp. 534–546, 2023, doi: 10.23939/mmc2023.02.534.

[11] N. Çiftci and M. Yldz, “The relationship between social media addiction, happiness, and life satisfaction in adults: analysis with machine learning approach,” Int J Ment Health Addict, vol. 21, no. 5, pp. 3500–3516, 2023.

[12] Z. Jiang, “Prediction and industrial structure analysis of local GDP economy based on machine learning,” Math Probl Eng, vol. 2022, no. 1, p. 7089914, 2022.

[13] V. Çetin and O. Yldz, “A comprehensive review on data preprocessing techniques in data analysis,” Pamukkale Üniversitesi Mühendislik Bilimleri Dergisi, vol. 28, no. 2, pp. 299–312, 2022.

[14] K. Maharana, S. Mondal, and B. Nemade, “A review: Data pre-processing and data augmentation techniques,” Global Transitions Proceedings, vol. 3, no. 1, pp. 91–99, 2022.

[15] I. Izonin, R. Tkachenko, N. Shakhovska, B. Ilchyshyn, and K. K. Singh, “A two-step data normalization approach for improving classification accuracy in the medical diagnosis domain,” Mathematics, vol. 10, no. 11, p. 1942, 2022.

[16] N. Pessanha Santos, “The Expansion of Data Science: Dataset Standardization,” Standards, vol. 3, no. 4, pp. 400–410, 2023.

[17] S. F. Pane, A. G. Putrada, N. Alamsyah, and M. N. Fauzan, “A PSO-GBR solution for association rule optimization on supermarket sales,” in 2022 seventh international conference on informatics and computing (ICIC), 2022, pp. 1–6.

[18] S. F. Pane, A. Adiwijaya, M. D. Sulistiyo, and A. A. Gozali, “Multi-Temporal Factors to Analyze Indonesian Government Policies regarding Restrictions on Community Activities during COVID-19 Pandemic,” JOIV: International Journal on Informatics Visualization, vol. 7, no. 4, pp. 2263–2269, 2023.

[19] S. F. Pane, A. G. Putrada, N. Alamsyah, M. N. Fauzan, and others, “The Influence of The COVID-19 Pandemics in Indonesia On Predicting Economic Sectors,” in 2022 Seventh International Conference on Informatics and Computing (ICIC), 2022, pp. 1–6.

[20] S. F. Pane, F. Abdullah, and R. Habibi, “DETEKSI EMOSI PADA TEKS BERBAHASA INDONESIA MENGGUNAKAN PENDEKATAN ENSEMBLE,” JTT (Jurnal Teknologi Terapan), vol. 10, no. 2, pp. 80–90, 2024.

[21] E.-J. Kim, H.-W. Kang, and S.-M. Park, “Leisure and Happiness of the Elderly: A Machine Learning Approach,” Sustainability, vol. 16, no. 7, p. 2730, 2024.

Downloads

Published

10-07-2025

How to Cite

Pane, S. F., Zain, R. N., Setiawan, I., & Putratama, V. (2025). Predicting the Happiness Index Based on the HDI Indicator in Indonesia Using the Ensemble Learning Approach: Prediksi Indeks Kebahagiaan Berdasarkan Indikator IPM di Indonesia Menggunakan Pendekatan Ensemble Learning. NUANSA INFORMATIKA, 19(2), 105–114. https://doi.org/10.25134/ilkom.v19i2.410