TITLE:
A Data-Driven Explainable Machine Learning Framework for Happiness Prediction in Morocco
AUTHORS:
Abdelghani Chehayebat, Rim Marah, Rania Marah
KEYWORDS:
Happiness Index, Machine Learning, Explainable Artificial Intelligence (XAI), Subjective Well-Being, Sustainable Development, Predictive Analytics
JOURNAL NAME:
Open Access Library Journal,
Vol.13 No.11,
November
24,
2026
ABSTRACT: Happiness has emerged as a key indicator of sustainable development and societal well-being, complementing traditional economic measures such as Gross Domestic Product (GDP). Understanding the determinants of happiness is particularly important for developing countries, where economic growth, social inequalities, healthcare, and education significantly influence citizens’ quality of life. Despite the increasing application of Artificial Intelligence in social sciences, the use of Machine Learning (ML) to analyze and predict happiness in Morocco remains largely unexplored. This study proposes an explainable Machine Learning framework to predict the Happiness Index in Morocco and identify the socioeconomic, demographic, and health-related factors that most strongly influence individual well-being. In this paper, we will propose a framework that provides an interpretable and data-driven decision-support tool for policymakers, enabling evidence-based strategies to improve citizens’ quality of life. By combining advanced Machine Learning algorithms with Explainable AI, this research contributes to the growing literature on computational social science and represents one of the first comprehensive ML-based analyses of happiness prediction in the Moroccan context. The proposed approach can be extended to other developing countries to support sustainable development policies and well-being assessment.