Analysis of depression in social media texts through the Patient Health Questionnaire-9 and natural language processing
Authors:
Open Access
- 1 January 2022
- journal article
- research article
- Published by SAGE Publications in Digital Health
- Vol. 8
Abstract
Objective: Although depression in modern people is emerging as a major social problem, it shows a low rate of use of mental health services. The purpose of this study was to classify sentences written by social media users based on the nine symptoms of depression in the Patient Health Questionnaire-9, using natural language processing to assess naturally users’ depression based on their results. Methods: First, train two sentence classifiers: the Y/N sentence classifier, which categorizes whether a user’s sentence is related to depression, and the 0–9 sentence classifier, which further categorizes the user sentence based on the depression symptomology of the Patient Health Questionnaire-9. Then the depression classifier, which is a logistic regression model, was generated to classify the sentence writer’s depression. These trained sentence classifiers and the depression classifier were used to analyze the social media textual data of users and establish their depression. Results: Our experimental results showed that the proposed depression classifier showed 68.3% average accuracy, which was better than the baseline depression classifier that used only the Y/N sentence classifier and had 53.3% average accuracy. Conclusions: This study is significant in that it demonstrates the possibility of determining depression from only social media users’ textual data.Keywords
Funding Information
- ‘Business Laboratory Project Semester’ under University Innovation Support Project at Hanyang University
This publication has 49 references indexed in Scilit:
- Barriers to mental health treatment: results from the WHO World Mental Health surveysPsychological Medicine, 2013
- Validation of the Patient Health Questionnaire-9 Korean version in the elderly population: the Ansan Geriatric studyComprehensive Psychiatry, 2008
- The PHQ-9Journal of General Internal Medicine, 2001
- Validation and Utility of a Self-report Version of PRIME-MDThe PHQ Primary Care StudyJAMA, 1999
- Long Short-Term MemoryNeural Computation, 1997
- Support-vector networksMachine Learning, 1995
- Development and validation of a geriatric depression screening scale: A preliminary reportJournal of Psychiatric Research, 1982
- The CES-D ScaleApplied Psychological Measurement, 1977
- A Self-Rating Depression ScaleArchives of General Psychiatry, 1965
- An Inventory for Measuring DepressionArchives of General Psychiatry, 1961