<?xml version="1.0" encoding="UTF-8"?>
<ArticleSet>
  <Article>
    <Journal>
      <PublisherName>KMAN Publication Inc. (KMANPUB)</PublisherName>
      <JournalTitle>Journal of Assessment and Research in Applied Counseling (JARAC)</JournalTitle>
      <Issn></Issn>
      <Volume>8</Volume>
      <Issue>Serial Number 30</Issue>
      <PubDate PubStatus="epublish">
        <Year>2026</Year>
        <Month>07</Month>
        <Day>01</Day>
      </PubDate>
    </Journal>
    <ArticleTitle>Stacked Generalization Model for Predicting Happiness: Positive Affect, Gratitude, Social Connectedness, and Psychological Flexibility</ArticleTitle>
    <VernacularTitle>Stacked Generalization Model for Predicting Happiness: Positive Affect, Gratitude, Social Connectedness, and Psychological Flexibility</VernacularTitle>
    <FirstPage>1</FirstPage>
    <LastPage>10</LastPage>
    <Language>EN</Language>
    <AuthorList>
      <Author>
        <FirstName></FirstName>
        <LastName></LastName>
        <Affiliation></Affiliation>
      </Author>
      <Author>
        <FirstName></FirstName>
        <LastName></LastName>
        <Affiliation></Affiliation>
      </Author>
      <Author>
        <FirstName></FirstName>
        <LastName></LastName>
        <Affiliation></Affiliation>
      </Author>
      <Author>
        <FirstName></FirstName>
        <LastName></LastName>
        <Affiliation></Affiliation>
      </Author>
    </AuthorList>
    <PublicationType>Journal Article</PublicationType>
    <History>
      <PubDate PubStatus="received">
        <Year>2026</Year>
        <Month>01</Month>
        <Day>17</Day>
      </PubDate>
    </History>
    <Abstract>&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;strong&gt;Objective:&lt;/strong&gt; The present study aimed to develop and evaluate a stacked generalization machine learning model to predict happiness based on positive affect, gratitude, social connectedness, and psychological flexibility.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Methods and Materials: &lt;/strong&gt;This cross-sectional predictive study was conducted on a sample of 742 adults recruited from Canada using stratified online sampling to ensure demographic diversity. Participants completed validated self-report instruments including the Subjective Happiness Scale (SHS), the Positive Affect subscale of the Positive and Negative Affect Schedule (PANAS), the Gratitude Questionnaire-6 (GQ-6), the Social Connectedness Scale-Revised (SCS-R), and the Acceptance and Action Questionnaire-II (AAQ-II). Data preprocessing involved handling missing values via multiple imputation, outlier adjustment using robust scaling, and feature standardization. The dataset was split into training (80%) and testing (20%) sets, and model training utilized 10-fold cross-validation. A stacked generalization model was constructed using base learners including linear regression, support vector regression, random forest, and gradient boosting, with a Ridge regression meta-learner. Model performance was evaluated using mean squared error (MSE), root mean squared error (RMSE), and coefficient of determination (R²), and interpretability was enhanced באמצעות SHapley Additive exPlanations (SHAP) analysis.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Findings: &lt;/strong&gt;The stacked generalization model demonstrated superior predictive performance compared to all base models, achieving the highest explained variance (R² = 0.74) and the lowest prediction error (RMSE = 0.52). Among the predictors, positive affect exhibited the strongest contribution to happiness, followed by social connectedness, gratitude, and psychological flexibility. SHAP analysis revealed significant nonlinear and interaction effects among predictors, indicating that the combined influence of these variables enhances predictive accuracy beyond additive models.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Conclusion: &lt;/strong&gt;The findings highlight the effectiveness of stacked generalization in modeling complex psychological constructs and underscore the central role of positive affect, gratitude, social connectedness, and psychological flexibility in predicting happiness, supporting the integration of machine learning approaches in psychological research and intervention design.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</Abstract>
    <ObjectList>
      <Object Type="keyword">
        <Param Name="value">Happiness</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">Stacked Generalization</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">Positive Affect</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">Gratitude</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">Social Connectedness</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">Psychological Flexibility</Param>
      </Object>
    </ObjectList>
    <ArchiveCopySource DocType="pdf">https://www.journals.kmanpub.com/index.php/jarac/article/download/207/9677</ArchiveCopySource>
  </Article>
</ArticleSet>
