the psychological effects of quarantine during covid-19 ... · 6/25/2020  · 1 1 the psychological...

22
1 The psychological effects of quarantine during COVID-19 outbreak: 1 Sentiment analysis of social media data 2 Weisheng Lu 1 , Liang Yuan 2 , Jinying Xu 3* , Fan Xue 4 , Bin Zhao 5 , and Chris Webster 6 3 4 1. iLab: The Urban Big Data Lab, Faculty of Architecture, The University of Hong Kong, 5 Hong Kong 6 2. School of Management Science and Real Estate, Chongqing University, Chongqing, China 7 3. iLab: The Urban Big Data Lab, Faculty of Architecture, The University of Hong Kong, 8 Hong Kong 9 4. iLab: The Urban Big Data Lab, Faculty of Architecture, The University of Hong Kong, 10 Hong Kong 11 5. School of Management Science and Real Estate, Chongqing University, Chongqing, China 12 6. Faculty of Architecture, The University of Hong Kong, Hong Kong 13 *Correspondence to: Ms. Jinying Xu, [email protected]. 14 15 Abstract 16 We rely on social distancing measures such as quarantine and isolation to contain the COVID- 17 19. However, the negative psychological effects of these measures are non-negligible. To 18 supplement previous research on psychological effects after quarantine, this research will 19 investigate the effects of quarantine amid COVID-19. We adopt a sentiment analysis approach 20 to analyze the psychological state changes of 1,278 quarantined persons’ 214,874 tweets over 21 four weeks spanning the period before, during, and after quarantine. We formed a control group 22 of 1,278 unquarantined persons with 250,198 tweets. The tweets of both groups are analyzed 23 by matching with a lexicon to measure the anxious depression level changes over time. We 24 discovered a clear pattern of psychological changes for quarantined persons. Anxious 25 depression levels significantly increased as quarantine starts, but gradually diminished as it 26 progresses. However, anxious depression levels resurged after 14 days’ quarantine. It was 27 . CC-BY-NC-ND 4.0 International license It is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review) The copyright holder for this preprint this version posted June 26, 2020. . https://doi.org/10.1101/2020.06.25.20140426 doi: medRxiv preprint NOTE: This preprint reports new research that has not been certified by peer review and should not be used to guide clinical practice.

Upload: others

Post on 01-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

1

The psychological effects of quarantine during COVID-19 outbreak: 1

Sentiment analysis of social media data 2

Weisheng Lu1, Liang Yuan2, Jinying Xu3*, Fan Xue4, Bin Zhao5, and Chris Webster6 3

4

1. iLab: The Urban Big Data Lab, Faculty of Architecture, The University of Hong Kong, 5

Hong Kong 6

2. School of Management Science and Real Estate, Chongqing University, Chongqing, China 7

3. iLab: The Urban Big Data Lab, Faculty of Architecture, The University of Hong Kong, 8

Hong Kong 9

4. iLab: The Urban Big Data Lab, Faculty of Architecture, The University of Hong Kong, 10

Hong Kong 11

5. School of Management Science and Real Estate, Chongqing University, Chongqing, China 12

6. Faculty of Architecture, The University of Hong Kong, Hong Kong 13

*Correspondence to: Ms. Jinying Xu, [email protected]. 14

15

Abstract 16

We rely on social distancing measures such as quarantine and isolation to contain the COVID-17

19. However, the negative psychological effects of these measures are non-negligible. To 18

supplement previous research on psychological effects after quarantine, this research will 19

investigate the effects of quarantine amid COVID-19. We adopt a sentiment analysis approach 20

to analyze the psychological state changes of 1,278 quarantined persons’ 214,874 tweets over 21

four weeks spanning the period before, during, and after quarantine. We formed a control group 22

of 1,278 unquarantined persons with 250,198 tweets. The tweets of both groups are analyzed 23

by matching with a lexicon to measure the anxious depression level changes over time. We 24

discovered a clear pattern of psychological changes for quarantined persons. Anxious 25

depression levels significantly increased as quarantine starts, but gradually diminished as it 26

progresses. However, anxious depression levels resurged after 14 days’ quarantine. It was 27

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

NOTE: This preprint reports new research that has not been certified by peer review and should not be used to guide clinical practice.

Page 2: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

2

found that quarantine has a negative impact on mental health of quarantined and unquarantined 28

people. Whilst quarantine is deemed necessary, proper interventions such as emotion 29

management should be introduced to mitigate its adverse psychological impacts. 30

