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.
References
[1]
Alkhasawneh, R., & Hargraves, R. H. (2014). Developing a Hybrid Model to Predict Student First Year Retention in STEM Disciplines Using Machine Learning Techniques. Journal of STEM Education, 15, 35-42.
[2]
Andersen, L., & 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. Science Education, 98, 216-242. https://doi.org/10.1002/sce.21092
[3]
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. Proceedings of the National Academy of Sciences of the United States of America, 120, e2300463120. https://doi.org/10.1073/pnas.2300463120
[4]
Aulck, L., Aras, R., Li, L., L’Heureux, C., Lu, P., & West, J. D. (2017). Stem-Ming the Tide: Predicting STEM Attrition Using Student Transcript Data. arXiv: 1708.09344.
[5]
Breiman, L. (2001). Random Forests. Machine Learning, 45, 5-32. https://doi.org/10.1023/a:1010933404324
[6]
Chen, T., & Guestrin, C. (2016). XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785-794). ACM. https://doi.org/10.1145/2939672.2939785
[7]
Chen, X. (2013). STEM Attrition: College Students’ Paths into and out of STEM Fields (NCES 2014-001). National Center for Education Statistics.
[8]
Chen, X. (2015). STEM Attrition among High-Performing College Students: Scope and Potential Causes. Journal of Technology and Science Education, 5, 41-59. https://doi.org/10.3926/jotse.136
[9]
Chen, Y., Johri, A., & Rangwala, H. (2018). Running Out of Stem. In Proceedings of the 8th International Conference on Learning Analytics and Knowledge (pp. 270-279). ACM. https://doi.org/10.1145/3170358.3170410
[10]
Davis, R. D., & 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. Education Sciences, 13, Article 888. https://doi.org/10.3390/educsci13090888
[11]
Duprey, M. A., Pratt, D. J., Jewell, D. M., Cominole, M. B., Fritch, L. B., Ritchie, E. A., Rogers, J. E., Wescott, J. D., & Wilson, D. H. (2018). High School Longitudinal Study of 2009 (HSLS:09) Base-Year to Second Follow-Up Data File Documentation (NCES 2018-140). National Center for Education Statistics, Institute of Education Sciences, U.S. Department of Education.
[12]
Hansen, M. J., Palakal, M. J., & White, L. (2024). The Importance of STEM Sense of Belonging and Academic Hope in Enhancing Persistence for Low-Income, Underrepresented STEM Students. Journal for STEM Education Research, 7, 155-180. https://doi.org/10.1007/s41979-023-00096-8
[13]
Hsieh, T., & 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. AERA Open, 8. https://doi.org/10.1177/23328584221083673
[14]
Larson, L. M., Pesch, K. M., Surapaneni, S., Bonitz, V. S., Wu, T., & Werbel, J. D. (2015). Predicting Graduation: The Role of Mathematics/Science Self-Efficacy. Journal of Career Assessment, 23, 399-409. https://doi.org/10.1177/1069072714547322
[15]
Lee, S., & Chung, J. Y. (2019). The Machine Learning-Based Dropout Early Warning System for Improving the Performance of Dropout Prediction. Applied Sciences, 9, Article 3093. https://doi.org/10.3390/app9153093
[16]
Lockhart, M. E., Kwok, O., Yoon, M., & Wong, R. (2022). An Important Component to Investigating STEM Persistence: The Development and Validation of the Science Identity (SCIID) Scale. International Journal of STEM Education, 9, Article No. 34. https://doi.org/10.1186/s40594-022-00351-1
[17]
Mason, C., Twomey, J., Wright, D., & Whitman, L. (2018). Predicting Engineering Student Attrition Risk Using a Probabilistic Neural Network and Comparing Results with a Backpropagation Neural Network and Logistic Regression. Research in Higher Education, 59, 382-400. https://doi.org/10.1007/s11162-017-9473-z
[18]
Middleton, J. A., Mangu, D., & 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, & Q. Zhang (Eds.), Affect and Mathematics Education (pp. 89-105). Springer. https://doi.org/10.1007/978-3-030-13761-8_5
[19]
Ogundeji, R. K., Akinyemi, J. A., & Tijani, M. (2022). Naive Bayes Algorithm for Document Classification. Annals of Mathematics and Computer Science, 7, 54-65.
[20]
Sage, A. J., Cervato, C., Genschel, U., & 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. Journal of College Student Retention: Research, Theory & Practice, 22, 611-626. https://doi.org/10.1177/1521025118780502
[21]
Seyranian, V., Madva, A., Duong, N., Abramzon, N., Tibbetts, Y., & Harackiewicz, J. M. (2018). The Longitudinal Effects of STEM Identity and Gender on Flourishing and Achievement in College Physics. International Journal of STEM Education, 5, Article No. 40. https://doi.org/10.1186/s40594-018-0137-0
[22]
Stewart, J., Henderson, R., Michaluk, L., Deshler, J., Fuller, E., & 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. Journal of Science Education and Technology, 29, 758-773. https://doi.org/10.1007/s10956-020-09853-5
[23]
Suárez, M. I., Dabney, A. R., Waxman, H. C., Scott, T. P., & Bentz, A. O. (2021). Exploring Factors That Predict STEM Persistence at a Large, Public Research University. International Journal of Higher Education, 10, Article 161. https://doi.org/10.5430/ijhe.v10n4p161
[24]
Wang, X., Dourado, A., Thomas, P. B., & Bego, C. R. (2022). Modeling Engineering Persistence through Expectancy Value Theory and Machine Learning Techniques. In 2022 IEEE Frontiers in Education Conference (FIE) (pp. 1-9). IEEE. https://doi.org/10.1109/fie56618.2022.9962581
[25]
Zou, H., & Hastie, T. (2005). Regularization and Variable Selection via the Elastic Net. Journal of the Royal Statistical Society Series B: Statistical Methodology, 67, 301-320. https://doi.org/10.1111/j.1467-9868.2005.00503.x