Interpretable machine learning for predicting school absenteeism at-scale in Brazil: evidence from 22,000 schools

School attendance is a fundamental prerequisite for children’s and adolescents’ academic, social, and personal development. Yet, despite decades of research and policy efforts, rates of problematic school absenteeism remain persistently high. This study investigates the predictive potential of school-level factors to identify schools at secondary level in Brazil at risk of elevated absenteeism. Using data from 22,476 schools, we consolidate three main categories of predictors: school infrastructure, human resources, and regional characteristics, combined with attendance records and demographic information. Five machine learning models were compared, and Random Forest was selected due to its balance of predictive performance, interpretability, and statistical confirmation through the DeLong test. Building on this, we apply interpretable machine learning techniques, particularly SHapley Additive exPlanations (SHAP), to reveal how the importance of predictors varies across different school complexity levels, defined as the structural and organizational conditions under which schools operate. Furthermore, we conduct counterfactual “what-if” scenarios, systematically perturbing key features to explore how policy-relevant adjustments could shift schools from high to low absenteeism risk. Our results highlight how structural, staff-related, and contextual features interact differently depending on school complexity, offering actionable insights to inform more equitable educational interventions and policy decisions.

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-05-19
DOI
https://doi.org/10.1038/s41598-026-48729-3
Primary Topic
Youth Substance Use and School Attendance
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Interpretable machine learning for predicting school absenteeism at-scale in Brazil: evidence from 22,000 schools

Scientific Reports
Youth Substance Use and School Attendance
article

Interpretable machine learning for predicting school absenteeism at-scale in Brazil: evidence from 22,000 schools

article en

Abstract

School attendance is a fundamental prerequisite for children’s and adolescents’ academic, social, and personal development. Yet, despite decades of research and policy efforts, rates of problematic school absenteeism remain persistently high. This study investigates the predictive potential of school-level factors to identify schools at secondary level in Brazil at risk of elevated absenteeism. Using data from 22,476 schools, we consolidate three main categories of predictors: school infrastructure, human resources, and regional characteristics, combined with attendance records and demographic information. Five machine learning models were compared, and Random Forest was selected due to its balance of predictive performance, interpretability, and statistical confirmation through the DeLong test. Building on this, we apply interpretable machine learning techniques, particularly SHapley Additive exPlanations (SHAP), to reveal how the importance of predictors varies across different school complexity levels, defined as the structural and organizational conditions under which schools operate. Furthermore, we conduct counterfactual “what-if” scenarios, systematically perturbing key features to explore how policy-relevant adjustments could shift schools from high to low absenteeism risk. Our results highlight how structural, staff-related, and contextual features interact differently depending on school complexity, offering actionable insights to inform more equitable educational interventions and policy decisions.

Scientific Reports
Universidade Tecnológica Federal do Paraná (BR), Ministry of Education (BR), United Nations Industrial Development Organization (AT), Universidade Federal de Santa Catarina (BR), Instituto Federal Sul-rio-grandense (BR), Universidade de Pernambuco (BR), Universidade Federal de Alagoas (BR)
Ministerio de Economía y Competitividad, Conselho Nacional de Desenvolvimento Científico e Tecnológico, Ministério da Educação
Openalex Percentile: Top 2%
Youth Substance Use and School Attendance
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.