31

Introduction 32

The 2019 novel coronavirus (COVID-19) epidemic broke out in early 2020 in Wuhan, Hubei 33

Province, spreading rapidly to other mainland Chinese cities and then the world. According to 34

various sources, by early June 2020, total confirmed cases of infection had reached 7 million 35

and the death toll 400,000. The US, Brazil, Russia, UK, India, Spain, Italy, France, Germany, 36

China, and Iran are among the hardest hit in terms of confirmed cases. Although reported to 37

have plateaued in some countries, the ascending trend of COVID-19 cases worldwide continues. 38

39

Without a vaccine, drug therapies, or other aggressive treatments, we continue to rely heavily 40

on social distancing to slow the spread of COVID-19, or “flatten the curve”.1 Social distancing 41

measures have been used for centuries to arrest the spread of infectious disease, and we have 42

seen the closure of schools and workplaces, cancellation of mass events, travel restrictions, 43

voluntary self-isolation, mandatory quarantine, and lockdown of entire communities. Among 44

them, quarantine and isolation are widely exercised during this COVID-19 outbreak. 45

46

“Quarantine” refers to the separation and restriction of movement of people who have 47

potentially been exposed to a contagious disease to ascertain whether they have been infected, 48

so reducing their risk of infecting others.2 “Isolation” refers to the physical separation of those 49

who have been diagnosed with a contagious disease from those who have not. These terms are 50

often used interchangeably, especially in communications with the public,3 and are used 51

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 3: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

3

interchangeably in this paper, without differentiating whether the grounded subject is infected 52

or not by the COVID-19 virus. 53

54

Quarantine is an effective means of pandemic containment. However, placing people in 55

quarantine may have considerable, wide-ranging, and perhaps long-lasting psychological 56

impacts upon them, including fear, anxiety, sadness, depression, grief, and confusion.2 57

Previous studies of quarantine have investigated its psychological effects after the outbreaks of 58

Severe Acute Respiratory Syndrome (SARS) in 2003 and the Middle East Respiratory 59

Syndrome (MERS) in 2012. For example, Hawryluck et al.5 examined the psychological effects 60

of quarantine on 129 people in Toronto, Canada, observing symptoms of post-traumatic stress 61

disorder (PTSD) and depression in 28.9% and 31.2% of subjects, respectively. Liu et al.6 62

examined post-outbreak levels of depressive symptoms among hospital employees (N=549) 63

exposed to SARS in Beijing 2003 and found that having been quarantined during the outbreak 64

increased the odds of having a high level of depressive symptoms. 65

66

Previous studies on the psychological effects of quarantine tend to adopt psychological 67

measurement scales such as IES-R (Impact of Event Scale - Revised) to assess post-traumatic 68

stress7; the CES-D (Center for Epidemiologic Studies Depression Scale) to assess depression6; 69

GAD-7 (Generalized Anxiety Disorder Questionnaire) to assess anxiety8; STAXI-2 (State-70

Trait Anger Expression Inventory-2) to assess anger9; MBI-GS (Maslach Burnout Inventory - 71

General Survey)to assess burnout10; and the K10 (Kessler Psychological Distress Scale). to 72

assess psychological distress11. These scales are largely subjective and passive sources of 73

measuring psychological effects and are limited by availability, timeliness, and volume of 74

data12. Moreover, most of the previous studies only focused on the psychological effect after a 75

pandemic or other traumatic event. 76

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 4: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

4

77

Millions of people around the world remain in lockdown amid the current pandemic, little 78

research has probed into the psychological effects of quarantine during the COVID-19 outbreak. 79

We attribute this lack of empirical research to: (1) insufficient attention paid to the 80

psychological impacts of COVID-19 quarantine; and (2) difficulty to access the data on 81

quarantined people during the ongoing outbreak. Previously, researchers have relied on 82

questionnaire surveys or interviews to understand psychological effects after quarantine. In this 83

paper, we aim to report psychological state changes of quarantine persons before, during, and 84

after quarantine by adopting a novel sentiment analysis approach. 85

86

Sentiment analysis of social media data 87

People in quarantine have more time to access social media, e.g., Twitter, Facebook, and 88

WeChat. Reports have noted that “during quarantine, iPhone screen time reports are through 89

the roof”13. Social media provides a means of self-expression and facilitates measurement of 90

the psychological status of those sharing their feelings which are hard to articulate in traditional 91

means14. The huge amount of people’s experience, opinion, and emotion on social media 92

