Submitted:
11 June 2025
Posted:
12 June 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Literature Review
3. Methods
3.1. Data Description and Preprocessing
3.2. Regression Models
3.2.1. Random Forest
3.2.2. Gradient Boosting
3.2.3. XGBoost
3.3. SHapley Additive exPlanations (SHAP)
4. Results
4.1. Exploratory Analysis
4.2. Predictive Modeling
4.3. SHAP Analysis
5. Discussion
6. Future Work
Data Availability Statement
References
- Abdallah, S., Hoffman, A., & Akenji, L. (2024). The 2024 happy planet index. Berlin: Hot or Cool Institute.
- Azad, A., Talwar, B., Shah, S., Prasad Shendre, H., Jyoti, A., Pandit, G., & Tiwari, V. (2023). Prediction model for world happiness index using machine learning technique. Kilby, 100, 7th.
- Brandy, S. (2024). Mapping global joy: Descriptive analytics of subjective well-being from the world happiness report. International Journal of Information Technology and Computer Science Applications, 2(1), 33–47. [CrossRef]
- Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. [CrossRef]
- Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 785–794. ACM. [CrossRef]
- Dixit, S., Chaudhary, M., & Sahni, N. (2020). Network learning approaches to study world happiness. arXiv Preprint arXiv:2007.09181.
- Dolan, P., & Metcalfe, R. (2012). Measuring subjective wellbeing: Recommendations on measures for use by national governments. Journal of Social Policy, 41(2), 409–427. [CrossRef]
- Friedman, J. H. (2001). Greedy function approximation: A gradient boosting machine. Annals of Statistics, 1189–1232. [CrossRef]
- Graham, C., & Nikolova, M. (2015). Bentham or aristotle in the development process? An empirical investigation of capabilities and subjective well-being. World Development, 68, 163–179. [CrossRef]
- Helliwell, J. F., Layard, R., Sachs, J., De Neve, J.-E., Aknin, L. B., & Wang, S. (2024). World happiness report: Origins, purpose, contents, impact and future. In Encyclopedia of happiness, quality of life and subjective wellbeing (p. 296). Edward Elgar Publishing.
- Jannani, A., Sael, N., & Benabbou, F. (2021, December). Predicting quality of life using machine learning: Case of world happiness index. 1–6. [CrossRef]
- Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, & R. Garnett (Eds.), Advances in neural information processing systems 30 (pp. 4765–4774). Curran Associates, Inc. Retrieved from http://papers.nips.cc/paper/7062-a-unified-approach-to-interpreting-model-predictions.pdf.
- Mukhopadhyay, K., Adhikary, C., Saha, D., Dutta, C., & Baksi, R. (2022). Exploratory data analysis on healthy lifestyle & world happiness report in asia & europe. PREPARE@ u®| FOSET Conferences.
- Saputri, T. R. D., & Lee, S.-W. (2015). Are we living in a happy country: An analysis of national happiness from machine learning perspective. SEKE, 174–177.










| Variable | Mean | SD | Min | Max |
|---|---|---|---|---|
| Life Ladder (0–10) | 5.48 | 1.13 | 1.28 | 8.02 |
| Log GDP per capita (log US$) | 9.40 | 1.15 | 5.53 | 11.68 |
| Social support (%) | 0.81 | 0.12 | 0.23 | 0.99 |
| Healthy life expectancy at birth | 63.42 | 6.79 | 6.72 | 74.60 |
| Freedom to make life choices (0–1) | 0.75 | 0.14 | 0.23 | 0.99 |
| Generosity | 0.00 | 0.16 | -0.34 | 0.70 |
| Perceptions of corruption | 0.74 | 0.18 | 0.05 | 1.01 |
| Positive affect | 0.65 | 0.11 | 0.18 | 0.88 |
| Negative affect | 0.27 | 0.09 | 0.08 | 0.71 |
| Model | Seed | MSE | MAE | R2 |
|---|---|---|---|---|
| Random Forest | 1908474288 | 0.2491 | 0.3595 | 0.8216 |
| Random Forest | 1934061814 | 0.2521 | 0.3644 | 0.8194 |
| Random Forest | 538373376 | 0.2532 | 0.3655 | 0.8187 |
| Random Forest | 1005904197 | 0.2501 | 0.3611 | 0.8209 |
| Random Forest | 839934497 | 0.2522 | 0.3607 | 0.8194 |
| Gradient Boosting | 1908474288 | 0.2421 | 0.3508 | 0.8266 |
| Gradient Boosting | 1934061814 | 0.2475 | 0.3564 | 0.8228 |
| Gradient Boosting | 538373376 | 0.2431 | 0.3558 | 0.8259 |
| Gradient Boosting | 1005904197 | 0.2386 | 0.3518 | 0.8291 |
| Gradient Boosting | 839934497 | 0.2402 | 0.3582 | 0.8280 |
| XGBoost | 1908474288 | 0.2697 | 0.3753 | 0.8069 |
| XGBoost | 1934061814 | 0.2677 | 0.3737 | 0.8083 |
| XGBoost | 538373376 | 0.2651 | 0.3727 | 0.8102 |
| XGBoost | 1005904197 | 0.2781 | 0.3746 | 0.8008 |
| XGBoost | 839934497 | 0.2674 | 0.3764 | 0.8085 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).