Caffeine Intake and Sleep Quality among Students at the Institute of Management/Al-Rusafa: An Interpretable Decision Tree Analysis
Abstract
University students are often prescribed caffeine to boost their alertness and to remain focused during academic activities, but late and excessive consumption has been recommended to have a negative effect on sleep quality. This study aimed to explore the relationship between caffeine-related behaviors and sleep quality among students of the Institute of Management/Al-Rusafa, and to assess the predictive ability of an interpretable machine learning model to identify students with poor sleep. A cross-sectional design was used on 400 students. Sleep quality was measured by the Pittsburgh Sleep Quality Index (PSQI), with a global score higher than 5 considered as poor sleep. The independent variables were level of caffeine consumption, frequency of caffeine consumption, sleep duration, regularity of morning awakening, perceived stress, and selected lifestyle factors. A Classification and Regression Tree (CART) algorithm based on the Gini impurity criterion yielded this. Model complexity was optimized by both pre-pruning and post-pruning to minimize overfitting. Stratified k-fold cross-validation and an initial held-out test set were used to evaluate the model performance. Performance measures were accuracy, sensitivity (recall), specificity, precision, F1-score, balanced accuracy, and area under the receiver operating characteristic curve (AUC). The model had an accuracy of 85.0% on the held-out test set (n = 40) and correctly classified 34 students. There were higher recall scores for good sleep in the model compared to poor sleep (90.9% vs 77.8%). Although preliminary, because of the small sample size, the AUC of 0.843 indicated good discriminative ability. In summary, caffeine-related behaviors were correlated with sleep quality, especially regarding the timing and frequency of consumption, and the model using the CART showed good interpretability and predictive ability, but needs to be validated in other studies.
References
Drake, C., Roehrs, T., Shambroom, J., & Roth, T. (2013). Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine, 9(11), 1195-1200. https://doi.org/10.5664/jcsm.3170
Buysse, D. J., Reynolds, C. F., Monk, T. H., Berman, S. R., & Kupfer, D. J. (1989). The Pittsburgh Sleep Quality Index: A new instrument for psychiatric practice and research. Psychiatry Research, 28(2), 193-213. https://doi.org/10.1016/0165-1781(89)90047-4
Lohsoonthorn, V., Khidir, H., Casillas, G., Lertmaharit, S., Tadesse, M. G., Pensuksan, W. C., Rattananupong, T., Gelaye, B., & Williams, M. A. (2013). Sleep quality and sleep patterns in relation to consumption of energy drinks, caffeinated beverages, and other stimulants among Thai college students. Sleep and Breathing, 17(3), 1017-1028. https://doi.org/10.1007/s11325-012-0792-1
Riera-Sampol, A., Rodas, L., Martínez, S., Moir, H. J., & Tauler, P. (2022). Caffeine Intake among Undergraduate Students: Sex Differences, Sources, Motivations, and Associations with Smoking Status and Self-Reported Sleep Quality. Nutrients, 14(8), 1661. https://doi.org/10.3390/nu14081661
Malinauskas, B. M., Aeby, V. G., Overton, R. F., Carpenter-Aeby, T., & Barber-Heidal, K. (2007). A survey of energy drink consumption patterns among college students. Nutrition Journal, 6, 35. https://doi.org/10.1186/1475-2891-6-35
Collins, G. S., Moons, K. G. M., Dhiman, P., et al. (2024). TRIPOD+AI statement: Updated guidance for reporting clinical prediction models that use regression
Authors retain copyright of their published work and grant the International Journal of Social Science Research and Review (IJSSRR) the right of first publication.
Articles published in IJSSRR are distributed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits use, distribution, and reproduction in any medium, provided that the original work is properly cited.
Authors are permitted to share, archive, and distribute the published version of their work, provided that proper acknowledgement of the original publication in IJSSRR is given.