Vol. 5, Issue 1

Hodan, T. (2021). Designing an algorithm to detect depression in users: A quantitative correlational study. The Young Researcher, 5(1), 38-53.

Although the diagnosis of mental disorders like depression has improved over the last decade, many cases continue to go undetected. The symptoms are often observable on social media platforms. This study seeks to address this issue by designing a program to predict the likelihood and severity of depression in users by analyzing their Twitter and iMessage histories. This study employs correlational research to develop and test the program. This research used two phases to measure the program’s accuracy on different sources of data. In phase one, the program was tested on a sample of 2,741 Reddit posts and comments. The program achieved an accuracy rate of 94.80% across several subreddits. Suicidal behaviour/ideation and a depressed mood had the strongest correlations with depression (coefficients of 0.654997 and 0.58218, respectively). Phase two involved testing the program on 6 grade 12 students. During this phase, the program had a recall, precision, and F1 of 1.0, 0.5, and 0.67, respectively. The results suggest that ERDS should integrate data from platforms like Twitter, iMessage, and Reddit because they reflect users’ mental states.

Keywords: depression, early risk detection system, algorithm, Reddit, iMessage
Download Paper

ISSN 2560-9815 (Print)
ISSN 2560-9823 (Online)

All articles appearing in The Young Researcher are licensed under 
CC BY-NC-ND 2.5 Canada License.