Summary:
This study examines the variables associated with STEM (science, technology, engineering, and mathematics) employment using the 2019 survey on the labour market insertion of Spanish university graduates. The outcome distinguishes graduates employed in a STEM occupation about five years after graduation from all other graduates, whether employed in non-STEM occupations or not employed. Using explainable machine learning methods (feature selection, a Bayesian-optimized decision tree and association rule mining), we find that, among characteristics fixed at graduation, holding a STEM degree is the strongest predictor of STEM employment, followed by gender: a tree based only on these characteristics reduces to a single split on the STEM degree and correctly classifies 77% of the graduates employed in STEM occupations and 84% of the others. Advanced ICT skills and graduates’ retrospective assessment that their degree helped them to find a job, both reported in 2019, are also associated with STEM employment. Gender differences are consistent with the lower participation of women in STEM degrees and their lower rate of STEM employment among STEM-degree holders, and the main results hold when the analysis is restricted to employed graduates.
Spanish layman's summary:
Este estudio analiza los factores asociados al empleo en ocupaciones STEM (ciencia, tecnología, ingeniería y matemáticas) en España, utilizando técnicas de aprendizaje automático explicable y datos de 31.651 titulados universitarios de la Encuesta de Inserción Laboral del INE de 2019. Los resultados identifican la titulación STEM como el principal predictor. También se observan brechas de género, aportando evidencia para orientar las políticas educativas y de igualdad de oportunidades laborales.
English layman's summary:
This study examines the factors associated with employment in STEM occupations (science, technology, engineering, and mathematics) in Spain, using explainable machine learning methods and data from 31,651 university graduates in the Spanish National Statistics Institute’s 2019 graduate labour market survey. The findings identify a STEM degree as the main predictor. Gender gaps are also observed, providing evidence to inform educational policies and promote equal employment opportunities.
Keywords: STEM occupation; Bayesian optimization; Association rule mining
JCR-JIF Impact Factor and WoS quartile: 4,100 - Q1 (2025)
DOI reference:
https://doi.org/10.1016/j.heliyon.2026.e45629
Published on paper: November 2026.
Published on-line: October 2026.
Citation:
L.A. Calvo, A. Zapatero González, "STEM employment in Spain: An explainable machine learning analysis from a national survey", Heliyon, Vol. 12, nº. 16, pp. e45629, November 2026. [Online: October 2026] doi: 10.1016/j.heliyon.2026.e45629