provides a great opportunity for automatic mining and analysis of psychological dynamics15. 93

94

Sentiment analysis of social media data can enable general large-scale analyses of public 95

mental health status16. For example, De Choudhury et al.17 used shared Facebook data to 96

characterize and predict postpartum depression among 165 new mothers. Compared to 97

Facebook, Twitter attracts more researchers by an opener data access to the public. For 98

example, Pedersen18 screened depression and PTSD among 327 Twitter users; De Choudhury 99

et al.19 measured depression among 489 Twitter users. Going beyond traditional methods such 100

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 5: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

5

as questionnaire survey or interviews, sentiment analysis can help probe into the mental health 101

status of those in quarantine. 102

103

Psychological effects of quarantine as reflected in social media 104

We focus predominantly on anxious depression—anxiety in depressive individuals— as the 105

most common among mental disturbances in quarantined patients20,21. Unlike depression or 106

anxiety alone, which are two independent mental disorders22, anxious depression is a mixed 107

anxiety and depression disorder. Depression is characterized by sadness, loss of interest or 108

pleasure in life, feelings of guilt or low self-worth, disturbed sleep or appetite, feelings of 109

tiredness and poor concentration23. Anxiety is a conscious state of worry over a future 110

unwanted event, or fear of an actual situation24. In this study, we adapted a prevailing sentiment 111

analysis approach of using bag-of-words, to assume the psychological states, e.g., anxious 112

depression, are reflected in various lexicons. Particularly, we developed our lexicon from two 113

sources: (1) the online word lists provided by MyVocabulary (https://myvocabulary.com/), a 114

free and interactive vocabulary resource used in over 40,000 schools, and (2) word lists from 115

the scholarly literature14,19,25. In developing our lexicon, we integrated words from the two 116

sources and used manual screening to exclude irrelevant or ambiguous terms based on the 117

features of the COVID-19. Our final lexicon comprised 317 words related to anxious 118

depression (see Appendix). 119

120

Social media is an unintendedly left big data hub for studying the psychological status of people 121

26. Although a huge amount of social media data is publicly available, deep qualitative 122

investigation into the contents raises ethical concerns over privacy, anonymity and 123

confidentiality, authenticity, voluntary participation and informed consent, data security and 124

management, and sampling, among others26. Specific ethical issues differ with the research 125

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 6: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

6

question, scope of data collection, and whether the aimed analysis is based on quantitative 126

analysis of aggregates of users or qualitative, in-depth examination of individual 127

users27. Twitter is a widely used social media platform with API for academic research. The 128

content posted by users on Twitter is by default public27, which means that academic 129

researchers are free to access the data. In investigating the psychological impacts of COVID-130

19 quarantine, this research will undertake quantitative analysis of aggregates of Twitter users, 131

thereby avoiding infringement of Twitter users’ privacy. In addition, we have obtained ethical 132

approval from the University of Hong Kong for this study. 133

134

Methods 135

We conducted three rounds of data collection and cleansing. The first round aimed to identify 136

persons who had completed a 14-day quarantine period. To start, we read many tweets and 137

interestingly found some typical phrases in use among these persons. We identified quarantined 138

users by searching for tweets containing: 1) “day X in quarantine” and the hashtag 139

“#quarantinelife”, 2) “day X” and the hashtag “#selfquarantine”, and 3) “isolation day X” and 140

the hashtag “#selfisolating”. Here, “X” refers to a number between 1 and 14. Secondly, using 141

the queries, we collected 2,462 users from the Twitter website using the Python tool 142

“TweetScraper”. Thirdly, we used the Natural Language Processing techniques, especially the 143

Text Analysis techniques in Matlab2019a, to process the tweets posted by the potential users 144

and extracted 1,403 quarantined Twitter users. Given our aim to investigate anxious depression 145

levels in individuals before, during, and after quarantine, we also identified individual 146

quarantine starting dates (𝐷𝑠 ) by reading their tweets. For example, a user’s tweet “self-147

isolation diary, day 2” dated “2020-03-14” indicates a quarantine start date of 13 March 2020. 148

Lastly, we set the duration of both “after” and “before” quarantine as 7 days to locate the latest 149

quarantine starting date of qualified users as we aimed to collect the 28-day data completely 150

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 7: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

7

when we extracted the data. After excluding the users whose starting dates were later than the 151

latest quarantine starting dates, we finally obtained 1,278 qualified individuals. 152

153

