Predictive Analysis for the Early Detection of Depression in Adolescents Based on Social Media Usage Patterns

Authors

  • Genesis Sembiring Depari Universitas Sumatera Utara
  • Julpan Daniel Simatupang Universitas Sumatera Utara

DOI:

https://doi.org/10.55927/fjcis.v5i1.16904

Keywords:

Predictive Analytics, Teen Depression, Social Media Usage, Machine Learning, Mental Health

Abstract

This study examines the use of predictive analytics for the early detection of depression among teenagers based on social media usage patterns and behavioral indicators. The research utilizes a secondary dataset consisting of 1,200 adolescent records, including variables such as daily social media usage duration, sleep duration, stress level, anxiety level, addiction tendency, academic performance, physical activity, and depression classification labels. A quantitative approach was applied using machine learning algorithms, including Logistic Regression, Decision Tree, Random Forest, and Support Vector Machine. The dataset was processed through data cleaning, encoding, normalization, exploratory data analysis, feature selection, model development, and model evaluation. The results show that sleep duration, daily social media usage, stress level, anxiety level, and academic performance are important predictors of teen depression.

Downloads

Download data is not yet available.

References

Al-Samarraie, H. et al. (2022) ‘Young users’ social media addiction: causes, consequences and preventions’.

Al-Samarraie, H. et al. (2022) ‘Young users’ social media addiction: causes, consequences and preventions’.

Cao, Y. et al. (2024) ‘Machine Learning Approaches for Mental Illness Detection on Social Media: A Systematic Review of Biases and Methodological Challenges’, arXiv.

Cao, Y. et al. (2024) ‘Machine Learning Approaches for Mental Illness Detection on Social Media: A Systematic Review of Biases and Methodological Challenges’, arXiv.

Ehsan, T. and Basit, J. (2024) ‘Machine Learning for Detecting Social Media Addiction Patterns: Analyzing User Behavior and Mental Health Data’, International Journal of Innovations in Science and Technology, 6(4), pp. 1789–1807.

Ehsan, T. and Basit, J. (2024) ‘Machine Learning for Detecting Social Media Addiction Patterns: Analyzing User Behavior and Mental Health Data’, International Journal of Innovations in Science and Technology, 6(4), pp. 1789–1807.

Keles, B., McCrae, N. and Grealish, A. (2020) ‘A systematic review: the influence of social media on depression, anxiety and psychological distress in adolescents’, International Journal of Adolescence and Youth, 25(1), pp. 79–93.

Keles, B., McCrae, N. and Grealish, A. (2020) ‘A systematic review: the influence of social media on depression, anxiety and psychological distress in adolescents’, International Journal of Adolescence and Youth, 25(1), pp. 79–93.

Keles, B., McCrae, N. and Grealish, A. (2020) ‘A systematic review: the influence of social media on depression, anxiety and psychological distress in adolescents’, International Journal of Adolescence and Youth, 25(1), pp. 79–93.

Khalaf, A.M., Alubied, A.A., Khalaf, A.M. and Rifaey, A.A. (2023) ‘The impact of social media on the mental health of adolescents and young adults’, Cureus, 15(8).

Khalaf, A.M., Alubied, A.A., Khalaf, A.M. and Rifaey, A.A. (2023) ‘The impact of social media on the mental health of adolescents and young adults’, Cureus, 15(8).

Li, Q., Wu, Y., Xu, Z. and Zhou, H. (2024) ‘Exploration of adolescent depression risk prediction based on census surveys and general life issues’, arXiv.

Nagata, J.M. et al. (2025) ‘Social media use and depressive symptoms during early adolescence’, JAMA Network Open.

Nagata, J.M. et al. (2025) ‘Social media use and depressive symptoms during early adolescence’, JAMA Network Open.

Phiri, D. et al. (2025) ‘Text-Based Depression Prediction on Social Media Using Machine Learning: Systematic Review’, Journal of Medical Internet Research.

Phiri, D. et al. (2025) ‘Text-Based Depression Prediction on Social Media Using Machine Learning: Systematic Review’, Journal of Medical Internet Research.

Shah, S.M. et al. (2024) ‘Advancing Depression Detection on Social Media Platforms Through Fine-Tuned Large Language Models’, arXiv.

U.S. Department of Health and Human Services (2023) Social Media and Youth Mental Health: The U.S. Surgeon General’s Advisory.

Zogan, H. et al. (2020) ‘Explainable Depression Detection with Multi-Modalities Using a Hybrid Deep Learning Model on Social Media’, arXiv.

Zogan, H. et al. (2020) ‘Explainable Depression Detection with Multi-Modalities Using a Hybrid Deep Learning Model on Social Media’, arXiv.

Published

2026-07-14

How to Cite

Depari, G. S., & Simatupang, J. D. (2026). Predictive Analysis for the Early Detection of Depression in Adolescents Based on Social Media Usage Patterns. Formosa Journal of Computer and Information Science, 5(1), 215–228. https://doi.org/10.55927/fjcis.v5i1.16904

Issue

Section

Articles