EXPLORATORY MACHINE LEARNING ANALYSIS OF SOCIAL MEDIA USE, SLEEP DISRUPTION AND MENTAL HEALTH IN A PUBLIC SECONDARY DATASET OF SELF-IDENTIFIED HEALTHCARE WORKERS

Authors

  • Williams Ezinwa NWAGWU

Abstract

This study examines associations between social‑media use, sleep disruption, and mental‑health scores among healthcare workers in a secondary dataset, and evaluates predictive performance of regression and machine‑learning models. Data from 118 records (nurses and allied health professionals) were analysed using descriptive statistics, correlation, k‑means clustering, linear and logistic regression, and ensemble methods (Random Forest, Gradient Boosting, XGBoost). Sleep disruption was reported by 38% of participants and correlated with daily social‑media use (r = .55), notification frequency (r = .49), and sleep duration (r = −.52). Logistic regression indicated notification frequency increased odds of sleep disruption (OR = 1.42, 95% CI 1.12–1.80), while account age reduced odds (OR = 0.95, 95% CI 0.91–0.99). Linear regression explained 38% of variance in mental‑health scores (R² = .38); sleep disruption (β = −.48, p < .001), sessions/day (β = −.20, p = .018), usage hours (β = −.15, p = .009), and notifications (β = −.18, p = .014) were negative predictors, whereas account age was positive (β = .12, p = .037). XGBoost achieved 0.84 accuracy for sleep‑disruption prediction, with daily use and notifications consistently ranked as key features. Sleep disruption correlated strongly with mental‑health scores (r = −.68). Findings are exploratory, dataset‑specific, and non‑causal, highlighting the need for prospective studies with verified occupational status, validated measures, and objective digital‑use metrics.

 

Keywords: social media; sleep disruption; digital media; healthcare workers; machine learning

 

Downloads

Download data is not yet available.

Downloads

Published

2026-12-04