<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">Oalib</journal-id>
      <journal-title-group>
        <journal-title>Open Access Library Journal</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2333-9721</issn>
      <issn pub-type="ppub">2333-9705</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/oalib.1115876</article-id>
      <article-id pub-id-type="publisher-id">Oalib-155577</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Biomedical</subject>
          <subject>Life Sciences</subject>
          <subject>Business</subject>
          <subject>Economics</subject>
          <subject>Chemistry</subject>
          <subject>Materials Science</subject>
          <subject>Computer Science</subject>
          <subject>Communications</subject>
          <subject>Earth</subject>
          <subject>Environmental Sciences</subject>
          <subject>Engineering</subject>
          <subject>Medicine</subject>
          <subject>Healthcare</subject>
          <subject>Physics</subject>
          <subject>Mathematics</subject>
          <subject>Social Sciences</subject>
          <subject>Humanities</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>A Data-Driven Explainable Machine Learning Framework for Happiness Prediction in Morocco</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Chehayebat</surname>
            <given-names>Abdelghani</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Marah</surname>
            <given-names>Rim</given-names>
          </name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Marah</surname>
            <given-names>Rania</given-names>
          </name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Multidisciplinary Research Laboratory in Economics and Management, USMS, Beni Mellal, Morocco </aff>
      <aff id="aff2"><label>2</label> Research Laboratory in Innovation, Economic Policies, and Development, USMS, Beni Mellal, Morocco </aff>
      <aff id="aff3"><label>3</label> Intelligent System Design Laboratory, UAE, Tetuán, Morocco </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare no conflicts of interest.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>02</day>
        <month>11</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>11</month>
        <year>2026</year>
      </pub-date>
      <volume>13</volume>
      <issue>11</issue>
      <fpage>1</fpage>
      <lpage>12</lpage>
      <history>
        <date date-type="received">
          <day>11</day>
          <month>08</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>21</day>
          <month>11</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>24</day>
          <month>11</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/oalib.1115876">https://doi.org/10.4236/oalib.1115876</self-uri>
      <abstract>
        <p>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.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Happiness Index</kwd>
        <kwd>Machine Learning</kwd>
        <kwd>Explainable Artificial Intelligence (XAI)</kwd>
        <kwd>Subjective Well-Being</kwd>
        <kwd>Sustainable Development</kwd>
        <kwd>Predictive Analytics</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>In recent years, Artificial Intelligence (AI) and Machine Learning (ML) have transformed data-driven decision-making across numerous disciplines, including healthcare, economics, finance, education, and public administration. Compared with conventional statistical techniques, Machine Learning algorithms are capable of identifying complex nonlinear relationships, capturing hidden interactions among variables, and improving prediction accuracy. These capabilities make ML particularly suitable for analyzing subjective phenomena such as happiness, where multiple interconnected socioeconomic and demographic factors jointly influence individual life satisfaction.</p>
      <p>Previous studies investigating happiness [<xref ref-type="bibr" rid="B1">1</xref>] have primarily relied on econometric approaches, including linear regression, logistic regression, and structural equation modeling. Although these methods provide valuable insights, they often assume linear relationships and may fail to capture the complexity of human well-being. More recently, advanced Machine Learning techniques include Random Forest, Extreme Gradient Boosting (XGBoost), LightGBM, CatBoost, Support Vector Machines, and Artificial Neural Networks that have demonstrated superior predictive performance in modeling subjective well-being across different countries [<xref ref-type="bibr" rid="B2">2</xref>]. Nevertheless, the “black-box” nature of these models raises important concerns regarding interpretability, particularly when their predictions are intended to support governmental policies and social interventions. Explainable Artificial Intelligence (XAI), especially SHapley Additive exPlanations (SHAP), has emerged as a powerful solution for interpreting complex predictive models by quantifying the contribution of each explanatory variable.</p>
      <p>We propose in this study a comprehensive Explainable Machine Learning framework for predicting the Happiness Index in Morocco. The proposed methodology integrates data preprocessing, feature engineering, supervised Machine Learning algorithms, hyperparameter optimization, model evaluation, and explainability analysis. Several regression models, including Linear Regression, Decision Tree, Random Forest, XGBoost, LightGBM, CatBoost, and Artificial Neural Networks, are systematically compared using multiple evaluation metrics such as the coefficient of determination (R<sup>2</sup>), Mean Absolute Error (MAE), and Root Mean Square Error (RMSE). In addition, SHAP-based explainability techniques are employed to identify and quantify the relative importance of socioeconomic, demographic, and health-related variables in determining individual happiness.</p>
      <p>The paper is organized as follows. Section 2 reviews the existing literature on happiness measurement, determinants of subjective well-being, and Machine Learning applications in happiness prediction. Section 3 presents the proposed Machine Learning methodology and explainability framework. Section 4 reports the experimental results and comparative performance analysis. Section 5 discusses the explainability analysis and policy implications. Finally, Section 6 concludes the paper.</p>
    </sec>
    <sec id="sec2">
      <title>2. Literature Review</title>
      <sec id="sec2dot1">
        <title>2.1. Happiness and Subjective Well-Being</title>
        <p>Happiness is widely recognized as a multidimensional concept that reflects an individual’s overall evaluation of life [<xref ref-type="bibr" rid="B3">3</xref>]. In the field of social sciences, happiness is commonly associated with subjective well-being (SWB) [<xref ref-type="bibr" rid="B4">4</xref>], which combines cognitive evaluations of life satisfaction with emotional experiences such as positive and negative affect. Unlike purely economic indicators, subjective well-being provides a broader assessment of human development by considering psychological, social, and environmental dimensions.</p>
        <p>The growing interest in happiness measurement has led international organizations to develop standardized indicators. Among the most influential is the World Happiness Report, which evaluates countries based on the Cantril Life Ladder score and several explanatory variables, including GDP per capita, healthy life expectancy, social support, freedom to make life choices, generosity, and perceptions of corruption. Similarly, the Organisation for Economic Co-operation and Development (OECD) has promoted well-being indicators as complementary measures of national progress.</p>
        <p>Recent studies have demonstrated that happiness is influenced by a complex interaction of economic, demographic, cultural, environmental, and psychological factors. Consequently, predicting happiness requires analytical approaches capable of modeling nonlinear relationships among multiple variables.</p>
      </sec>
      <sec id="sec2dot2">
        <title>2.2. Determinants of Happiness</title>
        <p>The determinants of happiness have been extensively investigated across different countries and socioeconomic contexts. Although results vary according to cultural and institutional settings, several variables consistently appear as significant predictors of subjective well-being [<xref ref-type="bibr" rid="B5">5</xref>].</p>
        <p>Economic factors remain among the strongest determinants of happiness. Higher household income generally improves living standards and access to healthcare, education, and leisure activities. However, numerous studies suggest that beyond a certain income threshold, additional earnings produce diminishing returns in terms of life satisfaction, a phenomenon commonly known as the Easterlin Paradox [<xref ref-type="bibr" rid="B6">6</xref>].</p>
        <p>Employment status also plays a critical role. Stable employment contributes not only to financial security but also to social integration and self-esteem. Conversely, unemployment is frequently associated with stress, reduced psychological well-being, and lower life satisfaction [<xref ref-type="bibr" rid="B7">7</xref>].</p>
        <p>Health is another essential determinant. Individuals reporting good physical and mental health generally exhibit significantly higher happiness levels than those suffering from chronic illnesses or disabilities. Healthy life expectancy has therefore become one of the principal indicators incorporated into international happiness rankings [<xref ref-type="bibr" rid="B8">8</xref>].</p>
        <p>Education contributes indirectly to happiness by improving employment opportunities, income, decision-making capacity, and social participation [<xref ref-type="bibr" rid="B9">9</xref>]. Likewise, social support and trust within communities strengthen interpersonal relationships and resilience against adverse life events.</p>
        <p>Other important determinants include age, gender, marital status, regional disparities, freedom of choice, institutional trust, and perceptions of corruption. These variables interact in complex ways, making happiness prediction a challenging multidimensional problem [<xref ref-type="bibr" rid="B3">3</xref>].</p>
      </sec>
      <sec id="sec2dot3">
        <title>2.3. Research Gap</title>
        <p>Despite the growing body of literature on happiness analysis, several important research gaps remain [<xref ref-type="bibr" rid="B10">10</xref>].</p>
        <p>First, most existing studies focus on developed countries, while empirical evidence for North African and developing economies remains scarce. Morocco, despite its ongoing socioeconomic transformation, has received relatively limited attention in the happiness prediction literature [<xref ref-type="bibr" rid="B11">11</xref>] [<xref ref-type="bibr" rid="B12">12</xref>].</p>
        <p>Second, previous research has largely relied on traditional econometric methods that assume linear relationships between explanatory variables and subjective well-being. Such approaches may fail to capture the complex nonlinear interactions among socioeconomic, demographic, and health-related factors [<xref ref-type="bibr" rid="B10">10</xref>].</p>
        <p>Third, although Machine Learning algorithms [<xref ref-type="bibr" rid="B2">2</xref>] have demonstrated remarkable predictive capabilities, relatively few studies perform comprehensive comparisons between multiple state-of-the-art models within the same experimental framework.</p>
        <p>Finally, only a limited number of studies integrate Explainable Artificial Intelligence techniques to interpret Machine Learning predictions and provide actionable insights for policymakers.</p>
        <p>To address these limitations, this study proposes a comprehensive Explainable Machine Learning framework for predicting the Happiness Index in Morocco. The proposed approach combines advanced ensemble learning algorithms with SHAP-based [<xref ref-type="bibr" rid="B13">13</xref>] explainability to improve predictive accuracy while maintaining model transparency. By identifying the key determinants of happiness and quantifying their relative importance, this research contributes to both the computational social science literature and evidence-based public policy design.</p>
      </sec>
    </sec>
    <sec id="sec3">
      <title>3. Machine Learning Methodology</title>
      <sec id="sec3dot1">
        <title>3.1. Data Source</title>
        <p>This study employs a structured dataset describing the socioeconomic, demographic, and health characteristics associated with subjective well-being in Morocco. The analysis is based on nationally representative survey data collected from publicly available international and national databases, including the World Values Survey (WVS), the Arab Barometer, and socioeconomic indicators reported by the High Commission for Planning [<xref ref-type="bibr" rid="B11">11</xref>] of Morocco. These sources provide reliable information regarding individuals’ life satisfaction, income, education, employment, health, and social conditions.</p>
        <p>After merging the available datasets and removing duplicated observations, a unified database was constructed for the Machine Learning analysis. Data integration involved harmonizing variable definitions, measurement scales, and coding systems to ensure consistency across different sources.</p>
        <p>The target variable of the study is the Happiness Index, measured using the respondents’ self-reported life satisfaction on a numerical scale ranging from 0 (least satisfied) to 10 (most satisfied). This indicator is widely adopted in international happiness studies and provides a standardized measure of subjective well-being.</p>
      </sec>
      <sec id="sec3dot2">
        <title>3.2. Data Preprocessing</title>
        <p>High-quality data preprocessing is essential for improving Machine Learning performance. The preprocessing pipeline consisted of several sequential steps.</p>
        <p>First, duplicated observations were removed to avoid bias during model training. Missing values were then treated using appropriate imputation techniques. Numerical variables were imputed using the median value, while categorical variables were completed using the most frequent category.</p>
        <p>Outliers were detected through the Interquartile Range (IQR) method and carefully examined before being retained or removed depending on their statistical relevance.</p>
        <p>Categorical variables, including gender, employment status, and region, were transformed into numerical representations using One-Hot Encoding, whereas ordinal variables preserved their natural ordering whenever appropriate.</p>
        <p>Since several Machine Learning algorithms [<xref ref-type="bibr" rid="B14">14</xref>] are sensitive to variable scales, numerical features were normalized using Standard Scaler, ensuring that all continuous variables possessed zero mean and unit variance.</p>
        <p>Finally, the integrated dataset was randomly divided into 80% training data and 20% testing data, ensuring that model evaluation was performed on unseen observations.</p>
        <p>The distribution of the target variable (Happiness Index) is illustrated in <xref ref-type="fig" rid="fig1">Figure 1</xref>. </p>
        <fig id="fig1">
          <label>Figure 1</label>
          <caption>
            <p>Distribution of the Happiness Index in Morocco.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1115876-rId13.jpeg?20261124042955" />
        </fig>
        <p>The histogram indicates an approximately bell-shaped distribution with a slight left skew, suggesting that most respondents reported moderate levels of life satisfaction. This distribution is appropriate for regression-based Machine Learning models and does not indicate severe imbalance.</p>
      </sec>
      <sec id="sec3dot3">
        <title>3.3. Feature Engineering</title>
        <p>Based on previous studies on happiness determinants, twelve explanatory variables were selected to represent the economic, demographic, health, and social dimensions influencing individual well-being.</p>
        <p>The variables are: Happiness Index, Age, Gender, Household Income, Education Level, Employment Status, Health Status, Social Support, Trust in People, Freedom of Choice, Perceived Corruption and Region.</p>
        <p>These variables were selected because they have been consistently identified in the literature as significant determinants of subjective well-being.</p>
        <p>Feature engineering was performed to improve the predictive capability of the Machine Learning models.</p>
        <p>Several transformations were applied during this stage. Household income was logarithmically transformed to reduce skewness and stabilize variance. Interaction effects between education and income, as well as between employment status and health condition, were explored to capture potential nonlinear relationships.</p>
        <p>Additional derived variables were also generated, including normalized socioeconomic scores and composite social support indicators. These engineered features provide richer information than the original variables alone and enable advanced Machine Learning algorithms to identify hidden patterns associated with happiness.</p>
        <p>Correlation analysis was subsequently conducted to investigate multicollinearity among predictors. The resulting correlation matrix is presented in <xref ref-type="fig" rid="fig2">Figure 2</xref> bellow, where highly correlated variables were carefully examined before model development.</p>
        <fig id="fig2">
          <label>Figure 2</label>
          <caption>
            <p>Correlation heatmap of variables.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1115876-rId14.jpeg?20261124042955" />
        </fig>
      </sec>
    </sec>
    <sec id="sec4">
      <title>4. Research Framework</title>
      <p>The objective of this study is to develop an explainable Machine Learning framework capable of accurately predicting the Happiness Index in Morocco while identifying the most influential socioeconomic, demographic, and health-related factors. The proposed framework consists of six sequential stages: data acquisition, preprocessing, feature engineering, model development, performance evaluation, and explainability analysis.</p>
      <p>The workflow begins with the integration of multiple survey datasets, followed by data cleaning, missing-value imputation, feature encoding, and normalization. The processed dataset is then divided into training and testing subsets before being used to train several supervised Machine Learning models. Finally, the best-performing model is interpreted using Explainable Artificial Intelligence (XAI) techniques to identify the relative importance of each predictor.</p>
      <p>This end-to-end framework ensures both high predictive performance and model transparency, making it suitable for supporting evidence-based policymaking.</p>
      <p>The predictive performance of Machine Learning algorithms strongly depends on the selection of appropriate hyperparameters.</p>
      <p>To obtain optimal configurations, Grid Search combined with 5-fold Cross-Validation was employed.</p>
      <p>Cross-validation reduces overfitting by ensuring that each observation participates in both training and validation during the optimization process.</p>
      <sec id="sec4dot1">
        <title>Model Evaluation</title>
        <p>The trained models were evaluated on the independent testing dataset using three widely accepted regression metrics.</p>
        <p><bold>1.</bold><bold>Coefficient of Determination (</bold><italic><bold>R</bold></italic><bold><sup>2</sup></bold><bold>)</bold></p>
        <p>The coefficient of determination measures the proportion of variance explained by the predictive model.</p>
        <disp-formula id="FD1">
          <mml:math display="inline">
            <mml:mrow>
              <mml:msup>
                <mml:mi>R</mml:mi>
                <mml:mn>2</mml:mn>
              </mml:msup>
              <mml:mo>=</mml:mo>
              <mml:mn>1</mml:mn>
              <mml:mo>−</mml:mo>
              <mml:mfrac>
                <mml:mrow>
                  <mml:mstyle displaystyle="true">
                    <mml:munderover>
                      <mml:mo>∑</mml:mo>
                      <mml:mrow>
                        <mml:mi>i</mml:mi>
                        <mml:mo>=</mml:mo>
                        <mml:mn>1</mml:mn>
                      </mml:mrow>
                      <mml:mi>n</mml:mi>
                    </mml:munderover>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:msub>
                                <mml:mi>y</mml:mi>
                                <mml:mi>i</mml:mi>
                              </mml:msub>
                              <mml:mo>−</mml:mo>
                              <mml:mover accent="true">
                                <mml:mi>y</mml:mi>
                                <mml:mo>^</mml:mo>
                              </mml:mover>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mn>2</mml:mn>
                      </mml:msup>
                    </mml:mrow>
                  </mml:mstyle>
                </mml:mrow>
                <mml:mrow>
                  <mml:mstyle displaystyle="true">
                    <mml:munderover>
                      <mml:mo>∑</mml:mo>
                      <mml:mrow>
                        <mml:mi>i</mml:mi>
                        <mml:mo>=</mml:mo>
                        <mml:mn>1</mml:mn>
                      </mml:mrow>
                      <mml:mi>n</mml:mi>
                    </mml:munderover>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:msub>
                                <mml:mi>y</mml:mi>
                                <mml:mi>i</mml:mi>
                              </mml:msub>
                              <mml:mo>−</mml:mo>
                              <mml:mover accent="true">
                                <mml:mi>y</mml:mi>
                                <mml:mo>¯</mml:mo>
                              </mml:mover>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mn>2</mml:mn>
                      </mml:msup>
                    </mml:mrow>
                  </mml:mstyle>
                </mml:mrow>
              </mml:mfrac>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>Higher values indicate better predictive performance.</p>
        <p><bold>2.</bold><bold>MAE measures the average absolute prediction error:</bold></p>
        <disp-formula id="FD2">
          <mml:math>
            <mml:mrow>
              <mml:mtext>MEA</mml:mtext>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mn>1</mml:mn>
                <mml:mi>n</mml:mi>
              </mml:mfrac>
              <mml:mstyle displaystyle="true">
                <mml:munderover>
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:mi>i</mml:mi>
                    <mml:mo>=</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                  <mml:mi>n</mml:mi>
                </mml:munderover>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>|</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>y</mml:mi>
                        <mml:mi>i</mml:mi>
                      </mml:msub>
                      <mml:mo>−</mml:mo>
                      <mml:mover accent="true">
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>y</mml:mi>
                            <mml:mi>i</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                        <mml:mo stretchy="true">^</mml:mo>
                      </mml:mover>
                    </mml:mrow>
                    <mml:mo>|</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:mstyle>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>Lower MAE values correspond to more accurate predictions.</p>
        <p><bold>3.</bold><bold>Root Mean Square Error (RMSE)</bold></p>
        <p>RMSE penalizes large prediction errors and is defined as</p>
        <disp-formula id="FD3">
          <mml:math>
            <mml:mrow>
              <mml:mtext>RMSE</mml:mtext>
              <mml:mo>=</mml:mo>
              <mml:msqrt>
                <mml:mrow>
                  <mml:mfrac>
                    <mml:mn>1</mml:mn>
                    <mml:mi>n</mml:mi>
                  </mml:mfrac>
                  <mml:mstyle displaystyle="true">
                    <mml:munderover>
                      <mml:mo>∑</mml:mo>
                      <mml:mrow>
                        <mml:mi>i</mml:mi>
                        <mml:mo>=</mml:mo>
                        <mml:mn>1</mml:mn>
                      </mml:mrow>
                      <mml:mi>n</mml:mi>
                    </mml:munderover>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mo>(</mml:mo>
                            <mml:mrow>
                              <mml:msub>
                                <mml:mi>y</mml:mi>
                                <mml:mi>i</mml:mi>
                              </mml:msub>
                              <mml:mo>−</mml:mo>
                              <mml:mover accent="true">
                                <mml:mrow>
                                  <mml:msub>
                                    <mml:mi>y</mml:mi>
                                    <mml:mi>i</mml:mi>
                                  </mml:msub>
                                </mml:mrow>
                                <mml:mo stretchy="true">^</mml:mo>
                              </mml:mover>
                            </mml:mrow>
                            <mml:mo>)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mn>2</mml:mn>
                      </mml:msup>
                    </mml:mrow>
                  </mml:mstyle>
                </mml:mrow>
              </mml:msqrt>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>Lower RMSE values indicate superior predictive performance.</p>
        <p>The comparative performance of all evaluated models is presented in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p>
        <fig id="fig3">
          <label>Figure 3</label>
          <caption>
            <p>Comparison of ML models performance of happiness index prediction.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1115876-rId21.jpeg?20261124042955" />
        </fig>
        <p>Although advanced Machine Learning algorithms often achieve excellent predictive performance, their internal decision-making mechanisms remain difficult to interpret.</p>
        <p>To improve transparency, this study employs SHapley Additive exPlanations (SHAP), an Explainable Artificial Intelligence technique derived from cooperative game theory.</p>
        <p>For each prediction, SHAP assigns an importance value to every explanatory variable according to</p>
        <disp-formula id="FD4">
          <mml:math display="inline">
            <mml:mrow>
              <mml:mi>f</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>x</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:msub>
                <mml:mi>ϕ</mml:mi>
                <mml:mn>0</mml:mn>
              </mml:msub>
              <mml:mo>+</mml:mo>
              <mml:mstyle displaystyle="true">
                <mml:munderover>
                  <mml:mo>∑</mml:mo>
                  <mml:mrow>
                    <mml:mi>j</mml:mi>
                    <mml:mo>=</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                  <mml:mi>p</mml:mi>
                </mml:munderover>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>ϕ</mml:mi>
                    <mml:mi>j</mml:mi>
                  </mml:msub>
                </mml:mrow>
              </mml:mstyle>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where</p>
        <p>(<inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> ϕ </mml:mi><mml:mn> 0 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> ) represents the baseline prediction,(<inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> ϕ </mml:mi><mml:mi> j </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> ) denotes the contribution of feature (<italic>j</italic>).</p>
        <p>Both global and local explanations are generated.</p>
        <p>Global explanations identify the most influential variables affecting happiness across the entire dataset, whereas local explanations explain individual predictions.</p>
        <p>The explainability analysis enables policymakers to understand why a particular prediction is made rather than relying solely on numerical accuracy.</p>
      </sec>
    </sec>
    <sec id="sec5">
      <title>5. Experimental Results</title>
      <p>The experimental analysis begins with a statistical exploration of the processed dataset. The distribution of the target variable, the Happiness Index, is presented in <xref ref-type="fig" rid="fig1">Figure 1</xref>. The histogram indicates that the majority of respondents reported moderate to high levels of life satisfaction, with most observations concentrated between 5 and 8 on the 10-point scale. No severe class imbalance or extreme skewness was observed, suggesting that the dataset is suitable for supervised regression modeling.</p>
      <p>The correlation analysis shown in <xref ref-type="fig" rid="fig3">Figure 3</xref> reveals several meaningful relationships between the explanatory variables and the Happiness Index. Household income, health status, social support, and perceived freedom exhibit positive correlations with happiness, whereas unemployment and perceived corruption display negative correlations. Although some variables present moderate intercorrelations, no severe multicollinearity was detected, allowing all selected features to be retained for model training.</p>
      <p>Seven Machine Learning algorithms were trained and evaluated using the same training and testing partitions. Their predictive performance was assessed using the coefficient of determination (R<sup>2</sup>), Mean Absolute Error (MAE), and Root Mean Square Error (RMSE).</p>
      <p><bold>Table 1.</bold>Performance comparison of machine learning models.</p>
      <table-wrap id="tbl1">
        <label>Table 1</label>
        <table>
          <tbody>
            <tr>
              <td>
                <bold>Model</bold>
              </td>
              <td>
                <bold>R</bold>
                <bold>
                  <sup>2</sup>
                </bold>
              </td>
              <td>
                <bold>MAE</bold>
              </td>
              <td>
                <bold>RMSE</bold>
              </td>
            </tr>
            <tr>
              <td>
                <bold>Linear Regression</bold>
              </td>
              <td>0.71</td>
              <td>0.69</td>
              <td>0.88</td>
            </tr>
            <tr>
              <td>
                <bold>Decision Tree</bold>
              </td>
              <td>0.77</td>
              <td>0.58</td>
              <td>0.73</td>
            </tr>
            <tr>
              <td>
                <bold>Random Forest</bold>
              </td>
              <td>0.84</td>
              <td>0.42</td>
              <td>0.54</td>
            </tr>
            <tr>
              <td>
                <bold>XGBoost</bold>
              </td>
              <td>0.86</td>
              <td>0.39</td>
              <td>0.49</td>
            </tr>
            <tr>
              <td>
                <bold>LightGBM</bold>
              </td>
              <td>0.85</td>
              <td>0.40</td>
              <td>0.51</td>
            </tr>
            <tr>
              <td>
                <bold>CatBoost</bold>
              </td>
              <td>0.87</td>
              <td>0.36</td>
              <td>0.46</td>
            </tr>
            <tr>
              <td>
                <bold>Artificial Neural Network</bold>
              </td>
              <td>0.83</td>
              <td>0.44</td>
              <td>0.56</td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
      <p>Source: Elaborated by the authors.</p>
      <p>The comparative results (<bold>Table 1</bold>) demonstrate that all ensemble learning algorithms substantially outperform the baseline Linear Regression model. Decision Tree Regression improves prediction accuracy by capturing nonlinear relationships but remains less robust than ensemble approaches due to its susceptibility to overfitting.</p>
      <p>Among all evaluated models, CatBoost achieved the highest predictive performance, with an R<sup>2</sup> value of 0.87, an MAE of 0.36, and the lowest RMSE (0.46). These results indicate that CatBoost provides the most accurate approximation of the observed Happiness Index while minimizing prediction errors.</p>
      <p>The overall comparison of model performance is illustrated in <xref ref-type="fig" rid="fig3">Figure 3</xref>, where CatBoost consistently outperforms the competing algorithms across all evaluation metrics.</p>
      <sec id="sec5dot1">
        <title>Model Performance</title>
        <p>The superior performance of CatBoost [<xref ref-type="bibr" rid="B15">15</xref>] can be attributed to several methodological advantages. First, its ordered boosting strategy effectively reduces prediction bias during training. Second, the algorithm naturally handles categorical variables without requiring extensive preprocessing, making it particularly suitable for socioeconomic survey data. Third, CatBoost incorporates robust regularization mechanisms that improve generalization and reduce overfitting.</p>
        <p>Random Forest, XGBoost [<xref ref-type="bibr" rid="B16">16</xref>], and LightGBM [<xref ref-type="bibr" rid="B17">17</xref>] also demonstrated strong predictive capabilities, confirming that ensemble learning methods are well suited for modeling the complex relationships underlying subjective well-being. These algorithms successfully capture nonlinear interactions among income, education, health, employment, and social support, which cannot be adequately represented by conventional linear models.</p>
        <p>Conversely, Linear Regression produced the lowest predictive performance because it assumes linear relationships between explanatory variables and happiness. Since subjective well-being is influenced by numerous interacting factors, this assumption limits its ability to accurately model real-world observations.</p>
        <p>Although the Artificial Neural Network achieved competitive performance, its results remained slightly below those of CatBoost [<xref ref-type="bibr" rid="B18">18</xref>]. This outcome is likely due to the relatively moderate size of the dataset, where boosting-based methods generally outperform deep learning architectures.</p>
      </sec>
    </sec>
    <sec id="sec6">
      <title>6. Conclusions</title>
      <p>This study presented an explainable Machine Learning framework for predicting the Happiness Index in Morocco by integrating socioeconomic, demographic, and health-related indicators. Unlike traditional statistical approaches, the proposed framework combines advanced ensemble learning algorithms with Explainable Artificial Intelligence (XAI), enabling both high predictive accuracy and transparent interpretation of model outcomes. By leveraging publicly available survey data and applying a comprehensive preprocessing and feature engineering pipeline, the proposed methodology provides a robust and data-driven approach for understanding the determinants of subjective well-being in the Moroccan context.</p>
      <p>In conclusion, this study demonstrates that the combination of Machine Learning and Explainable Artificial Intelligence provides a powerful, accurate, and interpretable framework for analyzing subjective well-being in Morocco. By bridging predictive analytics with transparent decision-making, the proposed methodology contributes to the emerging field of computational social science and offers valuable insights for researchers, policymakers, and governmental institutions seeking to promote sustainable development and improve citizens’ quality of life.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Clark, A.E., Flèche, S., Layard, R., Powdthavee, N. and Ward, G. (2018) The Origins of Happiness: The Science of Well-Being over the Life Course. Princeton University Press. https://doi.org/10.2307/j.ctvc77dgq <pub-id pub-id-type="doi">10.2307/j.ctvc77dgq</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2307/j.ctvc77dgq">https://doi.org/10.2307/j.ctvc77dgq</ext-link></mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Clark, A.E.</string-name>
              <string-name>Layard, R.</string-name>
              <string-name>Powdthavee, N.</string-name>
              <string-name>Ward, G.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>The Origins of Happiness: The Science of Well-Being over the Life Course</article-title>
            <pub-id pub-id-type="doi">10.2307/j.ctvc77dgq</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Khan, A.E., Hasan, M.J., Anjum, H., Mohammed, N. and Momen, S. (2024) Predicting Life Satisfaction Using Machine Learning and Explainable AI. <italic>Heliyon</italic>, 10, e31158. https://doi.org/10.1016/j.heliyon.2024.e31158 <pub-id pub-id-type="doi">10.1016/j.heliyon.2024.e31158</pub-id><pub-id pub-id-type="pmid">38818204</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.heliyon.2024.e31158">https://doi.org/10.1016/j.heliyon.2024.e31158</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Khan, A.E.</string-name>
              <string-name>Hasan, M.J.</string-name>
              <string-name>Anjum, H.</string-name>
              <string-name>Mohammed, N.</string-name>
              <string-name>Momen, S.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Predicting Life Satisfaction Using Machine Learning and Explainable AI</article-title>
            <source>Heliyon</source>
            <volume>10</volume>
            <pub-id pub-id-type="doi">10.1016/j.heliyon.2024.e31158</pub-id>
            <pub-id pub-id-type="pmid">38818204</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">OECD (2025) OECD Guidelines on Measuring Subjective Well-Being (2025 Update). OECD Publishing. https://www.oecd.org/en/publications/oecd-guidelines-on-measuring-subjective-well-being-2025-update_9203632a-en.html</mixed-citation>
          <element-citation publication-type="web">
            <year>2025</year>
            <article-title>OECD Guidelines on Measuring Subjective Well-Being (2025 Update)</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Dolan, P., Peasgood, T. and White, M. (2008) A Review of the Economic Literature on the Factors Associated with Subjective Well-Being. <italic>Journal of Economic Psychology</italic>, 29, 94-122.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Dolan, P.</string-name>
              <string-name>Peasgood, T.</string-name>
              <string-name>White, M.</string-name>
            </person-group>
            <year>2008</year>
            <article-title>A Review of the Economic Literature on the Factors Associated with Subjective Well-Being</article-title>
            <source>Journal of Economic Psychology</source>
            <volume>29</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Kahneman, D. and Deaton, A. (2010) High Income Improves Evaluation of Life but Not Emotional Well-Being. <italic>Proceedings of the</italic><italic>National</italic><italic>Academy of Sciences</italic>, 107, 16489-16493. https://doi.org/10.1073/pnas.1011492107 <pub-id pub-id-type="doi">10.1073/pnas.1011492107</pub-id><pub-id pub-id-type="pmid">20823223</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1073/pnas.1011492107">https://doi.org/10.1073/pnas.1011492107</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Kahneman, D.</string-name>
              <string-name>Deaton, A.</string-name>
            </person-group>
            <year>2010</year>
            <article-title>High Income Improves Evaluation of Life but Not Emotional Well-Being</article-title>
            <source>Proceedings of the National Academy of Sciences</source>
            <volume>107</volume>
            <pub-id pub-id-type="doi">10.1073/pnas.1011492107</pub-id>
            <pub-id pub-id-type="pmid">20823223</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Easterlin, R.A. (1974) Does Economic Growth Improve the Human Lot? Some Empirical Evidence. In: David, P.A. and Reder, M.W., Eds., <italic>Nations and Households in Economic Growth</italic>: <italic>Essays in Honor of Moses Abramovitz</italic>, Elsevier, 89-125. https://doi.org/10.1016/b978-0-12-205050-3.50008-7 <pub-id pub-id-type="doi">10.1016/b978-0-12-205050-3.50008-7</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/b978-0-12-205050-3.50008-7">https://doi.org/10.1016/b978-0-12-205050-3.50008-7</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Easterlin, R.A.</string-name>
              <string-name>David, P.A.</string-name>
              <string-name>Reder, M.W.</string-name>
              <string-name>Abramovitz, E</string-name>
            </person-group>
            <year>1974</year>
            <article-title>Does Economic Growth Improve the Human Lot? Some Empirical Evidence</article-title>
            <source>In: David</source>
            <volume>89</volume>
            <pub-id pub-id-type="doi">10.1016/b978-0-12-205050-3.50008-7</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Clark, A.E., Frijters, P. and Shields, M.A. (2008) Relative Income, Happiness, and Utility: An Explanation for the Easterlin Paradox and Other Puzzles. <italic>Journal of Economic Literature</italic>, 46, 95-144. https://doi.org/10.1257/jel.46.1.95 <pub-id pub-id-type="doi">10.1257/jel.46.1.95</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1257/jel.46.1.95">https://doi.org/10.1257/jel.46.1.95</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Clark, A.E.</string-name>
              <string-name>Frijters, P.</string-name>
              <string-name>Shields, M.A.</string-name>
              <string-name>Income, H</string-name>
            </person-group>
            <year>2008</year>
            <article-title>Relative Income, Happiness, and Utility: An Explanation for the Easterlin Paradox and Other Puzzles</article-title>
            <source>Journal of Economic Literature</source>
            <volume>46</volume>
            <pub-id pub-id-type="doi">10.1257/jel.46.1.95</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Deaton, A. (2008) Income, Health, and Well-Being around the World: Evidence from the Gallup World Poll. <italic>Journal of Economic Perspectives</italic>, 22, 53-72. https://doi.org/10.1257/jep.22.2.53 <pub-id pub-id-type="doi">10.1257/jep.22.2.53</pub-id><pub-id pub-id-type="pmid">19436768</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1257/jep.22.2.53">https://doi.org/10.1257/jep.22.2.53</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Deaton, A.</string-name>
              <string-name>Income, H</string-name>
            </person-group>
            <year>2008</year>
            <article-title>Income, Health, and Well-Being around the World: Evidence from the Gallup World Poll</article-title>
            <source>Journal of Economic Perspectives</source>
            <volume>22</volume>
            <pub-id pub-id-type="doi">10.1257/jep.22.2.53</pub-id>
            <pub-id pub-id-type="pmid">19436768</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Oparina, E., Kaiser, C., Gentile, N., Tkatchenko, A., Clark, A.E., De Neve, J., <italic>et al</italic>. (2025) Machine Learning in the Prediction of Human Wellbeing. <italic>Scientific Reports</italic>, 15, Article No. 1632. https://doi.org/10.1038/s41598-024-84137-1 <pub-id pub-id-type="doi">10.1038/s41598-024-84137-1</pub-id><pub-id pub-id-type="pmid">39794488</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/s41598-024-84137-1">https://doi.org/10.1038/s41598-024-84137-1</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Oparina, E.</string-name>
              <string-name>Kaiser, C.</string-name>
              <string-name>Gentile, N.</string-name>
              <string-name>Tkatchenko, A.</string-name>
              <string-name>Clark, A.E.</string-name>
              <string-name>Neve, J.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Machine Learning in the Prediction of Human Wellbeing</article-title>
            <source>Scientific Reports</source>
            <volume>15</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.1038/s41598-024-84137-1</pub-id>
            <pub-id pub-id-type="pmid">39794488</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Senik, C. (2014) L’Économie du bonheur. Seuil.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Senik, C.</string-name>
            </person-group>
            <year>2014</year>
            <article-title>L’Économie du bonheur</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Haut-Commissariat au Plan (2012) Enquête Nationale sur le Bien-être: Principaux résultats [Rapport de recherche]. Royaume du Maroc. https://www.hcp.ma/Intervention-de-M-le-Haut-Commissaire-au-Plan-Presentation-des-resultats-de-l-enquete-nationale-sur-le-bien-etre_a1074.html</mixed-citation>
          <element-citation publication-type="web">
            <year>2012</year>
            <article-title>Enquête Nationale sur le Bien-être: Principaux résultats [Rapport de recherche]</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Ipsos (2015) Enquête nationale sur le bonheur des Marocains—Présentation des résultats [Présentation]. Commanditée par Atlanta Assurances. https://www.therollingnotes.com/2015/03/27/document-synthese-globale-des-resultats-de-lenquete-sur-le-bonheur-des-marocains/</mixed-citation>
          <element-citation publication-type="web">
            <year>2015</year>
            <article-title>Enquête nationale sur le bonheur des Marocains—Présentation des résultats [Présentation]</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B13">
        <label>13.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Song, J., Pan, F. and Liu, H. (2025) Income, Psychological Security, and Subjective Well-Being in Urban China: A Machine Learning Analysis with SHAP Interpretation. <italic>BMC Psychology</italic>, 13, Article No. 1007. https://doi.org/10.1186/s40359-025-03591-2 <pub-id pub-id-type="doi">10.1186/s40359-025-03591-2</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s40359-025-03591-2">https://doi.org/10.1186/s40359-025-03591-2</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Song, J.</string-name>
              <string-name>Pan, F.</string-name>
              <string-name>Liu, H.</string-name>
              <string-name>Income, P</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Income, Psychological Security, and Subjective Well-Being in Urban China: A Machine Learning Analysis with SHAP Interpretation</article-title>
            <source>BMC Psychology</source>
            <volume>13</volume>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.1186/s40359-025-03591-2</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B14">
        <label>14.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Diener, E., Oishi, S. and Lucas, R.E. (2015) National Accounts of Subjective Well-being. <italic>American Psychologist</italic>, 70, 234-242. https://doi.org/10.1037/a0038899 <pub-id pub-id-type="doi">10.1037/a0038899</pub-id><pub-id pub-id-type="pmid">25844649</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1037/a0038899">https://doi.org/10.1037/a0038899</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Diener, E.</string-name>
              <string-name>Oishi, S.</string-name>
              <string-name>Lucas, R.E.</string-name>
            </person-group>
            <year>2015</year>
            <article-title>National Accounts of Subjective Well-being</article-title>
            <source>American Psychologist</source>
            <volume>70</volume>
            <pub-id pub-id-type="doi">10.1037/a0038899</pub-id>
            <pub-id pub-id-type="pmid">25844649</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B15">
        <label>15.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Han, N., Wen, Y., Wang, B., Huang, F., Liu, X., Li, L., <italic>et al</italic>. (2024) Developing a Machine Learning-Based Instrument for Subjective Well-Being Assessment on Weibo and Its Psychological Significance: An Evaluative and Interpretive Research. <italic>Applied Psychology</italic>: <italic>Health and Well</italic>- <italic>Being</italic>, 16, 2246-2265. https://doi.org/10.1111/aphw.12590 <pub-id pub-id-type="doi">10.1111/aphw.12590</pub-id><pub-id pub-id-type="pmid">39168488</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/aphw.12590">https://doi.org/10.1111/aphw.12590</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Han, N.</string-name>
              <string-name>Wen, Y.</string-name>
              <string-name>Wang, B.</string-name>
              <string-name>Huang, F.</string-name>
              <string-name>Liu, X.</string-name>
              <string-name>Li, L.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Developing a Machine Learning-Based Instrument for Subjective Well-Being Assessment on Weibo and Its Psychological Significance: An Evaluative and Interpretive Research</article-title>
            <source>Applied Psychology: Health and Well-Being</source>
            <volume>16</volume>
            <pub-id pub-id-type="doi">10.1111/aphw.12590</pub-id>
            <pub-id pub-id-type="pmid">39168488</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B16">
        <label>16.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Prokhorenkova, L., Gusev, G., Vorobev, A., Dorogush, A.V. and Gulin, A. (2018) CatBoost: Unbiased Boosting with Categorical Features. 32 <italic>nd Conference on Neural Information Processing Systems</italic> ( <italic>NeurIPS</italic> 2018), Montréal, 3-8 December 2018. https://proceedings.neurips.cc/paper_files/paper/2018/file/14491b756b3a51daac41c24863285549-Paper.pdf</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Prokhorenkova, L.</string-name>
              <string-name>Gusev, G.</string-name>
              <string-name>Vorobev, A.</string-name>
              <string-name>Dorogush, A.V.</string-name>
              <string-name>Gulin, A.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>CatBoost: Unbiased Boosting with Categorical Features</article-title>
            <source>32nd Conference on Neural Information Processing Systems (NeurIPS 2018)</source>
            <volume>3</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B17">
        <label>17.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Chen, T. and Guestrin, C. (2016) XGBoost: A Scalable Tree Boosting System. In: <italic>Proceedings of the</italic>22 <italic>nd ACM SIGKDD International Conference on Knowledge Dis</italic><italic>covery and Data Mining</italic>, Association for Computing Machinery, 785-794. https://doi.org/10.1145/2939672.2939785 <pub-id pub-id-type="doi">10.1145/2939672.2939785</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/2939672.2939785">https://doi.org/10.1145/2939672.2939785</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Chen, T.</string-name>
              <string-name>Guestrin, C.</string-name>
              <string-name>Mining, A</string-name>
            </person-group>
            <year>2016</year>
            <article-title>XGBoost: A Scalable Tree Boosting System</article-title>
            <source>In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</source>
            <volume>785</volume>
            <pub-id pub-id-type="doi">10.1145/2939672.2939785</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B18">
        <label>18.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q. and Liu, T.-Y. (2017) LightGBM: A Highly Efficient Gradient Boosting Decision Tree. 31 <italic>st Conference on Neural Information Processing Systems</italic>, Vol. 30, 3146-3154. https://file:///C:/Users/pc/Downloads/NIPS-2017-lightgbm-a-highly-efficient-gradient-boosting-decision-tree-Paper.pdf</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Ke, G.</string-name>
              <string-name>Meng, Q.</string-name>
              <string-name>Finley, T.</string-name>
              <string-name>Wang, T.</string-name>
              <string-name>Chen, W.</string-name>
              <string-name>Ma, W.</string-name>
              <string-name>Ye, Q.</string-name>
              <string-name>Liu, T.</string-name>
              <string-name>Systems, V</string-name>
            </person-group>
            <year>2017</year>
            <article-title>LightGBM: A Highly Efficient Gradient Boosting Decision Tree</article-title>
            <source>31st Conference on Neural Information Processing Systems</source>
            <volume>3146</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>