<?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>Random Forest Classification of Suicide Risk Using Hopelessness, Defeat, Entrapment, and Psychological Pain</ArticleTitle>
    <VernacularTitle>Random Forest Classification of Suicide Risk Using Hopelessness, Defeat, Entrapment, and Psychological Pain</VernacularTitle>
    <FirstPage>1</FirstPage>
    <LastPage>14</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>
    </AuthorList>
    <PublicationType>Journal Article</PublicationType>
    <History>
      <PubDate PubStatus="received">
        <Year>2026</Year>
        <Month>02</Month>
        <Day>19</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; This study aimed to develop and evaluate a Random Forest classification model for predicting suicide risk among Moroccan adults using hopelessness, defeat, entrapment, and psychological pain as psychological predictors.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Methods and Materials: &lt;/strong&gt;This cross-sectional predictive study was conducted among 1,284 adults from Morocco. Participants completed standardized self-report measures assessing suicide risk, hopelessness, defeat, entrapment, and psychological pain. Suicide risk was classified as a binary outcome variable, distinguishing low-risk and high-risk participants according to standardized suicide risk scores. Data were screened for missing values, distributional properties, and outliers before analysis. The dataset was divided into training and testing subsets using an 80:20 stratified split to preserve the proportion of suicide risk categories. A Random Forest classifier was trained on the training dataset, and hyperparameter tuning was performed using grid search with five-fold stratified cross-validation. Model performance was evaluated on the independent test dataset using accuracy, sensitivity, specificity, precision, F1-score, balanced accuracy, ROC-AUC, Cohen’s Kappa, Matthews Correlation Coefficient, and confusion matrix indices. Feature importance was examined using Gini importance, permutation importance, and SHAP-based interpretability analysis.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Findings: &lt;/strong&gt;Hopelessness, defeat, entrapment, and psychological pain were all positively associated with suicide risk, with psychological pain showing the strongest relationship. The optimized Random Forest model demonstrated excellent classification performance, with accuracy of 92.61%, sensitivity of 88.96%, specificity of 93.87%, precision of 90.74%, F1-score of 89.84%, balanced accuracy of 91.42%, and ROC-AUC of 0.964. Cohen’s Kappa was 0.819 and the Matthews Correlation Coefficient was 0.824, indicating strong agreement beyond chance. Feature-importance results showed that psychological pain was the strongest predictor, followed by entrapment, hopelessness, and defeat. SHAP analysis confirmed that higher levels of all four predictors increased the probability of classification into the high-suicide-risk group.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Conclusion: &lt;/strong&gt;The findings indicate that Random Forest classification can accurately distinguish suicide risk levels using theoretically grounded psychological variables. Psychological pain and entrapment were the most influential predictors, suggesting that unbearable emotional suffering and perceived inability to escape distress are central markers of elevated suicide risk. The model may provide a useful decision-support approach for suicide risk screening, although it should complement rather than replace professional clinical judgment.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</Abstract>
    <ObjectList>
      <Object Type="keyword">
        <Param Name="value">Suicide risk</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">Random Forest</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">hopelessness</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">defeat</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">entrapment</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">psychological pain</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">machine learning</Param>
      </Object>
      <Object Type="keyword">
        <Param Name="value">Morocco</Param>
      </Object>
    </ObjectList>
    <ArchiveCopySource DocType="pdf">https://www.journals.kmanpub.com/index.php/jarac/article/download/5461/10950</ArchiveCopySource>
  </Article>
</ArticleSet>
