<?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">vp</journal-id>
      <journal-title-group>
        <journal-title>Voice of the Publisher</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2380-7598</issn>
      <issn pub-type="ppub">2380-7571</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/vp.2026.124038</article-id>
      <article-id pub-id-type="publisher-id">vp-155083</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Social Sciences</subject>
          <subject>Humanities</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Predicting STEM Persistence and Attrition among U.S. Students: A Longitudinal Machine Learning Analysis of HSLS:09</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Tijani</surname>
            <given-names>Musa Oladipupo</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Oduor</surname>
            <given-names>Lilian A.</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Akinsola</surname>
            <given-names>Oludotun Oluwatoni</given-names>
          </name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Engworo</surname>
            <given-names>Gentle Paul</given-names>
          </name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Engworo</surname>
            <given-names>Amen Edoha</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Amoo</surname>
            <given-names>Akinkumi Abdulyekeen</given-names>
          </name>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Department of Mathematics, Missouri State University, Springfield, MO, USA </aff>
      <aff id="aff2"><label>2</label> Department of Educational Leadership, Research and Technology, Western Michigan University, Kalamazoo, MI, USA </aff>
      <aff id="aff3"><label>3</label> Department of Mathematics, Missouri University of Science and Technology, Rolla, MO, USA </aff>
      <aff id="aff4"><label>4</label> Department of Chemical Engineering, University of Lagos, Lagos, Nigeria </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare no conflicts of interest regarding the publication of this paper.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>02</day>
        <month>12</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>12</month>
        <year>2026</year>
      </pub-date>
      <volume>12</volume>
      <issue>04</issue>
      <fpage>689</fpage>
      <lpage>701</lpage>
      <history>
        <date date-type="received">
          <day>10</day>
          <month>09</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>01</day>
          <month>11</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>04</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/vp.2026.124038">https://doi.org/10.4236/vp.2026.124038</self-uri>
      <abstract>
        <p>Science, technology, engineering, and mathematics (STEM) persistence is critical to the development of the U.S. scientific and technical workforce. However, a significant portion of students who initially intend to pursue STEM fields do not continue into these majors during postsecondary education. The primary objective is to evaluate whether high-school academic achievement, socioeconomic status, demographic characteristics, and motivational measures related to mathematics and science can distinguish students who initially intended to pursue a STEM major and subsequently had a STEM undergraduate major from those whose later undergraduate major was classified as non-STEM. Using data from the High School Longitudinal Study of 2009 (HSLS:09), the study evaluates four predictive approaches: logistic regression, Elastic Net regularized logistic regression, random forest, and Extreme Gradient Boosting (XGBoost). The analytical cohort (N = 2331) revealed an attrition rate of 32.56%. The findings indicate that regularized regression performs competitively with complex tree-based algorithms, achieving a test ROC-AUC of 0.643. Key predictors include mathematics achievement, socioeconomic status, mathematics identity, and science self-efficacy. Results highlight the importance of threshold calibration in early-warning systems, as optimized thresholds significantly improved the detection of students at risk of attrition (sensitivity = 70.4%). The study provides a framework for using longitudinal educational data to support early identification and targeted interventions for at-risk STEM students.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>STEM Persistence</kwd>
        <kwd>STEM Attrition</kwd>
        <kwd>Machine Learning</kwd>
        <kwd>Predictive Analytics</kwd>
        <kwd>Elastic Net</kwd>
        <kwd>XGBoost</kwd>
        <kwd>HSLS:09</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>The development of a STEM workforce is an important concern in the United States. Many students express an intention to pursue STEM during secondary school, but their later postsecondary major may differ from that intention. Research describes movement away from STEM fields as STEM attrition ([<xref ref-type="bibr" rid="B7">7</xref>]; [<xref ref-type="bibr" rid="B4">4</xref>]).</p>
      <p>STEM attrition is not a uniform process; it is influenced by a complex interplay of academic preparation, socioeconomic circumstances, and psychological factors. Traditional educational research has frequently relied on descriptive statistics or cross-sectional analyses to identify these factors. However, longitudinal datasets, which track students over multiple years, offer a more powerful opportunity to understand the temporal nature of student trajectories ([<xref ref-type="bibr" rid="B11">11</xref>]). By leveraging data collected early in a student’s educational career, researchers can develop predictive models that serve as early-warning systems, allowing for timely interventions before a student leaves the STEM pathway ([<xref ref-type="bibr" rid="B4">4</xref>]; [<xref ref-type="bibr" rid="B15">15</xref>]).</p>
      <p>This study uses the High School Longitudinal Study of 2009 (HSLS:09) to examine the transition from initial high-school STEM-major intention to later undergraduate-major status. The analysis is restricted to the observed eligible cohort; the unweighted results are not treated as nationally representative estimates.</p>
    </sec>
    <sec id="sec2">
      <title>2. Research Statement</title>
      <p>The primary objective is to evaluate whether high-school academic achievement, socioeconomic status, demographic characteristics, mathematics and science related motivational measures distinguish students with an initial STEM-major intention whose later undergraduate major was classified as STEM from those whose later major was classified as non-STEM. This outcome represents STEM-intention realization, not uninterrupted enrollment or degree completion. The study addresses the following questions:</p>
      <p>1) How well do the evaluated models discriminate between students whose later undergraduate major was classified as STEM and those whose later major was classified as non-STEM?</p>
      <p>2) Which academic, socioeconomic, demographic, and motivational predictors contribute most to model predictions?</p>
      <p>3) How does selecting a classification threshold using cross-validation affect the detection of students whose later major was classified as non-STEM?</p>
      <p>By answering these questions, this study aims to provide a data-driven framework for educational institutions to identify at-risk students and implement targeted support strategies.</p>
    </sec>
    <sec id="sec3">
      <title>3. Literature Review</title>
      <p>The literature on STEM persistence and attrition is extensive, spanning decades of research into the factors that support or hinder student success. Researchers have identified several key domains of influence, including academic preparation, demographic disparities, and motivational constructs.</p>
      <sec id="sec3dot1">
        <title>3.1. Academic and Demographic Predictors</title>
        <p>Academic preparation, particularly in mathematics and science, is consistently identified as a primary predictor of STEM success. Prior research indicates that high school GPA, standardized test performance, and the rigor of prior mathematics and science preparation are important indicators of whether a student will persist in a STEM major ([<xref ref-type="bibr" rid="B7">7</xref>], [<xref ref-type="bibr" rid="B8">8</xref>]; [<xref ref-type="bibr" rid="B9">9</xref>]; [<xref ref-type="bibr" rid="B17">17</xref>]; [<xref ref-type="bibr" rid="B23">23</xref>]). For example, early performance in mathematics courses and math proficiency are critical filters; students who enter college with stronger quantitative readiness are more likely to remain in technical fields ([<xref ref-type="bibr" rid="B7">7</xref>], [<xref ref-type="bibr" rid="B8">8</xref>]; [<xref ref-type="bibr" rid="B18">18</xref>]).</p>
        <p>Demographic factors also play a significant role in attrition patterns. Studies have repeatedly shown that persistence in STEM varies across gender, race/ethnicity, first-generation status, and socioeconomic circumstances ([<xref ref-type="bibr" rid="B2">2</xref>]; [<xref ref-type="bibr" rid="B7">7</xref>]; [<xref ref-type="bibr" rid="B23">23</xref>]). Socioeconomic status (SES) remains an important contextual factor because access to academic preparation, enrichment opportunities, and institutional resources is not evenly distributed across students ([<xref ref-type="bibr" rid="B10">10</xref>]; [<xref ref-type="bibr" rid="B12">12</xref>]).</p>
      </sec>
      <sec id="sec3dot2">
        <title>3.2. Motivational and Social Factors</title>
        <p>Beyond academic and demographic variables, psychological and motivational factors are essential to understanding the STEM pipeline. Self-efficacy—the belief in one’s ability to succeed in specific tasks—is an important component of persistence, while expectancy-value beliefs shape students’ plans to continue in STEM ([<xref ref-type="bibr" rid="B2">2</xref>]; [<xref ref-type="bibr" rid="B24">24</xref>]). Students with a strong sense of STEM or science identity are also more likely to sustain engagement in STEM environments ([<xref ref-type="bibr" rid="B16">16</xref>]; [<xref ref-type="bibr" rid="B21">21</xref>]).</p>
        <p>Interest and utility value—the perception that STEM is useful and relevant to one’s goals—also contribute to persistence ([<xref ref-type="bibr" rid="B3">3</xref>]; [<xref ref-type="bibr" rid="B13">13</xref>]). Conversely, a weak sense of belonging can undermine persistence even among academically capable students. Recent evidence highlights the importance of belonging, academic hope, identity, and cultural resources for students from groups historically underrepresented in STEM ([<xref ref-type="bibr" rid="B10">10</xref>]; [<xref ref-type="bibr" rid="B12">12</xref>]).</p>
      </sec>
      <sec id="sec3dot3">
        <title>3.3. Predictive Modeling in STEM Persistence</title>
        <p>Recent advancements in educational data mining and machine learning have shifted the focus toward predictive analytics. Studies have employed logistic regression, neural networks, random forests, and other machine-learning approaches to identify students at risk of STEM attrition or non-retention ([<xref ref-type="bibr" rid="B1">1</xref>]; [<xref ref-type="bibr" rid="B4">4</xref>]; [<xref ref-type="bibr" rid="B9">9</xref>]; [<xref ref-type="bibr" rid="B17">17</xref>]; [<xref ref-type="bibr" rid="B20">20</xref>]).</p>
        <p>Although predictive models can achieve strong overall classification performance, such results can be misleading when the outcome classes are imbalanced. A model may correctly classify many persisters while failing to identify the smaller group of students who actually leave STEM. Consequently, attrition studies increasingly emphasize class-specific performance and early-alert usefulness rather than overall accuracy alone ([<xref ref-type="bibr" rid="B9">9</xref>]; [<xref ref-type="bibr" rid="B20">20</xref>]). Longitudinal approaches further show that attrition risk develops over time and can be informed by academic preparation, engagement, and motivational trajectories ([<xref ref-type="bibr" rid="B18">18</xref>]; [<xref ref-type="bibr" rid="B20">20</xref>]).</p>
      </sec>
    </sec>
    <sec id="sec4">
      <title>4. Research Method and Procedures</title>
      <p>This study follows a systematic pipeline for predictive modeling, utilizing a large-scale longitudinal dataset to train and evaluate multiple machine learning algorithms.</p>
      <sec id="sec4dot1">
        <title>4.1. Data Source and Participants</title>
        <p>The data were obtained from the High School Longitudinal Study of 2009 (HSLS:09), conducted by the National Center for Education Statistics ([<xref ref-type="bibr" rid="B11">11</xref>]). HSLS:09 followed a cohort of students from their 9th-grade year through postsecondary education and into the workforce. The original dataset contained 23,503 observations.</p>
        <p>The analytical cohort was restricted to students meeting the initial STEM-intention criterion (`S3FIELD_STEM = 1`) and having valid later undergraduate-major information (`X4RFDGMJSTEM`). Of the 23,503 original records, 2935 met the STEM-intention criterion. After requiring valid later-major information, 2331 students remained; 604 were not retained at this later-major eligibility stage. The final cohort included 1572 students (67.44%) with a later STEM major and 759 (32.56%) with a later non-STEM major. The outcome does not measure continuous STEM enrollment or degree completion. The cohort construction is summarized in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p>
        <p>1) Indicated an intention to pursue a STEM major during their high school years.</p>
        <p>2) Had valid information regarding their later undergraduate major status.</p>
        <p>The final sample consisted of 2331 students. These students were classified into two groups:</p>
        <p>Persisters: Students whose later reference-degree major remained in a STEM field.Attriters: Students whose later major was in a non-STEM field.</p>
        <fig id="fig1">
          <label>Figure 1</label>
          <graphic xlink:href="https://html.scirp.org/file/2141771-rId13.jpeg?20261104090418" />
        </fig>
        <p>Note. The 604 records were not retained at the valid-later-major eligibility step; the available analysis does not subdivide them into specific missingness categories.</p>
        <p><bold>Figure 1.</bold> Analytical cohort construction.</p>
      </sec>
      <sec id="sec4dot2">
        <title>4.2. Variables and Measures</title>
        <p>The predictor set comprised mathematics achievement (`X1TXMTH`), socioeconomic status (`X1SES`), sex (`X1SEX`), race/ethnicity (`X1RACE`), parent educational expectations (`X1PAREDEXPCT`), mathematics identity (`X1MTHID`), mathematics interest (`X1MTHINT`), mathematics self-efficacy (`X1MTHEFF`), science identity (`X1SCIID`), science interest (`X1SCIINT`), science self-efficacy (`X1SCIEFF`), and science utility (`X1SCIUTI`). Sex, race/ethnicity, and parent educational expectations were treated as categorical predictors; the remaining listed predictors were treated as numeric. GPA was not included in the model predictor set.</p>
        <p>1) Academic achievement: standardized mathematics achievement score (`X1TXMTH`).</p>
        <p>2) Socioeconomic status: HSLS:09 composite measure (`X1SES`).</p>
        <p>3) Demographics: sex (`X1SEX`) and race/ethnicity (`X1RACE`).</p>
        <p>4) Motivational measures: mathematics identity, interest, and self-efficacy; science identity, interest, self-efficacy, and utility; and parent educational expectations (`X1PAREDEXPCT`).</p>
        <p>Missing numeric predictor values were imputed using medians and categorical values using modes estimated from the training data to avoid data leakage. Preprocessing also included factor handling, dummy encoding, novel-level handling, zero-variance removal, and normalization, with training-derived preprocessing applied to the test data.</p>
      </sec>
      <sec id="sec4dot3">
        <title>4.3. Model Development and Evaluation</title>
        <p>Four predictive models were evaluated and compared:</p>
        <p>1) Logistic Regression: A standard statistical baseline for binary classification.</p>
        <p>2) Elastic Net Regularized Logistic Regression: A model that incorporates both L1 (Lasso) and L2 (Ridge) penalties to handle potential multicollinearity and perform feature selection ([<xref ref-type="bibr" rid="B25">25</xref>]).</p>
        <p>3) Random Forest: A non-linear ensemble method that builds multiple decision trees to improve stability and predictive power ([<xref ref-type="bibr" rid="B5">5</xref>]).</p>
        <p>4) Extreme Gradient Boosting (XGBoost): An advanced gradient boosting framework known for high performance and efficiency in structured data tasks ([<xref ref-type="bibr" rid="B6">6</xref>]).</p>
        <p>The data were divided into stratified training and test samples using an 80:20 split (n = 1864 and n = 467, respectively). Model development used repeated stratified five-fold cross-validation with two repetitions and random seed 123. ROC-AUC was the primary model-selection metric. The models were logistic regression, Elastic Net, random forest, and XGBoost. The reported models did not incorporate NCES sampling weights or complex-survey design adjustments.</p>
        <p>ROC-AUC: Area under the Receiver Operating Characteristic curve.PR-AUC: Area under the Precision-Recall curve.Sensitivity (Recall): The ability to correctly identify students who will attrite.Specificity: The ability to correctly identify students who will persist.Precision: The accuracy of attrition predictions.F1-Score: The harmonic mean of precision and recall.</p>
        <p>For the Elastic Net model, candidate classification thresholds from 0.10 to 0.60 in increments of 0.01 were evaluated using cross-validation predictions. Because repeated cross-validation produced multiple predictions per observation, probabilities were averaged by observation. The threshold maximizing cross-validated balanced accuracy (approximately 0.604) was 0.30. The selected cutoff was then applied to the held-out test sample.</p>
      </sec>
    </sec>
    <sec id="sec5">
      <title>5. Result Analysis</title>
      <sec id="sec5dot1">
        <title>5.1. Descriptive Statistics</title>
        <p>The final cohort (N = 2331) included 1572 students (67.44%) with a later STEM major and 759 (32.56%) with a later non-STEM major. The analysis therefore concerns the realization of an initial STEM intention in later major status. The distribution of these two outcome groups is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p>
      </sec>
      <sec id="sec5dot2">
        <title>5.2. Model Performance Comparison</title>
        <p>The predictive discrimination was moderate. Elastic Net had the highest cross-validation ROC-AUC (0.643; SE = 0.008). The independent test-set comparison is summarized in <bold>Table 1</bold>. Classification metrics at the selected Elastic Net threshold are presented separately in <bold>Table 2</bold>. <xref ref-type="fig" rid="fig3">Figure 3</xref> provides a visual comparison of the independent test-set performance across the four models.</p>
        <fig id="fig2">
          <label>Figure 2</label>
          <graphic xlink:href="https://html.scirp.org/file/2141771-rId14.jpeg?20261104090419" />
        </fig>
        <p>Note. The bars show the number and proportion of students with a later non-STEM major (attriters) and a later STEM major (persisters) in the eligible analytical cohort.</p>
        <p><bold>Figure 2.</bold> Distribution of STEM-intention outcomes in the analytical cohort.</p>
        <p><bold>Table 1.</bold> Cross-validation and default-threshold test performance by model.</p>
        <table-wrap id="tbl1">
          <label>Table 1</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Model</bold>
                </td>
                <td>
                  <bold>CV ROC-AUC (SE)</bold>
                </td>
                <td>
                  <bold>Test</bold>
                  <bold>ROC-AUC</bold>
                </td>
                <td>
                  <bold>Test</bold>
                  <bold>PR-AUC</bold>
                </td>
                <td>
                  <bold>Test accuracy</bold>
                </td>
                <td>
                  <bold>Test sensitivity</bold>
                </td>
                <td>
                  <bold>Test specificity</bold>
                </td>
              </tr>
              <tr>
                <td>Elastic Net</td>
                <td>0.643 (0.008)</td>
                <td>0.643</td>
                <td>0.456</td>
                <td>0.677</td>
                <td>0.053</td>
                <td>0.978</td>
              </tr>
              <tr>
                <td>XGBoost</td>
                <td>0.641 (0.010)</td>
                <td>0.633</td>
                <td>0.448</td>
                <td>0.677</td>
                <td>0.013</td>
                <td>0.997</td>
              </tr>
              <tr>
                <td>Logistic Regression</td>
                <td>0.637 (0.008)</td>
                <td>0.614</td>
                <td>0.424</td>
                <td>0.677</td>
                <td>0.158</td>
                <td>0.927</td>
              </tr>
              <tr>
                <td>Random Forest</td>
                <td>0.636 (0.008)</td>
                <td>0.596</td>
                <td>0.420</td>
                <td>0.675</td>
                <td>0.000</td>
                <td>1.000</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p><bold>Table 2.</bold> Elastic Net held-out test performance at the selected threshold (0.30).</p>
        <table-wrap id="tbl2">
          <label>Table 2</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Metric</bold>
                </td>
                <td>
                  <bold>Value</bold>
                </td>
              </tr>
              <tr>
                <td>Threshold</td>
                <td>0.30</td>
              </tr>
              <tr>
                <td>ROC-AUC</td>
                <td>0.643</td>
              </tr>
              <tr>
                <td>PR-AUC</td>
                <td>0.456</td>
              </tr>
              <tr>
                <td>Accuracy</td>
                <td>0.550</td>
              </tr>
              <tr>
                <td>Sensitivity (recall)</td>
                <td>0.704</td>
              </tr>
              <tr>
                <td>Specificity</td>
                <td>0.476</td>
              </tr>
              <tr>
                <td>Precision</td>
                <td>0.393</td>
              </tr>
              <tr>
                <td>F1 score</td>
                <td>0.505</td>
              </tr>
              <tr>
                <td>Balanced accuracy</td>
                <td>0.590</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <fig id="fig3">
          <label>Figure 3</label>
          <graphic xlink:href="https://html.scirp.org/file/2141771-rId15.jpeg?20261104090419" />
        </fig>
        <p>Note. Sensitivity and specificity in this figure are based on the default classification cutoff, not the optimized threshold.</p>
        <p><bold>Figure 3.</bold> Independent test-set performance by model.</p>
        <p><italic>Performance Metrics for the Optimized Elastic Net Model</italic>(<italic>Threshold</italic>= 0.3) </p>
        <p>The corresponding classification results at the selected threshold are illustrated in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p>
        <fig id="fig4">
          <label>Figure 4</label>
          <graphic xlink:href="https://html.scirp.org/file/2141771-rId16.jpeg?20261104090420" />
        </fig>
        <p>Note. Rows represent predicted class and columns represent observed class; the selected cutoff is 0.30.</p>
        <p><bold>Figure 4.</bold> Elastic net confusion matrix at threshold 0.30.</p>
        <p>Notably, regularized regression (Elastic Net) performed competitively with the more complex tree-based models (Random Forest and XGBoost), suggesting that the predictive signal in this dataset is effectively captured by an additive model.</p>
      </sec>
      <sec id="sec5dot3">
        <title>5.3. Predictor Importance</title>
        <p>Feature importance was examined for the tree-based models. The values are model-specific measures of predictive contribution and should not be interpreted as causal effects. <xref ref-type="fig" rid="fig5">Figure 5</xref> presents the XGBoost feature-gain values, while <bold>Table 3</bold>. </p>
        <fig id="fig5">
          <label>Figure 5</label>
          <graphic xlink:href="https://html.scirp.org/file/2141771-rId17.jpeg?20261104090420" />
        </fig>
        <p>Note. Bars show XGBoost feature gain, a model-specific predictive importance measure, not a causal effect.</p>
        <p><bold>Figure 5.</bold> Top XGBoost predictors of STEM attrition.</p>
        <p><bold>Table 3.</bold> Leading feature-importance values from XGBoost and random forest.</p>
        <table-wrap id="tbl3">
          <label>Table 3</label>
          <table>
            <tbody>
              <tr>
                <td>
                  <bold>Rank</bold>
                </td>
                <td>
                  <bold>XGBoost predictor</bold>
                </td>
                <td>
                  <bold>XGBoost gain</bold>
                </td>
                <td>
                  <bold>Random Forest predictor</bold>
                </td>
                <td>
                  <bold>Random Forest permutation importance</bold>
                </td>
              </tr>
              <tr>
                <td>1</td>
                <td>Math Achievement</td>
                <td>0.5135</td>
                <td>Math Achievement</td>
                <td>0.00274</td>
              </tr>
              <tr>
                <td>2</td>
                <td>Socioeconomic Status</td>
                <td>0.1192</td>
                <td>Math Identity</td>
                <td>0.00186</td>
              </tr>
              <tr>
                <td>3</td>
                <td>Math Identity</td>
                <td>0.1113</td>
                <td>Science Self-Efficacy</td>
                <td>0.00107</td>
              </tr>
              <tr>
                <td>4</td>
                <td>Sex_X2</td>
                <td>0.0892</td>
                <td>Socioeconomic Status</td>
                <td>0.00106</td>
              </tr>
              <tr>
                <td>5</td>
                <td>Race_X2</td>
                <td>0.0470</td>
                <td>Sex_X2</td>
                <td>0.00105</td>
              </tr>
              <tr>
                <td>6</td>
                <td>Science Self-Efficacy</td>
                <td>0.0468</td>
                <td>Race_X2</td>
                <td>0.00092</td>
              </tr>
              <tr>
                <td>7</td>
                <td>Science Interest</td>
                <td>0.0311</td>
                <td>Math Self-Efficacy</td>
                <td>0.00069</td>
              </tr>
              <tr>
                <td>8</td>
                <td>Math Interest</td>
                <td>0.0197</td>
                <td>Science Interest</td>
                <td>Not in reported top entries</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>compares the leading predictors identified by XGBoost and Random Forest. The XGBoost feature-gain results are visualized in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p>
        <p><italic>Top Predictors Ranked by XGBoost and Random Forest</italic></p>
        <p>Mathematics achievement emerged as the strongest predictor across all models, emphasizing the foundational role of quantitative skills in STEM persistence ([<xref ref-type="bibr" rid="B7">7</xref>]; [<xref ref-type="bibr" rid="B8">8</xref>]; [<xref ref-type="bibr" rid="B14">14</xref>]). Motivational variables, specifically math identity and science self-efficacy, also ranked highly, indicating that how students perceive their own abilities is a critical indicator of their future academic path ([<xref ref-type="bibr" rid="B14">14</xref>]; [<xref ref-type="bibr" rid="B22">22</xref>]).</p>
      </sec>
    </sec>
    <sec id="sec6">
      <title>6. Discussion</title>
      <p>The results show moderate discrimination for distinguishing students with STEM versus non-STEM later majors in this observed cohort. Elastic Net achieved a test ROC-AUC of 0.643. Because the outcome captures later major status rather than continuous enrollment or completion, it should be interpreted as STEM-intention realization.</p>
      <p>The high ranking of mathematics achievement aligns with prior research identifying quantitative preparation and early academic performance as important components of STEM persistence ([<xref ref-type="bibr" rid="B7">7</xref>], [<xref ref-type="bibr" rid="B8">8</xref>]; [<xref ref-type="bibr" rid="B9">9</xref>]; [<xref ref-type="bibr" rid="B18">18</xref>]). However, the inclusion of math identity and science self-efficacy among the top predictors suggests that academic performance alone does not tell the full story. Previous studies have similarly demonstrated that expectancy-value beliefs, STEM identity, motivational profiles, and sense of belonging are associated with continued engagement in STEM pathways ([<xref ref-type="bibr" rid="B2">2</xref>]; [<xref ref-type="bibr" rid="B12">12</xref>]; [<xref ref-type="bibr" rid="B13">13</xref>]; [<xref ref-type="bibr" rid="B16">16</xref>]; [<xref ref-type="bibr" rid="B21">21</xref>]).</p>
      <p>At the default threshold of 0.50, Elastic Net sensitivity for identifying attriters was low. At the cross-validation-selected threshold of 0.30, test sensitivity was 0.704 and specificity was 0.476. This trade-off should be considered in light of intended use, available support capacity, and the consequences of false-positive and false-negative classifications. The corresponding confusion matrix is reported in <bold>Table 4</bold>.</p>
      <p><bold>Table 4.</bold>Elastic Net confusion matrix on the test set (threshold = 0.30).</p>
      <table-wrap id="tbl4">
        <label>Table 4</label>
        <table>
          <tbody>
            <tr>
              <td>
                <bold>Predicted class</bold>
              </td>
              <td>
                <bold>Actual attrited</bold>
              </td>
              <td>
                <bold>Actual persisted</bold>
              </td>
            </tr>
            <tr>
              <td>Predicted attrited</td>
              <td>107</td>
              <td>165</td>
            </tr>
            <tr>
              <td>Predicted persisted</td>
              <td>45</td>
              <td>150</td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
    </sec>
    <sec id="sec7">
      <title>7. Recommendations</title>
      <p>Based on the findings of this study, several recommendations are proposed for educational policy and institutional practice:</p>
      <p>1) Early Identification: Institutions should use longitudinal data to identify at-risk students as early as possible. Predictive models, even those with moderate accuracy, can help flag students who might benefit from extra advising or mentoring. ([<xref ref-type="bibr" rid="B19">19</xref>])</p>
      <p>2) Holistic Support: Interventions should address both academic and motivational needs. Tutoring programs for mathematics achievement should be paired with efforts to build student confidence and STEM identity.</p>
      <p>3) Threshold Calibration: When implementing predictive analytics, administrators must carefully select classification thresholds based on the specific goals of the intervention. A focus on sensitivity is recommended for identifying students for low-cost, high-reach support programs.</p>
      <p>4) Integration with Faculty Judgment: Predictive models should serve as decision-support tools for educators and advisors, rather than as deterministic classifiers. Algorithms should supplement, not replace, human expertise ([<xref ref-type="bibr" rid="B15">15</xref>]).</p>
    </sec>
    <sec id="sec8">
      <title>8. Conclusion</title>
      <p>This study evaluated four machine-learning approaches for distinguishing students with an initial STEM intention whose later undergraduate major was classified as STEM from those whose later major was classified as non-STEM. In the observed analytical cohort, Elastic Net produced a test ROC-AUC of 0.643. Mathematics achievement, socioeconomic status, mathematics identity, and science self-efficacy were prominent predictors in the tree-based models. Findings are predictive rather than causal and are not nationally representative estimates because sampling weights and complex-survey adjustments were not incorporated.</p>
      <p>The findings may inform the development and evaluation of student-support decision tools, but the model should not be used as a deterministic classifier. Future studies should examine alternative outcome definitions, survey-weighted or design-adjusted methods where feasible, external validation, and performance in real support settings.</p>
    </sec>
    <sec id="sec9">
      <title>Author Contributions</title>
      <p>Musa Oladipupo Tijani: Conceptualization, methodology, data curation, formal analysis, machine-learning modeling, visualization, and writing—original draft. Lilian A. Odour: manuscript review, analysis and editing. Oludotun Oluwatoni Akinsola: manuscript review, data curation and editing. Gentle Paul Engworo: manuscript review, visualization and editing. Amen Edoha Engworo: manuscript review, methodology and editing. Amoo Abdulyeqeen Akinkunmi: manuscript review, machine-learning modelling and editing. All authors reviewed the manuscript and approved the final version.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Alkhasawneh, R., &amp; Hargraves, R. H. (2014). Developing a Hybrid Model to Predict Student First Year Retention in STEM Disciplines Using Machine Learning Techniques. <italic>Journal of STEM Education, 15,</italic> 35-42.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Alkhasawneh, R.</string-name>
              <string-name>Hargraves, R.</string-name>
            </person-group>
            <year>2014</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Andersen, L., &amp; Ward, T. J. (2014). Expectancy-Value Models for the STEM Persistence Plans of Ninth-Grade, High-Ability Students: A Comparison between Black, Hispanic, and White Students. <italic>Science Education, 98,</italic> 216-242. https://doi.org/10.1002/sce.21092 <pub-id pub-id-type="doi">10.1002/sce.21092</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1002/sce.21092">https://doi.org/10.1002/sce.21092</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Andersen, L.</string-name>
              <string-name>Ward, T.</string-name>
              <string-name>Ninth-Grade, H</string-name>
              <string-name>Black, H</string-name>
            </person-group>
            <year>2014</year>
            <pub-id pub-id-type="doi">10.1002/sce.21092</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Asher, M. W., Harackiewicz, J. M., Beymer, P. N., Hecht, C. A., Lamont, L. B., Else-Quest, N. M. et al. (2023). Utility-Value Intervention Promotes Persistence and Diversity in STEM. <italic>Proceedings of the National Academy of Sciences of the United States of America, 120,</italic> e2300463120. https://doi.org/10.1073/pnas.2300463120 <pub-id pub-id-type="doi">10.1073/pnas.2300463120</pub-id><pub-id pub-id-type="pmid">37126675</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1073/pnas.2300463120">https://doi.org/10.1073/pnas.2300463120</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Asher, M.</string-name>
              <string-name>Harackiewicz, J.</string-name>
              <string-name>Beymer, P.</string-name>
              <string-name>Hecht, C.</string-name>
              <string-name>Lamont, L.</string-name>
              <string-name>Else-Quest, N.</string-name>
            </person-group>
            <year>2023</year>
            <pub-id pub-id-type="doi">10.1073/pnas.2300463120</pub-id>
            <pub-id pub-id-type="pmid">37126675</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Aulck, L., Aras, R., Li, L., L’Heureux, C., Lu, P., &amp; West, J. D. (2017). <italic>Stem</italic><italic>-</italic><italic>Ming the Tide: Predicting STEM Attrition Using Student Transcript Data.</italic> arXiv: 1708.09344.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Aulck, L.</string-name>
              <string-name>Aras, R.</string-name>
              <string-name>Li, L.</string-name>
              <string-name>Heureux, C.</string-name>
              <string-name>Lu, P.</string-name>
              <string-name>West, J.</string-name>
            </person-group>
            <year>2017</year>
            <fpage>1708</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Breiman, L. (2001). Random Forests. <italic>Machine Learning, 45,</italic> 5-32. https://doi.org/10.1023/a:1010933404324 <pub-id pub-id-type="doi">10.1023/a:1010933404324</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1023/a:1010933404324">https://doi.org/10.1023/a:1010933404324</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Breiman, L.</string-name>
            </person-group>
            <year>2001</year>
            <fpage>101093</fpage>
            <pub-id pub-id-type="doi">10.1023/a:1010933404324</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Chen, T., &amp; Guestrin, C. (2016). XGBoost: A Scalable Tree Boosting System. In <italic>Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</italic>(pp. 785-794). ACM. 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>
            </person-group>
            <year>2016</year>
            <pub-id pub-id-type="doi">10.1145/2939672.2939785</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Chen, X. (2013). <italic>STEM Attrition: College Students</italic><italic>’</italic><italic>Paths into and</italic><italic>out</italic><italic>of STEM Fields (NCES 2014-001).</italic> National Center for Education Statistics.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Chen, X.</string-name>
            </person-group>
            <year>2013</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Chen, X. (2015). STEM Attrition among High-Performing College Students: Scope and Potential Causes. <italic>Journal of Technology and Science Education, 5,</italic> 41-59. https://doi.org/10.3926/jotse.136 <pub-id pub-id-type="doi">10.3926/jotse.136</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3926/jotse.136">https://doi.org/10.3926/jotse.136</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Chen, X.</string-name>
            </person-group>
            <year>2015</year>
            <pub-id pub-id-type="doi">10.3926/jotse.136</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Chen, Y., Johri, A., &amp; Rangwala, H. (2018). Running Out of Stem. In <italic>Proceedings of the 8th International Conference on Learning Analytics and Knowledge</italic>(pp. 270-279). ACM. https://doi.org/10.1145/3170358.3170410 <pub-id pub-id-type="doi">10.1145/3170358.3170410</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1145/3170358.3170410">https://doi.org/10.1145/3170358.3170410</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Chen, Y.</string-name>
              <string-name>Johri, A.</string-name>
              <string-name>Rangwala, H.</string-name>
            </person-group>
            <year>2018</year>
            <pub-id pub-id-type="doi">10.1145/3170358.3170410</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Davis, R. D., &amp; Wilson-Kennedy, Z. (2023). Leveraging Cultural Wealth, Identities and Motivation: How Diverse Intersectional Groups of Low-Income Undergraduate STEM Students Persist in Collegiate STEM Environments. <italic>Education Sciences, 13,</italic> Article 888. https://doi.org/10.3390/educsci13090888 <pub-id pub-id-type="doi">10.3390/educsci13090888</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/educsci13090888">https://doi.org/10.3390/educsci13090888</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Davis, R.</string-name>
              <string-name>Wilson-Kennedy, Z.</string-name>
              <string-name>Wealth, I</string-name>
            </person-group>
            <year>2023</year>
            <elocation-id>888</elocation-id>
            <pub-id pub-id-type="doi">10.3390/educsci13090888</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Duprey, M. A., Pratt, D. J., Jewell, D. M., Cominole, M. B., Fritch, L. B., Ritchie, E. A., Rogers, J. E., Wescott, J. D., &amp; Wilson, D. H. (2018). <italic>High School Longitudinal Study of 2009 (HSLS</italic><italic>:</italic><italic>09) Base-Year to Second Follow-</italic><italic>Up</italic><italic>Data File Documentation (NCES 2018-140).</italic>National Center for Education Statistics, Institute of Education Sciences, U.S. Department of Education.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Duprey, M.</string-name>
              <string-name>Pratt, D.</string-name>
              <string-name>Jewell, D.</string-name>
              <string-name>Cominole, M.</string-name>
              <string-name>Fritch, L.</string-name>
              <string-name>Ritchie, E.</string-name>
              <string-name>Rogers, J.</string-name>
              <string-name>Wescott, J.</string-name>
              <string-name>Wilson, D.</string-name>
              <string-name>Statistics, I</string-name>
              <string-name>Sciences, U.S.</string-name>
            </person-group>
            <year>2018</year>
            <fpage>09</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Hansen, M. J., Palakal, M. J., &amp; White, L. (2024). The Importance of STEM Sense of Belonging and Academic Hope in Enhancing Persistence for Low-Income, Underrepresented STEM Students. <italic>Journal for STEM Education Research, 7,</italic> 155-180. https://doi.org/10.1007/s41979-023-00096-8 <pub-id pub-id-type="doi">10.1007/s41979-023-00096-8</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s41979-023-00096-8">https://doi.org/10.1007/s41979-023-00096-8</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Hansen, M.</string-name>
              <string-name>Palakal, M.</string-name>
              <string-name>White, L.</string-name>
              <string-name>Low-Income, U</string-name>
            </person-group>
            <year>2024</year>
            <pub-id pub-id-type="doi">10.1007/s41979-023-00096-8</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B13">
        <label>13.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Hsieh, T., &amp; Simpkins, S. D. (2022). The Patterns of Adolescents’ Math and Science Motivational Beliefs: Examining Within-Racial/Ethnic Group Changes and Their Relations to STEM Outcomes. <italic>AERA Open, 8</italic>. https://doi.org/10.1177/23328584221083673 <pub-id pub-id-type="doi">10.1177/23328584221083673</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1177/23328584221083673">https://doi.org/10.1177/23328584221083673</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Hsieh, T.</string-name>
              <string-name>Simpkins, S.</string-name>
            </person-group>
            <year>2022</year>
            <pub-id pub-id-type="doi">10.1177/23328584221083673</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B14">
        <label>14.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Larson, L. M., Pesch, K. M., Surapaneni, S., Bonitz, V. S., Wu, T., &amp; Werbel, J. D. (2015). Predicting Graduation: The Role of Mathematics/Science Self-Efficacy. <italic>Journal of Career Assessment, 23,</italic> 399-409. https://doi.org/10.1177/1069072714547322 <pub-id pub-id-type="doi">10.1177/1069072714547322</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1177/1069072714547322">https://doi.org/10.1177/1069072714547322</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Larson, L.</string-name>
              <string-name>Pesch, K.</string-name>
              <string-name>Surapaneni, S.</string-name>
              <string-name>Bonitz, V.</string-name>
              <string-name>Wu, T.</string-name>
              <string-name>Werbel, J.</string-name>
            </person-group>
            <year>2015</year>
            <pub-id pub-id-type="doi">10.1177/1069072714547322</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B15">
        <label>15.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Lee, S., &amp; Chung, J. Y. (2019). The Machine Learning-Based Dropout Early Warning System for Improving the Performance of Dropout Prediction. <italic>Applied Sciences, 9,</italic> Article 3093. https://doi.org/10.3390/app9153093 <pub-id pub-id-type="doi">10.3390/app9153093</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/app9153093">https://doi.org/10.3390/app9153093</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Lee, S.</string-name>
              <string-name>Chung, J.</string-name>
            </person-group>
            <year>2019</year>
            <elocation-id>3093</elocation-id>
            <pub-id pub-id-type="doi">10.3390/app9153093</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B16">
        <label>16.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Lockhart, M. E., Kwok, O., Yoon, M., &amp; Wong, R. (2022). An Important Component to Investigating STEM Persistence: The Development and Validation of the Science Identity (SCIID) Scale. <italic>International Journal of STEM Education, 9,</italic> Article No. 34. https://doi.org/10.1186/s40594-022-00351-1 <pub-id pub-id-type="doi">10.1186/s40594-022-00351-1</pub-id><pub-id pub-id-type="pmid">35529904</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s40594-022-00351-1">https://doi.org/10.1186/s40594-022-00351-1</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Lockhart, M.</string-name>
              <string-name>Kwok, O.</string-name>
              <string-name>Yoon, M.</string-name>
              <string-name>Wong, R.</string-name>
            </person-group>
            <year>2022</year>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.1186/s40594-022-00351-1</pub-id>
            <pub-id pub-id-type="pmid">35529904</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B17">
        <label>17.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Mason, C., Twomey, J., Wright, D., &amp; Whitman, L. (2018). Predicting Engineering Student Attrition Risk Using a Probabilistic Neural Network and Comparing Results with a Backpropagation Neural Network and Logistic Regression. <italic>Research in Higher Education, 59,</italic> 382-400. https://doi.org/10.1007/s11162-017-9473-z <pub-id pub-id-type="doi">10.1007/s11162-017-9473-z</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s11162-017-9473-z">https://doi.org/10.1007/s11162-017-9473-z</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Mason, C.</string-name>
              <string-name>Twomey, J.</string-name>
              <string-name>Wright, D.</string-name>
              <string-name>Whitman, L.</string-name>
            </person-group>
            <year>2018</year>
            <pub-id pub-id-type="doi">10.1007/s11162-017-9473-z</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B18">
        <label>18.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Middleton, J. A., Mangu, D., &amp; Lee, A. (2019). A Longitudinal Study of Mathematics and Science Motivation Patterns for Stem-Intending High Schoolers in the Us. In M. Hannula, G. Leder, F. Morselli, M. Vollstedt, &amp; Q. Zhang (Eds.), <italic>Affect and Mathematics Education</italic> (pp. 89-105). Springer. https://doi.org/10.1007/978-3-030-13761-8_5 <pub-id pub-id-type="doi">10.1007/978-3-030-13761-8_5</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-030-13761-8_5">https://doi.org/10.1007/978-3-030-13761-8_5</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Middleton, J.</string-name>
              <string-name>Mangu, D.</string-name>
              <string-name>Lee, A.</string-name>
              <string-name>Hannula, G.</string-name>
              <string-name>Leder, F.</string-name>
              <string-name>Morselli, M.</string-name>
            </person-group>
            <year>2019</year>
            <pub-id pub-id-type="doi">10.1007/978-3-030-13761-8_5</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B19">
        <label>19.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Ogundeji, R. K., Akinyemi, J. A., &amp; Tijani, M. (2022). Naive Bayes Algorithm for Document Classification. <italic>Annals of Mathematics and Computer Science, 7,</italic> 54-65.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Ogundeji, R.</string-name>
              <string-name>Akinyemi, J.</string-name>
              <string-name>Tijani, M.</string-name>
            </person-group>
            <year>2022</year>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B20">
        <label>20.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Sage, A. J., Cervato, C., Genschel, U., &amp; Ogilvie, C. A. (2021). Combining Academics and Social Engagement: A Major-Specific Early Alert Method to Counter Student Attrition in Science, Technology, Engineering, and Mathematics. <italic>Journal of College Student Retention: Research, Theory &amp; Practice, 22,</italic> 611-626. https://doi.org/10.1177/1521025118780502 <pub-id pub-id-type="doi">10.1177/1521025118780502</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1177/1521025118780502">https://doi.org/10.1177/1521025118780502</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Sage, A.</string-name>
              <string-name>Cervato, C.</string-name>
              <string-name>Genschel, U.</string-name>
              <string-name>Ogilvie, C.</string-name>
              <string-name>Science, T</string-name>
              <string-name>Research, T</string-name>
            </person-group>
            <year>2021</year>
            <pub-id pub-id-type="doi">10.1177/1521025118780502</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B21">
        <label>21.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Seyranian, V., Madva, A., Duong, N., Abramzon, N., Tibbetts, Y., &amp; Harackiewicz, J. M. (2018). The Longitudinal Effects of STEM Identity and Gender on Flourishing and Achievement in College Physics. <italic>International Journal of STEM Education, 5,</italic> Article No. 40. https://doi.org/10.1186/s40594-018-0137-0 <pub-id pub-id-type="doi">10.1186/s40594-018-0137-0</pub-id><pub-id pub-id-type="pmid">30631730</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s40594-018-0137-0">https://doi.org/10.1186/s40594-018-0137-0</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Seyranian, V.</string-name>
              <string-name>Madva, A.</string-name>
              <string-name>Duong, N.</string-name>
              <string-name>Abramzon, N.</string-name>
              <string-name>Tibbetts, Y.</string-name>
              <string-name>Harackiewicz, J.</string-name>
            </person-group>
            <year>2018</year>
            <elocation-id>No</elocation-id>
            <pub-id pub-id-type="doi">10.1186/s40594-018-0137-0</pub-id>
            <pub-id pub-id-type="pmid">30631730</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B22">
        <label>22.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Stewart, J., Henderson, R., Michaluk, L., Deshler, J., Fuller, E., &amp; Rambo-Hernandez, K. (2020). Using the Social Cognitive Theory Framework to Chart Gender Differences in the Developmental Trajectory of STEM Self-Efficacy in Science and Engineering Students. <italic>Journal of Science Education and Technology, 29,</italic> 758-773. https://doi.org/10.1007/s10956-020-09853-5 <pub-id pub-id-type="doi">10.1007/s10956-020-09853-5</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s10956-020-09853-5">https://doi.org/10.1007/s10956-020-09853-5</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Stewart, J.</string-name>
              <string-name>Henderson, R.</string-name>
              <string-name>Michaluk, L.</string-name>
              <string-name>Deshler, J.</string-name>
              <string-name>Fuller, E.</string-name>
              <string-name>Rambo-Hernandez, K.</string-name>
            </person-group>
            <year>2020</year>
            <pub-id pub-id-type="doi">10.1007/s10956-020-09853-5</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B23">
        <label>23.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Suárez, M. I., Dabney, A. R., Waxman, H. C., Scott, T. P., &amp; Bentz, A. O. (2021). Exploring Factors That Predict STEM Persistence at a Large, Public Research University. <italic>International Journal of Higher Education, 10,</italic> Article 161. https://doi.org/10.5430/ijhe.v10n4p161 <pub-id pub-id-type="doi">10.5430/ijhe.v10n4p161</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5430/ijhe.v10n4p161">https://doi.org/10.5430/ijhe.v10n4p161</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Dabney, A.</string-name>
              <string-name>Waxman, H.</string-name>
              <string-name>Scott, T.</string-name>
              <string-name>Bentz, A.</string-name>
              <string-name>Large, P</string-name>
            </person-group>
            <year>2021</year>
            <elocation-id>161</elocation-id>
            <pub-id pub-id-type="doi">10.5430/ijhe.v10n4p161</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B24">
        <label>24.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Wang, X., Dourado, A., Thomas, P. B., &amp; Bego, C. R. (2022). Modeling Engineering Persistence through Expectancy Value Theory and Machine Learning Techniques. In <italic>2022 IEEE Frontiers in Education Conference (FIE)</italic> (pp. 1-9). IEEE. https://doi.org/10.1109/fie56618.2022.9962581 <pub-id pub-id-type="doi">10.1109/fie56618.2022.9962581</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/fie56618.2022.9962581">https://doi.org/10.1109/fie56618.2022.9962581</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Wang, X.</string-name>
              <string-name>Dourado, A.</string-name>
              <string-name>Thomas, P.</string-name>
              <string-name>Bego, C.</string-name>
            </person-group>
            <year>2022</year>
            <pub-id pub-id-type="doi">10.1109/fie56618.2022.9962581</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B25">
        <label>25.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Zou, H., &amp; Hastie, T. (2005). Regularization and Variable Selection via the Elastic Net. <italic>Journal of the Royal Statistical Society Series B: Statistical Methodology, 67,</italic> 301-320. https://doi.org/10.1111/j.1467-9868.2005.00503.x <pub-id pub-id-type="doi">10.1111/j.1467-9868.2005.00503.x</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/j.1467-9868.2005.00503.x">https://doi.org/10.1111/j.1467-9868.2005.00503.x</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Zou, H.</string-name>
              <string-name>Hastie, T.</string-name>
            </person-group>
            <year>2005</year>
            <pub-id pub-id-type="doi">10.1111/j.1467-9868.2005.00503.x</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>