Recognizing Social Media Signs of Mental Health.

ewuraimpraim
INST414: Data Science Techniques
5 min readFeb 23, 2024

Social media platforms are filled with diverse shades of users’ ideas, feelings, and experiences. This enormous area goes beyond providing insights into the struggles and triumphs of many people. Setting out to explore the signs and symptoms of mental health disorders that are woven across the digital world is very important. This article will concentrate on certain subreddits on Reddit associated with and/or could cause mental health.

The exploration starts with a vital question that can be answered: What are the most common indicators of mental health issues on social media, especially Reddit? Researchers, mental health experts, and platform moderators who are essential in forming the online community are among the stakeholders who could be asking these questions. In this instance, the specific stakeholders being focused on are the moderators. The decisions influenced by the response to this question go beyond simple curiosity; they play a crucial role in spotting trends that can strengthen moderation efforts, increase mental health support resources, and increase public awareness of the significance of mental health.

The dataset that forms the basis of our investigation is rich with data, with each row representing a distinct entry into the collective mind of social media users. We concentrate on the “subreddit” column, which is a gold mine of information about user activity across different groups. Some important fields I identified and can answer the question at hand are; subreddit, post_id, text, social_timestamp, and social_num_comments. The term “subreddit” is used in the dataset to uniquely identify the particular subreddit that is linked to each post. The unique identification for every post is stored in the “post_id” column, providing a precise point of reference for individual entries. The narrative and background that we seek to evaluate are provided by the “text” column, which contains the post’s actual written material.

Regarding the temporal aspect, the column labeled “social_timestamp” represents the timestamp linked to social interactions. This provides information on the temporal distribution of posts as well as any patterns of user engagement. In addition, the “social_num_comments” column shows how many comments each post has received, which quantifies the degree of involvement. This number indicates the conversation and engagement that the post has generated in addition to measuring the post’s resonance within the community. The potential for this data to help understand the complexities of users’ mental states and offer insightful information about possible indicators of mental health issues makes it relevant. Moreover, identifying individuals associated with the dataset is not only necessary for analysis but also has a deeper meaning in terms of enabling prompt aid and support when needed. This feature highlights how human-centered the application is, going beyond just collecting data to a level where understanding may help people navigate the challenging terrain of mental health issues.

The dataset was obtained via Kaggle, and due to the pre-cleaned and analysis-ready data, it was fairly straightforward. Python programming language was utilized to leverage the robust abilities of Gephi and Matplotlib for illuminating graphics and Pandas for smooth data processing.

Every subreddit in the data presented is thought of as a node in the linked graph, especially when it comes to conversations on mental health. These nodes stand for various aspects of mental health, such as the difficulties faced by abuse survivors and everyday anxiety and stress. The edges, which represent the post IDs connected to the texts on mental health in each subreddit, capture the relationships between these nodes. As we explore this graph’s structure, the idea of “degree” becomes crucial. In this case, a subreddit with a higher degree is considered a central hub in the network because it has more posts related to it. Put more, it indicates that conversations about mental health are more common. A closer look at the graph reveals that several subreddits stand out with higher degrees, indicating their importance in the conversation on mental health. Subreddits like ‘PTSD,’ ‘anxiety,’ and ‘relationships’ stand out as critical nodes with maximum degrees. Certain findings imply that particular subjects are discussed more frequently in the dataset.

The growing recognition and understanding of mental health concerns in our modern culture may be the reason for these nodes’ importance. Talks about relationships, anxiety, and post-traumatic stress disorder (PTSD) are common, which illustrates the difficulties people have navigating the nuances of mental health.

Considering the general pattern of our generation, which is marked by greater connectedness and an increasing focus on mental health awareness, these significant nodes highlight the urgent need for candid discussions. People may now share their stories, look for assistance, and build a feeling of community via the internet. Given the common experiences and difficulties involved with these subjects, subreddits centered on PTSD, anxiety, and relationships may be more relatable to a larger audience.Talking openly about subjects like relationships, anxiety, and PTSD points to a changing cultural environment in which people are increasingly at ease sharing their weaknesses and looking for support. Even while the graph sheds light on the significance of particular nodes, it’s critical to acknowledge the approach’s limitations. The degree of a subreddit does not always correspond with the severity or incidence of mental health concerns in the general community; rather, the dataset is a snapshot of online conversations only on Reddit.

Furthermore, the intricacies of people’s experiences could not be properly captured by the format of online discussions. The table and graphic that follow will highlight significant findings from the dataset, highlighting the nodes with the most degrees and the connections that characterize Reddit’s mental health conversation environment. The relationships that form these online conversations and can answer the important question at hand are displayed in the following visualizations. Visit my repository at https://github.com/EwuraImpraim/MODULE-2-INST414

Label; Degree

PTSD; 494

Anxiety; 436

Relationships; 419

Assistance; 260

Domestic Violence; 251

Survivors of abuse; 182

Homeless; 142

Almost homeless; 73

Stress; 56

Food pantry; 30

--

--