ORIGINAL RESEARCH article
Front. Public Health
Sec. Occupational Health and Safety
Volume 13 - 2025 | doi: 10.3389/fpubh.2025.1529802
Predicting Hospital Employees' Quality of Life using Explainable Machine Learning on Psychosocial Work Environment Data
Provisionally accepted- 1Imam Abdulrahman Bin Faisal University, Dammam, Saudi Arabia
- 2Johns Hopkins Aramco Healthcare (JHAH), Dhahran, Saudi Arabia
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Abstract: Health-Related Quality of Life (HRQL) embodies the impact of an individual's health on their ability to live a fulfilling life. Quality of Life (QoL) is influenced by a range of factors, including physical functioning and well-being, psychological functioning, work environment, lifestyle, and social relations. Various studies have found that job-related factors can be an essential predictor of an individual's HRQL. Furthermore, the Psychosocial Work Environment (PWE) can affect workers' well-being and contribute to the company's sustainability. In the context of healthcare providers, the quality of health services provided is affected by PWE and QoL. Therefore, the relationships among QoL, PWE, and healthcare quality need to be assessed to identify factors that improve overall patient healthcare service quality. This relationship has not been extensively evaluated in the Saudi context. Therefore, in the current study, we aim to employ machine learning (ML) techniques to predict employee QoL using PWE data from a hospital in the Kingdom of Saudi Arabia (KSA). Several ML models have been developed to predict HRQL effectively and their . The study aims to identify the significant attributes; thus, the several experiments were carried out, with and without feature engineering. The Naïve Bayes (NB) classifier achieved the highest precision of 1.0 (95% CI: 0.81-1.0) in predicting employees' QoL using PWE and demographic variables. Whereas the selected Work Environment (WE) features using the Xverse voting selector with a SVM classifier achieved the best results, with accuracy, recall, precision, F1, and receiver operating characteristic (ROC) reaching 0.92 (95% CI: 0.88-0.95), 0.90 (95% CI: 0.86-0.98), 0.95 (95% CI: 0.86-0.99), 0.92 (95% CI: 0.88-0.95), and 0.9, respectively. Post-hoc Explainable Artificial Intelligence (XAI) was used to alleviate the black-box nature of SVM and add transparency to the model. In conclusion, this study provides a robust, explainable tool for predicting employee QoL that can help healthcare organizations to improve quality.
Keywords: machine learning, Quality of Life, prediction, Psychosocial work environment, artificial intelligence
Received: 18 Nov 2024; Accepted: 22 Oct 2025.
Copyright: © 2025 Aslam, Alumran, Alshahrani, Khan, Alshedayed, Alfrayan, Alessa, Mirza and Alshakhs. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: Nida Aslam, naslam@iau.edu.sa
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.