The National Struggle for our Wellbeing During a Global Pandemic
Motivations
As COVID-19 uprooted every aspect of our lives and put us into isolation, the importance of mental health has been recognized more and more. The initial wave of COVID was filled with fear, confusion, loneliness and many other unexpected emotions. Debates over government response became more and more partisan as the pandemic started becoming the new normal.
Considering the turbulent political and social discourse that occurred during the pandemic, we wanted to examine the correlations between mental health, COVID-19, and government response and policy. Did the government reflect our mental sufferings? Did our mood improve as the trend of COVID-19 changed? What about in parallel with the public statements of state senators? These factors are fluid in its relationship with each other and in this blog we will dive deeper into this interplay of factors during this global pandemic.
The artwork is from Alcimed
How We Got Our Data
Mental Health Data
We used the raw data from the Household Pulse Survey - Public Use Files from CDC separated by weeks from 1 to 39 in different csv files. This data was a report of the scores of people in two kinds of survey questions by U.S. Census Bureau:
Adapted PHQ-2 questions (screener for depressive disorder):
- Over the last 7 days, how often have you been bothered by … having little interest or pleasure in doing things? Would you say not at all, several days, more than half the days, or nearly every day? Select only one answer.
- Over the last 7 days, how often have you been bothered by … feeling down, depressed, or hopeless? Would you say not at all, several days, more than half the days, or nearly every day? Select only one answer.
Adapted GAD-2 questions (screener for generalized anxiety disorder):
- Over the last 7 days, how often have you been bothered by the following problems … Feeling nervous, anxious, or on edge? Would you say not at all, several days, more than half the days, or nearly every day? Select only one answer.
- Over the last 7 days, how often have you been bothered by the following problems … Not being able to stop or control worrying? Would you say not at all, several days, more than half the days, or nearly every day? Select only one answer.
There were four measured parameters: Anxious, Worry, Down and Interest. As per CDC, a person is considered to be associated from anxiety disorder if the sum of the Anxious and Worry scores is greater than or equal to 4. Similarly, a person is consdered to be associated from depressive disorder if the sum of the Down and Interest scores is greater than or equal to 4.
We wrangled the data to calculate the percentage of people suffering from anxiety and depression by state and week.
Dates were classified as weeks as follows:
Week number | start date [year-month-day] - end date [year-month-day]
| Week number and date range | Week number and date range |
|---|---|
| 1. 2020-04-23 to 2020-05-05 | 21. 2020-12-09 to 2020-12-21 |
| 2. 2020-05-07 to 2020-05-12 | 22. 2020-01-06 to 2021-01-18 |
| 3. 2020-05-14 to 2020-05-19 | 23. 2021-01-20 to 2021-02-01 |
| 4. 2020-05-21 to 2020-05-26 | 24. 2021-02-03 to 2021-02-15 |
| 5. 2020-05-28 to 2020-06-02 | 25. 2021-02-17 to 2021-03-01 |
| 6. 2020-06-04 to 2020-06-09 | 26. 2021-03-03 to 2021-03-15 |
| 7. 2020-06-11 to 2020-06-16 | 27. 2021-03-17 to 2021-03-29 |
| 8. 2020-06-18 to 2020-06-23 | 28. 2021-04-14 to 2021-04-26 |
| 9. 2020-06-25 to 2020-06-30 | 29. 2021-04-28 to 2021-05-10 |
| 10. 2020-07-02 to 2020-07-07 | 30. 2021-05-12 to 2021-05-24 |
| 11. 2020-07-09 to 2020-07-14 | 31. 2021-05-26 to 2021-06-07 |
| 12. 2020-07-16 to 2020-07-21 | 32. 2021-06-09 to 2021-06-21 |
| 13. 2020-08-19 to 2020-08-31 | 33. 2021-06-23 to 2021-07-05 |
| 14. 2020-09-02 to 2020-09-14 | 34. 2021-07-21 to 2021-08-02 |
| 15. 2020-09-16 to 2020-09-28 | 35. 2021-08-04 to 2021-08-16 |
| 16. 2020-09-30 to 2020-10-12 | 36. 2021-08-18 to 2021-08-30 |
| 17. 2020-10-14 to 2020-10-26 | 37. 2021-09-01 to 2021-09-13 |
| 18. 2020-10-28 to 2020-11-09 | 38. 2021-09-15 to 2021-09-27 |
| 19. 2020-11-11 to 2020-11-23 | 39. 2021-09-29 to 2021-10-11 |
| 20. 2020-11-25 to 2020-12-07 |
COVID Cases and Deaths Data
The dataset which we used is published by the New York Times. The dataset is in itself free to use for any non-commercial purposes. The cases represent the total number of new active positive cases at that point in time and at the given place, which takes into account the people who recovered from COVID-19. The deaths represent the total number of deaths at that point in time and at the given place.
We wrangled the dataset to arrange it in a weekly fashion consistent with the mental health dataset. We then calculated the percentage of COVID-19 cases and deaths by states and by weeks.
Twitter Data
Twitter for Developers
Twitter is one of the biggest social media platforms in the world, with 396 million monthly users. In addition to the huge user base, Twitter is a primarily text based social media platform, allowing for easier analysis of qualitative data compared to photo sharing platforms. During the terms of the past two presidents, the platform was also popularized as a political platform for politicians to directly communicate to their constituents. With over 300 thousand tweets from US senators pulled from Twitter’s Official API, there is a huge quantity of data to analyze and to even out the short-comings of sentiment and textual analysis.
The Data:
We used Twitter’s User Timeline function in which we pulled the 3000 most recent tweets from a specific account. We then ran through each senator of the past two Congresses and removed the duplicates, in total creating a database of 338,015 tweets.
After wrangling, each entry had 11 variables:
- State Abbrevation
- State Name
- Name of Senator
- Tweet Content
- Source
- Favorite Count
- Retweet Count
- Hashtags
- Location
- Date of Tweet
- Screen Name
Sentiment Analysis:
In order to conduct sentiment analysis we filtered through the tweets to include only tweets containing keywords regarding COVID, tokenizing the tweets into single words, and then applying the nrc sentiment database to each word.
Mental Health
What is Mental Health?
Mental health plays a vital role in all of our lives. According to CDC, “mental health includes our emotional, psychological, and social well-being. It affects how we think, feel, and act.” It can either increase your quality of life or ruin it. Something this important and serious is oftentimes overlooked by society. According to the American Psychiatric Association, the majority of people suffering from mental illness do not receive help for their disorders for various reasons such as concern about being treated differently or fear of losing their jobs and livelihood. This is due to stigma and prejudice against people with mental illness. Because mental health affects everyone, we thought it would be meaningful to explore mental health in the context of the COVID-19 pandemic by analyzing health policies and public sentiments.
Mental Health Pre-COVID
To look at an aspect of mental health before the COVID-19 pandemic, we looked into the distribution of adults who experienced symptoms of generalized anxiety disorder, which is characterized by excessive worry that is difficult to control accompanied by physical symptoms like fatigue, restlessness, irritability, or sleep disturbance.
During 2019, about 15.6% of adults experienced symptoms of anxiety. This percentage is lower than the percent of adults who experienced symptoms of anxiety during the time period of COVID-19 (April 23, 2020 - October 11, 2021), which we found to be 18%. The increase in adults experiencing symptoms of anxiety highlights how detrimental COVID-19 was for people’s mental wellbeing.
Mental Health During COVID-19
The pandemic of COVID-19 brought upon many drastic changes not only to how we perceive health but to our daily lives. During the pandemic of COVID-19, people were subjected to social isolation and experienced various hardships, so we thought it would be beneficial to analyze the trend of mental health and see how it has been affected in different contexts.
Percentage of Anxiety = number of people with anxiety over number of people who took the survey during this week
As you can see in this figure above, the general trend of the percentage of people who experienced symptoms of anxiety during the 39 week period of COVID-19 is generally positive. The correlation coefficient - a statistical measure of the strength and direction of the relationship between two variables - is 0.44, which indicates a moderate, positive relationship between weeks and percentage. We noted a few outliers in the trend indicated by the blue text, so we plotted a residuals vs. fitted plot to further explore this relationship.
A residuals vs. fitted plot is an easy way to detect unequal error variances, outliers, and non-linearity. It plots the residuals - difference between the observed value of the dependent variable and the predicted value. If the points in a residual plot are randomly dispersed around the horizontal axis, constant variance is likely to be true, thus indicating linear regression to be an appropriate model. As you can see in the residuals vs. fitted plot, weeks 2, 3, and 18 are either significantly higher or below the line at 0 while the rest of the points are randomly scattered above and below the line. This shows that the variance of mental health was generally consistent throughout the 39 weeks with the exception of in the early weeks of COVID-19 and week 18. The variation in the weeks 2-3 are probably due to reasons like people adapting to the different and difficult lifestyle of social isolation and quarantining. After phase 1, the percentage of people suffering from symptoms of anxiety peaked at week 18, which corresponds to October 28, 2020 to November 9, 2020, relative to other weeks towards the end of 2020. Although we cannot deduce anything conclusively, this may be due to the fact that on November 4th the U.S. hit a milestone with 100,000 new COVID-19 cases reported in a single day. This unprecedented spike in cases led to a shortage of N95 masks at health care facilities. On November 5th, there were many published studies that indicated difficulties in nationwide COVID-19 immunity as the path to vaccinating the majority of the country for COVID-19, thus achieving sufficient herd immunity, will be a difficult task. This most likely gave rise to unease and a sense of hopelessness across the nation.
Percentage of Anxiety = number of people with anxiety over number of people who took the survey during this week
Looking into the three weeks of outliers we wanted to see if it was a national trend where the states somewhat uniformly worsened (and improved for week 3) mentally or if a region in the country influenced the average with their own anomaly. The three graphs above show the state distribution of anxiety. The biggest difference lies in the Southeast region as it severely worsened from the initial weeks into week 18. Week 3 shows more of a national improvement with no clear outliers compared to the two other graphs that showed peak numbers. While there was also a big variance between the three weeks among the Midwestern states, the population of those states are not big enough to skew the national trend. To find out the reasons for these anomalies it is important to examine how these trends line up with the development of COVID-19 in our country.
COVID-19
Given increasing trends of anxiety and depression, we questioned if this is due to COVID-19 getting worse. In order to visualize this trend we created a line graph plotting the number of new COVID-19 cases per week in the graph below.
Percentage of Cases = average of number of new cases in the nation for that week over number of new cases in the nation
We can see in the above graph that the cases due to COVID-19 increased in general as we progress along weeks 1 to 39. If we look closely, we can see that the number of new cases per week actually increases. This means that COVID-19 is technically getting worse. We can see this by the positive slope of the graph of the number of cases per week vs. week as shown below. To quantify the change we tried to construct a difference graph. The correlation coefficient for this visualization turned out to be greater than 0.33, and hence we can statistically rely on it for conclusions.
If we look at the change in percentage of COVID cases across the weeks, we can see 2 major peaks and 1 valley that stands out from the general trend. The two spikes in the rate of change in COVID-19 occur from weeks 12-14 and 18-25 respectively. The valley occurs from weeks 29-34. Furthermore, we decided to use the time periods weeks 3-12, 14-17, and 35-39 as a control because the rate of change in COVID-19 cases did not change much during that time period. Using the control spatial data, we will indicate certain states that influenced the rate of change of new COVID-19 cases and compare the mental health of that time period.
Percentage of Cases = average of number of new cases for the state during this time period over number of new cases during weeks 1-39
Percentage of Anxiety = average of number of people with anxiety over number of people who took the survey during this time period
For the weeks 12-14, southern states like Texas, Louisiana, and Maryland and northeastern states like New York, Massachusetts, and New Jersey experienced a more rapid growth of new COVID-19 cases compared to the control. As for the distribution of anxiety, no state seemed to stand out other than New Mexico, which had unusually high percentages of adults experiencing symptoms of anxiety. For weeks 18-25, most of the states experienced a higher rate of change in COVID-19 cases; however, it was especially bad in the Midwestern states like North Dakota, South Dakota, and Wisconsin. Interestingly, Vermont had a drastically lower percentage as seen by the dark purple color change to a light yellow color. Oddly enough, the mental health of most of the states was better with the exception of Louisiana and Mississippi. For weeks 29-34, most of the states rate of change in COVID-19 cases became more similar to one another with the exception of Northeastern states like Vermont, New Hampshire, and Maine having dramatically higher rates of change. The West coast, Midwest, and South all generally had lower statistics. As for mental health, the West coast states had lower percentages while New York, Louisiana, and Mississippi were much worse. Although there are many variations among all these trends, it is not uncommon to see states in the same region either perform worse or better together. This is most likely due to the fact that states in certain regions are more politically aligned to one another compared to other states in different regions. Because the government and health policies play a huge role in how the U.S. responds to COVID-19 and other health epidemics like mental health, we will analyze government response.
Government Responses
As stated in the earlier section about the data gathered, we scraped Tweets from US senators from the past two congresses in order to assess the public image of US officials meant to represent us. Each tweet was then split into individual words which then were analyzed using sentiment analysis. The graph above shows the proportion of each sentiment for each week, it helps present how each sentiment changed over time (but doesn’t compare the actual quantity of each sentiment). As the graph shows, the sentiments moved together in relative uniform fashion, most likely due to the total number of tweets each week changing. However the variance of each sentiment grew over the weeks especially at week 16. This shows a greater uncertainty in public communication from the government. Going from heavily positive and optimistic messaging to words of caution and concern in the span of a week serves no function in calming the nation during a national crisis.
Trends in Common Words
Looking back at the periods that stood out during our COVID-19 and mental health analysis, we wondered if there are any clues to be found on more reasons behind those peaks and troughs. Here were the dates that stood out for mental health:
- Week 2 - peak in anxiety
- Week 3 - lowest point in anxiety
- Week 18 - slight outlier in anxiety
Looking at the most common words in tweets regarding COVID-19, there are some obvious words that repeat and skew the data including words like: health, pandemic, coronavirus etc. After filtering out these words here is what we are left with.