Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Observational Study
. 2025 Apr 2:2025:5578698.
doi: 10.1155/jonm/5578698. eCollection 2025.

Identifying the Most Critical Predictors of Workplace Violence Experienced by Junior Nurses: An Interpretable Machine Learning Perspective

Affiliations
Observational Study

Identifying the Most Critical Predictors of Workplace Violence Experienced by Junior Nurses: An Interpretable Machine Learning Perspective

Lanjun Luo et al. J Nurs Manag. .

Abstract

Background: Workplace violence, defined as any disruptive behavior or threat to employees, seriously threatens junior nurses. Compared with senior nurses, junior nurses are more vulnerable to workplace violence due to inexperience, low professional recognition, and limited mental resilience. However, there is an absence of research discussing the workplace violence risk of junior nurses, in particular, the lack of analysis of critical factors within the multiple influences and the lack of targeted risk prediction models. Objective: Considering the multiple influencing factors faced by junior nurses, this study aims to predict the risk of workplace violence using interpretable machine learning models and identify the critical influencing factors and their nonlinear effects. Design: An observational, cross-sectional study design. Participants: A total of 5663 junior registered nurses in 90 tertiary hospitals in Sichuan Province, China. Methods: Data are all obtained through a questionnaire survey. An interpretable machine learning framework, including the Light Gradient Boosting Machine (LightGBM) model and two post hoc interpretable methods, Accumulate Local Effect and SHapely Additive exPlanations (SHAP), are conjoined. Results: The LightGBM model is more accurate than other machine learning methods, achieving an area under the receiver operating characteristic curve of 0.761 and a Brier score of 0.198 on the workplace violence prediction task. Among the dozens of potential influences input into the predictive model, seeing medical complaints, psychological demands, professional identity, etc., are the most critical predictors of workplace violence. Conclusions: The proposed LightGBM-SHAP-ALE approach dynamically and effectively identifies junior nurses at high risk of workplace violence, providing a foundation for timely detection and intervention.

Keywords: critical predictors identifying; interpretable machine learning; junior nurses; risk prediction; workplace violence.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest.

Figures

Figure 1
Figure 1
The predictor filtering framework in this study.
Figure 2
Figure 2
Hierarchical cluster analysis of predictors in this study.
Figure 3
Figure 3
Overall predictive analysis framework. (a) Baseline predictive analysis and (b) robustness analysis.
Figure 4
Figure 4
ROC curves of all utilized machine learning prediction models.
Figure 5
Figure 5
Global-level most important predictors under LightGBM-based SHAP analysis (top 20). (a) Feature importance is shown in the bar plot. (b) Feature importance is shown in the Beeswarm plot.
Figure 6
Figure 6
SHAP-based instance-level result of a randomly selected true positive sample.
Figure 7
Figure 7
SHAP-based instance-level result of a randomly selected true negative sample.
Figure 8
Figure 8
ALE-based analysis of the effects of top-seven important features on prediction.
Figure 9
Figure 9
Logistic regression-based nomogram. Top 14 predictors with the largest coefficient absolute values are shown.

Similar articles

References

    1. Ilo. Safe and Healthy Working Environments Free From Violence and Harassment . Geneva, Switzerland: international labour organization; 2020.
    1. Pagnucci N., Ottonello G., Capponi D., et al. Predictors of Events of Violence or Aggression Against Nurses in the Workplace: A Scoping Review. Journal of Nursing Management . 2022;30(6):1724–1749. doi: 10.1111/jonm.13635. - DOI - PMC - PubMed
    1. Pich J., Roche M. Violence on the Job: The Experiences of Nurses and Midwives With Violence from Patients and Their Friends and Relatives. Healthcare . 2020;8(4):p. 522. doi: 10.3390/healthcare8040522. - DOI - PMC - PubMed
    1. Bader S. M., Evans S. E. Predictors of Severe and Repeated Aggression in a Maximum-Security Forensic Psychiatric Hospital. International Journal of Forensic Mental Health . 2015;14(2):110–119. doi: 10.1080/14999013.2015.1045633. - DOI
    1. Koklonis K., Sarafidis M., Vastardi M., Koutsouris D. Utilization of Machine Learning in Supporting Occupational Safety and Health Decisions in Hospital Workplace. Engineering, Technology & Applied Science Research . 2021;11(3):7262–7272. doi: 10.48084/etasr.4205. - DOI

Publication types

LinkOut - more resources