A second-round data collection and processing were conducted to collect the 1,278 qualified 154

users’ tweets and then classify them into one of the setting periods (before, during, and after 155

quarantine). We first used the Python tool to collect all tweets posted by these users in the three 156

periods. After cleansing incorrect or repetitive data, we obtained 214,874 tweets. We then 157

standardized the dates into the three periods, i.e., before quarantine (7 days), during quarantine 158

(14 days), and after quarantine (7 days). It is necessary to adopt a relative date (𝐷𝑟) to replace 159

the absolute date (𝐷𝑎) of each tweet so that we can put all tweets under the three periods for 160

investigation, even though their absolute dates are different. Equation (1) shows the calculation 161

method for the relative date of each tweet. 162

𝐷𝑟 = 𝐷𝑎 − 𝐷𝑠, {

𝑖𝑓 𝐷𝑟 < 0, 𝐷𝑟 ∈ 𝑃𝑏; 𝑖𝑓 0 < 𝐷𝑟 ≤ 14, 𝐷𝑟 ∈ 𝑃𝑑;

𝑖𝑓 𝐷𝑟 > 14, 𝐷𝑟 ∈ 𝑃𝑎; (1)

where 𝑃𝑏 represents the period 7-days-before-quarantine, 𝑃𝑑 represents the period 14-days-163

during-quarantine, and 𝑃𝑎 represents the period 7-days-after-quarantine. After calculating the 164

relative date of 214,874 tweets and classifying them, we obtained 43,341 tweets in the 7 days 165

before quarantine, 120,734 tweets in the 14 days during quarantine, and 50,799 tweets in the 7 166

days after quarantine. 167

168

A third-round data collection and processing were undertaken to collect 1,278 unquarantined 169

users to form a control group. Since the absolute time of 1,278 quarantined users covers from 170

February 15 to April 15, we need to keep the number of quarantined users and unquarantined 171

users consistent in the same absolute date period as the 1,278 quarantined users. We first 172

collected 3,389 users’ tweets posted between February 15 and April 15 2020 (6,204,632 tweets). 173

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 8: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

8

Afterwards, we defined an unquarantined users as those whose tweets did not contain the 174

hashtag “#isolationlife”, “#selfisolating”, “#selfquarantine”, “#quarantinelife”, 175

“#quarantinequotes”, or the keyword “quarantine” during the sampled period. We thereby 176

obtained 1,498 qualified users. We calculated the number of quarantined users of different 177

periods, and then we matched the distribution of unquarantined user to keep them the same. 178

For example, 100 quarantined users’ 28-day relative dates were from February 15 to March 13 179

2020, therefore, we distributed 100 unquarantined users into this absolute date period. By this 180

step, we obtained 1,278 unquarantined users from the 1,498 identified ones to be the control 181

group, and two groups have the same user number distribution. 182

183

Combining tweet text, post time, and relative date, we obtained a quarantined user data matrix 184

containing 214,874 × 3 data points and an unquarantined user data matrix containing 185

250,198 × 3 data points. 186

187

We developed Equation (2) to quantify the anxious depression (AD) level on Day i of all 188

quarantined users: 189

190

𝐴𝐷𝑖 = 𝑁𝐴𝐷𝑖/𝑆𝑖 (i = 1, 2, …, 28) (2)

191

where 𝑁𝐴𝐷𝑖 is the number of tweets containing any of the anxious depression keywords (Table 192

S1) on Day i; 𝑆𝑖 is the total tweet numbers by all quarantined users on Day i. For the calculation, 193

we first stripped all tweets texts of each relative date into many single words and calculated the 194

tweet numbers when any of the keywords is hit. The ratios of daily tweet numbers with the 195

keywords to total daily tweet numbers were then calculated to represent the AD level. The top 196

six keywords from the lexicons appearing in the daily tweets were also identified. 197

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 9: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

9

198

Data analyses, results, and findings 199

General descriptions of the data 200

We analyzed the tweets posted by the 1,278 qualified individuals before, during, and after 201

quarantine and their 1,278 unquarantined counterparts in the same period. As shown in Figure 202

1, in general, unquarantined users tweeted more than the quarantined users on average and in 203

total. Only on the first day of quarantine did the quarantined users post more tweets than the 204

unquarantined group. For the quarantined group, daily tweet numbers almost doubled upon 205

starting quarantine. Afterward, their tweet numbers decreased but remained at a high level until 206

one week during quarantine. Tweet numbers then decreased in the second week of quarantine. 207

Given the possibility that the total tweet numbers are attributable to the numbers of users who 208

tweeted, we calculated the average tweet number per quarantined user. As Figure 1 shows, the 209

average tweet number per quarantined user is smaller than that for unquarantined users. 210

Perhaps quarantined users were less willing to express their concerns publicly. Within the 211

quarantined group, the daily tweet frequency increased dramatically when the quarantine starts. 212

The average tweet numbers from Days 1 to 17 (three days after the two-week quarantine) 213

stayed at a relatively higher level than other days. 214

215

<insert Figure 1 here> 216

Figure 1: Daily total and average numbers of tweets posted by quarantined users 217

(N=1,278). Tweets were posted by quarantined users whose quarantine finished at least 7 days 218

before data collection. For quarantined users: “Before Quarantine” (Days -7 to -1) is the period 219

before users started their quarantine; “During Quarantine” (Days 1 to 14) is the two-week 220

quarantine period; and “After Quarantine” (Days +1 to +7) is the week after users finished 221

quarantine. 222

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 10: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

10

223

In Figure 1, Total daily tweet numbers of all quarantined users are summarized and displayed 224

(green) on the timeline, and average daily tweet numbers per quarantined user are calculated 225

and displayed (pink). The curves show the changes in number of tweets for the 28 days before, 226

during, and after quarantine. For the unquarantined users, numbers of tweets are counted for 227

28 days. Unquarantined users’ total and average tweeted numbers are displayed using dashed 228

lines in blue and purple, respectively. 229

230

Changing patterns of mental status 231

Figure 2 demonstrates the changes in anxious depression (AD) level of quarantined users 232

before, during, and after quarantine and the 28-day AD level change of unquarantined users. 233

The data of both groups was collected in the same window to ensure a similar background of 234

potentially AD-stimulating news and trends. The AD level change range of the unquarantined 235

group is slightly smaller than that of the quarantined group, ranging between 0.119 and 0.154 236

compared to 0.138 and 0.166, respectively, across the four weeks under investigation. There 237

are slight changes across the 28-day for unquarantined users with no obvious specific feature 238

as compared to quarantined users. Days 1 and 13, the start and end dates of the 2-week 239

quarantine, are clearly AD inflection points. The AD level of quarantined users increased at 240

Day 1 of quarantine, followed a clear descending trend as the quarantine progressed, and 241

declined rapidly when the quarantine was about to end. On Day 13, one day before the end of 242

quarantine, AD dropped to 0.118. By that date, the clinical features of COVID-19 infection, 243

including fever, malaise, dry cough, and shortness of breath should have surfaced if the person 244

was infected28 except in rare cases of more than 14 days’ incubation or where the individual 245

was asymptomatic. After Day 13, quarantined users tweeted regularly (see Figure 1), but their 246

AD level dropped steadily. After their quarantine, they are relieved. 247

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 11: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

11

248

<insert Figure 2 here> 249

Figure 2: Anxious depression level comparison between quarantined and unquarantined 250

users. The anxious depression level of a certain day is the ratio of the number of tweets 251

containing the keywords from the lexicon to the number of total tweets on that day. 252

253

Figure 3 displays the top six keywords appearing in the tweets of all investigated users. Nine 254

keywords appear in the displayed lists of both quarantined and unquarantined users. They are 255

“bad”, “death”, “die”, “down”, “mean”, “sick”, “symptoms”, “virus”, and “wrong”. This 256

suggests both groups felt bad / down about COVID-19 deaths and were afraid of symptoms. 257

During the quarantine period, the keywords “isolation”, “down”, “virus”, and “bad” frequently 258

appeared in quarantined users’ tweets. They also tended to swear a lot, which we interpreted 259

as a sign of anxiety,29 and they mentioned “symptoms” and “die” frequently, revealing fears of 260

infection and death. A closer look at users’ tweets on Day 1 of quarantine shows that they 261

tweeted more about “isolation”, “virus”, and “down” than on any other day in the 28-day period. 262

“Sick”, “symptoms”, and even “die” came into their tweets on many days. For unquarantined 263

users, “die” and “virus” were the top two keywords in everyday most frequently used words, 264

while “down” and “death” are the third and fourth most frequently used. This implies that they 265

were worried about the virus itself and the death it caused, whereas quarantined users worried 266

about themselves. 267

268

<insert Figure 3 here> 269

Figure 3: Top six anxious depression keywords in tweets by quarantined and 270

unquarantined users. The daily top six keywords are the most frequently appearing keywords 271

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 12: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

12

from the anxious depression lexicon. Figure 3 displays keywords only on specific days. A total 272

of 22 keywords are most frequently used. 273

274

It is surprising to see the high levels of anxious depression among quarantined users in the 7 275

days before quarantine. On average, mental states were worse at this stage than during or after 276

quarantine. This well reflected the panic of the public, which had very limited knowledge of 277

this COVID-19 virus when it was outbreak. 278

279

A wary trend is the resurgence of anxious depression after the 2-week quarantine period. Figure 280

3 shows anxious depression levels rising from the lowest point of 0.118 on Day 13 during 281

quarantine to around 0.130 in Days 4, 5, and 6 after quarantine. We attribute this to the fact 282

that most people were still locked down at home due to social distancing requirements30. After 283

a 14-day quarantine, one must become worn and irritated because of boredom, frustration, and 284

possibly financial loss, although the alarm of fearing infection can be disarmed. During this 285

period, post-quarantine users still swore a lot and their tweets made frequent use of the words 286

“down”, “bad”, “virus”, and the like. 287

288

Discussion 289

This research conducts a longitudinal analysis of the psychological states before, during, and 290

after quarantine. Our analyses show that quarantine has non-negligible negative psychological 291

impacts on those who are quarantined. In fact, these impacts took effect even before formal 292

quarantine began. At this early stage, our knowledge about the virus with regards to its basic 293

reproduction number (R0), mode of transmission, incubation period, and symptoms is rather 294

limited. Governments inevitably showed hesitation to adopt the most effective containing 295

strategies. This is further exacerbated by the fact that we still do not have vaccines to prevent 296

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 13: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

13

infection or drugs to cure the infected. To mitigate the negative psychological impacts, 297

governments or their disease control and prevention (CDC) centers should release authoritative 298

information, telling people what is happening and why, and explaining how long it will 299

continue2. 300

301

We discovered that among quarantined individuals, anxious depression peaked on Day 1 of 302

quarantine, remained at a high level during the first week of quarantine, and then declined 303

sharply to the end of the quarantine. This tallies with the medical finding that the COVID-19 304

incubation period ranges from 1 to 14 days, and is most commonly 5 days.31 After 5 days most 305

quarantined individuals should have seen the symptoms if they were infected and would 306

perhaps be hospitalized. Otherwise, they can be much relieved. During this period, quarantined 307

people need good communication and authoritative information, e.g., about the death rates, 308

availability of medical resources, or vaccine or drug therapies developing progress. They need 309

care, encouragement, and emotion management. Our human communities have done many 310

noble things, e.g., Queen Elizabeth’s national address broadcasting to the whole world, 311

entertainment companies opening their resources for free, the “One World: Together at Home” 312

concert curated by Lady Gaga, or the like. 313

314

A particularly meaningful finding of this research is that there is a post-quarantine resurgence 315

in anxious depression. Unlike in previous studies of PTSD after quarantine, the sample under 316

our investigation was still lock down indoor. While relieved of fear of infection, new 317

psychological impacts were witnessed. These were probably caused by boredom, loneliness, 318

being cooped up with family members, or financial concerns. While the above mentioned 319

caring, encouragement, and emotion management measures can still be promoted, a more 320

proactive strategy is to rethink the implementation of a uniform lockdown policy, which is 321

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 14: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

14

mechanically extended again and again in most of the countries. Some carefully thought-out 322

strategies to unlock the cities should be devised to alleviate the negative impacts of quarantine 323

lockdown. 324

325

Conclusions 326

This research investigates the adverse psychological impacts of COVID-19 quarantine. It was 327

found that quarantined people experienced a clear pattern of change in mental state before, 328

during, and after quarantine. They suffered a high level of anxious depression before 329

quarantine, probably owing to infection fears, confusion, and misleading information, all of 330

which can be exacerbated by the mass and social media. The anxious depression level spiked 331

on Day 1 of quarantine but gradually diminished, reaching its lowest point on Day 13. After 332

two weeks’ quarantine, most clinical features of COVID-19 should have surfaced if an 333

infection were present, meaning that fear of infection can subside. Nevertheless, the anxious 334

depression level had a resurgence post quarantine, probably because most subjects were still in 335

lockdown in accordance with local regulations. The contributions of this paper are twofold: (a) 336

evidence on the psychological effects before, during, and after quarantine during the COVID-337

19 outbreak; and (b) a straightforward but innovative sentimental analysis approach to access 338

the subjects when the traumatic event is still going on. 339

340

Whilst the necessity and effectiveness of quarantine in containing the COVID-19 pandemic are 341

evident, its negative psychological impacts cannot be neglected. It takes effects even before the 342

quarantine is formally started. Our research provides evidence backing up calls for officials to 343

ensure the quarantine experience is as tolerable as possible. Measures such as authoritative 344

information, caring, entertaining, encouragement, emotion management, and the like should be 345

consciously devised to alleviate the negative psychological impacts. Our research also provides 346

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 15: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

15

evidence in support of calls to keep quarantine lockdowns as short as possible, as negative 347

psychological impacts will return if the post-quarantine individual is further grounded indoors. 348

Therefore, delicate strategies to unlock the cities, instead of implementing a uniform and brutal 349

lockdown policy, are highly desired. 350

351

Acknowledgments 352

We acknowledge the Tweeter for making the tweets available for researchers. Author 353

contributions: WL, conceived the study. LY. curated data. LY. and JX. performed the analysis. 354

WL, JX, and LY. wrote the first draft of the manuscript. WL, BZ, TL, and CW reviewed and 355

edited the manuscript. Competing interests: All authors declare no competing interests. Data 356

and materials availability: All code and data are available in the supplementary materials. 357

358

References 359

1. Leleu H, Hoertel N, Massetti M, et al. Should we quickly get out of confinement to face 360

COVID-19 pandemic? Estimating the medical outcomes of different public health strategies 361

using a robust microsimulation agent-based model. 2020. Preprint: doi:10.2139/ssrn.3569844. 362

2. Brooks SK, Webster RK, Smith LE, et al. The psychological impact of quarantine and 363

how to reduce it: Rapid review of the evidence. Lancet. 2020; 395:912–920. 364

3. Manuell ME, Cukor J. Mother Nature versus human nature: Public compliance with 365

evacuation and quarantine. Disasters. 2011; 35:417–442. 366

4. Van der Kolk BA, McFarlane AC, Eds., Traumatic stress: The effects of overwhelming 367

experience on mind, body, and society. New York, NY: Guilford Press; 1996. 368

5. Hawryluck L, Gold WL, Robinson S, et al. SARS control and psychological effects of 369

quarantine, Toronto, Canada. Emerging Infectious Disease. 2004; 10:1206–1212. 370

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 16: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

16

6. Liu X, Kakade M, Fuller CJ, et al. Depression after exposure to stressful events: 371

Lessons learned from the severe acute respiratory syndrome epidemic. Comprehensive 372

Psychiatry. 2012; 53:15–23. 373

7. Derluyn I, Broekaert E, Schuyten G, et al. Post-traumatic stress in former Ugandan 374

child soldiers. Lancet. 2004; 363:861–863. 375

8. Spitzer RL, Kroenke K, Williams JB, et al. A brief measure for assessing generalized 376

anxiety disorder: The GAD-7. Archives of Internal Medicine. 2006; 166:1092–1097. 377

9. Lievaart M, Franken IH, Hovens JE. Anger assessment in clinical and nonclinical 378

populations: Further validation of the State–Trait Anger Expression Inventory‐2. Journal of 379

Clinical Psychology. 2016; 72:263–278. 380

10. Schaufeli WB, Salanova M, González-Romá V, et al. The measurement of engagement 381

and burnout: A two sample confirmatory factor analytic approach. Journal of Happiness 382

Studies. 2002; 3:71–92. 383

11. Taylor MR, Agho KE, Stevens GJ, et al. Factors influencing psychological distress 384

during a disease epidemic: Data from Australia’s first outbreak of equine influenza. BMC 385

Public Health. 2008; 8:347. 386

12. Saha K, Chan L, De Barbaro K, et al. Inferring mood instability on social media by 387

leveraging ecological momentary assessments. In: Proceedings of the ACM on Interactive, 388

Mobile, Wearable and Ubiquitous Technologies. 2017; 1–27. 389

13. The Washington Post. Our iPhone weekly screen time reports are through the roof, and 390

people are ‘horrified’. 2020. Available at: 391

https://www.washingtonpost.com/technology/2020/03/24/screen-time-iphone-coronavirus-392

quarantine-covid/. Accessed April 18, 2020. 393

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 17: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

17

14. Kumar A, Sharma A, Aror A. Anxious depression prediction in real-time social data. 394

In: International Conference on Advances in Engineering Science Management & Technology 395

2019; 1–7. 396

15. Boiy E, Hens P, Deschacht K, et al. Automatic sentiment analysis of on-line text. 397

In Proceedings of the 11th International Conference on Electronic Publishing. 2007;349–360. 398

16. Coppersmith G, Harman C, Dredze M. Measuring post-traumatic stress disorder in 399

Twitter. In Eighth International AAAI Conference on Weblogs and Social Media. 2014; 579–400

582. 401

17. De Choudhury M, Counts S, Horvitz EJ, et al. Characterizing and predicting postpartum 402

depression from shared Facebook data. In Proceedings of the 17th ACM Conference on 403

Computer Supported Cooperative Work & Social Computing. 2014; 626–638. 404

18. Pedersen T. Screening Twitter users for depression and PTSD with lexical decision 405

lists. In Proceedings of the 2nd Workshop on Computational Linguistics and Clinical 406

Psychology: From Linguistic Signal to Clinical Reality. 2015; 46–53. 407

19. De Choudhury M, Counts S, Horvitz EJ. Social media as a measurement tool of 408

depression in populations. In Proceedings of the 5th Annual ACM Web Science Conference. 409

2013; 47–56. 410

20. Sasaki T, Akaho R, Sakamaki H, et al. Mental disturbances during isolation in bone 411

marrow transplant patients with leukemia. Bone Marrow Transplantation. 2000; 25:315–318. 412

21. Zimmerman M, Kerr S, Kiefer R, et al. What is anxious depression? Overlap and 413

agreement between different definitions. Journal of Psychiatric Research. 2019; 109:133–138. 414

22. Ionescu DF, Niciu MJ, Henter ID, et al. Defining anxious depression: A review of the 415

literature. CNS Spectrums. 2013; 18:252–260. 416

23. WHO. Depression. 2020. Available at: https://www.who.int/news-room/fact-417

sheets/detail/depression. Accessed April 12, 2020. 418

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 18: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

18

24. Evans DL, Foa EB, Gur RE, et al., Eds. Treating and preventing adolescent mental 419

health disorders: What we know and what we don’t know. Oxford, Oxford University Press; 420

2005. 421

25. Lambert AJ, Eadeh FR, Peak SA, et al. Toward a greater understanding of the emotional 422

dynamics of the mortality salience manipulation: Revisiting the “affect-free” claim of terror 423

management research. Journal of Personality and Social Psychology. 2014; 106:655–678. 424

26. Hunter R, Gough A, O’Kane N, et al. Ethical issues in social media research for public 425

health. American Journal of Public Health. 2018; 108:343–348. 426

27. Lomborg S, Bechmann A. Using APIs for data collection on social media. The 427

Information Society. 2014; 30:256–265. 428

28. Wang Y, Wang Y, Chen Y, et al. Unique epidemiological and clinical features of the 429

emerging 2019 novel coronavirus pneumonia (COVID‐19) implicate special control 430

measures. Journal of Medical Virology. 2020; 92:568–576. 431

29. Shen JH, Rudzicz F. Detecting anxiety through Reddit. In Proceedings of the Fourth 432

Workshop on Computational Linguistics and Clinical Psychology—From Linguistic Signal to 433

Clinical Reality. 2017; 58–65. 434

30. Hale T, Petherick A, Phillips T, et al. Variation in government responses to COVID-435

19: Version 4.0. (Working Paper. Blavatnik School of Government, Oxford University, 2020). 436

https://www.bsg.ox.ac.uk/sites/default/files/2020-04/BSG-WP-2020-031-v4.0_0.pdf 437

31. Lauer SA, Grantz KH, Bi Q, et al. The incubation period of coronavirus disease 2019 438

(COVID-19) from publicly reported confirmed cases: Estimation and application. Annals of 439

Internal Medicine. 2020; 172(9):577-582. 440

441

Supporting information captions 442

Table S1. Lexicons of anxious depression 443

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 19: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

19

Data and code URL 444

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 20: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 21: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint

Page 22: The psychological effects of quarantine during COVID-19 ... · 6/25/2020  · 1 1 The psychological effects of quarantine during COVID-19 outbreak: 2 Sentiment analysis of social

. CC-BY-NC-ND 4.0 International licenseIt is made available under a is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. (which was not certified by peer review)

The copyright holder for this preprint this version posted June 26, 2020. .https://doi.org/10.1101/2020.06.25.20140426doi: medRxiv preprint