Machine learning prediction of work-related sick leave among Brazilian workers with mental disorders
Source article: Development and internal validation of a machine learning model for work-related sick leave in Brazilian workers with mental disorders
Background: Mental disorders are a leading cause of work-related sick leave in Brazil, yet routinely collected surveillance data are seldom used to build prediction tools for occupational health services. We aimed to develop and internally validate machine learning models predicting work-related sick leave among individuals notified with work-related mental disorders. Methods: We analyzed 21,601 notifications of work-related mental disorder (ICD-10 F99) from Brazil's national surveillance system (SINAN, 2006-202…

Both sides are scored from claims and sources, not community votes.
G 71The G score combines the specificity and measured human impact of the grounded gain claim with the strength of this Trace’s cited sources.In brief
Researchers used 21,601 work-related mental disorder notifications from Brazil's national surveillance system to build three machine learning models predicting whether workplace absence would be granted. A random forest performed best on precision-recall, and absence was granted in about 64 percent of cases.
The work suggests existing public health records could feed occupational health decision tools, but performance was only moderate and uneven across demographic groups. Because only internal validation was done, it remains unknown whether the model would hold up in other settings or prospectively.
Main points
- Data covered 21,601 notifications of work-related mental disorder (ICD-10 F99) in Brazil's SINAN system from 2006 to 2025.
- Workplace absence was granted in 13,896 notifications, or 64.3 percent.
- The random forest champion had test AUC-ROC 0.697 and AUC-PR 0.802, similar to XGBoost and better than elastic net.
- Notification year, employment status, psychotropic medication use, region, and confirmed work-relatedness contributed most to predictions.
- Authors say external, prospective validation is required before any clinical or operational use.
The gain
Models trained on routine national surveillance notifications gave moderate-discrimination prediction of sick leave, with positive net benefit across roughly 30-70% decision thresholds.
The problem
The champion model discriminated markedly worse for Black workers and workers with secondary education, so deployment would need recalibration and fairness auditing.
The rundown
The team compared elastic net, random forest, and XGBoost models, tuned with 5-fold cross-validation on a 75% training split and tested on the remaining 25%. The champion was the model with the highest test-set AUC-PR, and it was examined using SHAP for variable importance.
Fairness checks across sex, race/ethnicity, education, and region showed discrimination varied substantially across subgroups. AUC-ROC was 0.620 for Black individuals and 0.664 for workers with secondary education, compared with 0.697 overall.
The authors conclude that internal validation alone does not support deployment, and refer to TRIPOD + AI guidance for the need for external, prospective validation.
What this doesn’t fix
Only internal validation was performed, so the model is not ready for deployment and needs external, prospective validation, plus recalibration and fairness auditing for disadvantaged subgroups.
Sources
- Peer-reviewedInternational Journal of Medical Informatics2026-09-23
ace


The debate