What predicts adolescents' mathematics anxiety in the Middle East and North Africa? An interpretable machine learning analysis of six Arab education systems in PISA 2022.
Omar Allohibi
Department of Educational Policies and Economics, College of Education, Taibah University, Madinah, Saudi Arabia.
Key points
From the paper's conclusion- XGBoost achieved the best cross-validated performance (CV R 2 = 0.275; test R 2 = 0.266, RMSE = 0.978), outperforming linear benchmarks by approximately 10% in explained variance. Mathematics self-efficacy was the dominant predictor, followed by effort and persistence in mathematics, self-efficacy for mathematical reasoning, and mathematics achievement. Growth mindset ranked fifth despite a near-zero bivariate correlation, indicating a conditional predictive association that marginal analyses conceal. Girls reported systematically higher predicted anxiety, and while the protective core (self-efficacy, persistence) operated near-identically across genders, the anxiety penalty associated with bullying victimization was almost twice as steep for girls. The predictor hierarchy replicated across all six systems (mean pairwise rank correlation = 0.88).
Abstract
INTRODUCTION: Mathematics anxiety is among the most consequential affective barriers to mathematics learning, yet large-scale evidence from the Middle East and North Africa (MENA) remains scarce. Existing research on the region rarely moves beyond linear models, and no study has applied interpretable machine learning (ML) to identify which psychological, instructional, and contextual factors jointly predict mathematics anxiety among Arab adolescents. METHODS: Drawing on the Programme for International Student Assessment (PISA) 2022, we analysed 47,652 fifteen-year-old students from the six participating Arab education systems: the United Arab Emirates, Jordan, Morocco, Palestine, Qatar, and Saudi Arabia. Six algorithms (linear regression, elastic net, random forest, AdaBoost, XGBoost, and LightGBM) were tuned with randomized search under 5-fold cross-validation to predict the PISA mathematics anxiety index (ANXMAT) from 50 predictors spanning competence beliefs, engagement, instructional climate, social relationships, achievement, and demographics. SHapley Additive exPlanations (SHAP) values, computed exactly for the selected gradient-boosting model, quantified the magnitude, direction, and heterogeneity of each predictor's contribution, complemented by gender- and country-stratified decompositions and five robustness analyses. RESULTS: XGBoost achieved the best cross-validated performance (CV R 2 = 0.275; test R 2 = 0.266, RMSE = 0.978), outperforming linear benchmarks by approximately 10% in explained variance. Mathematics self-efficacy was the dominant predictor, followed by effort and persistence in mathematics, self-efficacy for mathematical reasoning, and mathematics achievement. Growth mindset ranked fifth despite a near-zero bivariate correlation, indicating a conditional predictive association that marginal analyses conceal. Girls reported systematically higher predicted anxiety, and while the protective core (self-efficacy, persistence) operated near-identically across genders, the anxiety penalty associated with bullying victimization was almost twice as steep for girls. The predictor hierarchy replicated across all six systems (mean pairwise rank correlation = 0.88). DISCUSSION: The findings are consistent with control-value theory (CVT): perceived competence, not socioeconomic status or resources, is the primary correlate of adolescents' mathematics anxiety in MENA. These cross-sectional findings are predictive, not causal; within the fitted model, the gender-asymmetric social stressors and the region-wide consistency of the predictive architecture identify efficacy-building instruction, anxiety-sensitive homework design, and anti-bullying policy as priority candidates for intervention research across Arab education systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- What predicts adolescents' mathematics anxiety in the Middle East and North Africa? An interpretable machine learning analysis of six Arab education systems in PISA 2022.Frontiers in psychology · 2026
- Cross-economy stability of predictor rankings for adolescent school belonging and mathematics anxiety: an explainable machine-learning analysis of PISA 2022.Frontiers in psychology · 2026
- Confidence over enjoyment? A cross-national explainable machine learning analysis of affective predictors of early science achievementLarge-scale Assessments in Education · 2026
- Predicting multiple mental health outcomes in adolescents using explainable machine learning models.Frontiers in psychiatry · 2026
- Predicting student academic performance using TabPFN and SHAP: An interpretable machine learning approach.PloS one · 2026
- Design and Evaluation of an Artificial Intelligence–Based Model for Predicting Twelfth-Grade Students’ Mathematics Performance Based on Individual, Educational, and Learning Technology FactorsInternational Journal of Education and Cognitive Sciences · 2026