Introduction

Since December 2019, the outbreak of a novel coronavirus disease (COVID-19), which was first reported in Wuhan, Hubei province, China, has become a global concern. By May 24, 2020, there were 84,525 confirmed cases of COVID-19 in China including 4645 people who had died due to the infection. Globally, the number of COVID-19 cases has surged, with 5,206,614 confirmed cases in more than two hundred countries/areas (WHO 2020). Public health efforts to curb the rapid transmission of COVID-19 have led to infection control measures dominating hospital procedures and policies in China. All levels of Chinese government have implemented a range of containment measures, including early detection and isolation of suspected and confirmed cases, establishment of Fangcang shelter hospitals (Chen et al. 2020), travel restrictions, dissemination of diagnostic kit, and widespread quarantines (Xiang et al. 2020).

The outbreak of COVID-19 has motivated research on the psychological challenges that this epidemic poses to health professionals, patients, and the public. As highlighted by Jalloh et al. (2018), individuals face mental health problems such as anxiety, stress, depression, insomnia, and anger in the fight against epidemics such as SARS and Ebola. Although some recent studies, including Kang et al. (2020) and Liu et al. (2020), have reported on the psychological impact of COVID-19, published reports are still limited. In this paper, we examine the effect of quarantine experiences and attitudes towards COVID-19 on mental health among adults in China and how this effect changes across the distribution of mental health scores.

Our work complements the existing literature on the psychological impact of disease outbreaks in the following ways: First, unlike most previous studies focusing on negative domains of mental health such as psychiatric morbidity (Chong et al. 2004) and psychological distress (Lee et al. 2018), we measure both positive and negative metrics of mental health, depressive symptoms and happiness. This combination may allow researchers to gain a fuller picture of the psychological impacts of COVID-19 including how COVID-19 impacts quality of life (QOL) in human beings (Shek 2014). Second, we use a quantile regression approach to analyze the potential heterogeneity in the relationship of mental health to quarantine experiences and attitudes about COVID-19 across the distribution of mental health measures. Because we examine these associations in China, where the disease first emerged and is currently under effective control, our findings will have important implications for other countries affected by the pandemic. This is especially the case given that previous research has focused on the psychological consequences of epidemics in the context of developed countries (e.g., Locke et al. 2019; Sprang and Silman 2013), while research from developing and emerging settings has been limited. As Shek (2014) and Ma et al. (2019) have emphasized, research contributions from different cultural contexts can help to chart a global contour of applied QOL.

Prior Literature

Quarantine and Psychological Outcomes

In the health literature, “quarantine” is commonly defined as the separation or restriction of the activities of individuals who may have been exposed to infectious diseases to reduce their risk of infecting others (Brooks et al. 2020). Conceptually, “quarantine” is often used interchangeably with “isolation” and both terms are used in the context of infection prevention. However, there is also a clear distinction between the two terms: the former applies to individuals who are asymptomatic or are not yet ill, while the latter is for patients who are symptomatic or known to have a contagious disease (Barbisch et al. 2015).

Although quarantine is to protect individuals’ health from infectious diseases, it has been widely regarded as an unpleasant experience that may trigger various psychological problems such as depression, anxiety, fear, loneliness, resentment, and confusion (Lin et al. 2010). For instance, using data from a survey in South Korea during the Middle East Respiratory Syndrome (MERS) epidemic, Jeong et al. (2016) found that during quarantine, approximately 16.6% and 7.6% of respondents reported anger and anxiety symptoms, respectively. Sprang and Silman (2013) found that disease-containment measures such as quarantine and isolation have a detrimental impact on children and their parents, manifested in symptoms of post-traumatic stress disorder (PTSD).

There are several reasons why quarantine is likely to have a detrimental impact on mental health. First, those who are quarantined may face difficulties getting food and other daily necessities (DiGiovanni et al. 2004). Lack of access to basic supplies could give rise to feelings of tension, frustration, and anxiety (Maynard et al. 2019). Second, quarantined individuals are likely to be discriminated against and ostracized by their neighbors and other groups, and a feeling of stigmatization is common among people with quarantine experiences (Karamouzian and Hategekimana 2015). Such stigmatization may exacerbate stress and mental health deterioration for people in quarantine (Robertson et al. 2004). Moreover, quarantine may be accompanied by other psychologically damaging factors including financial loss, inadequate access to information, and boredom (Brooks et al. 2020). Although there is some evidence that quarantine experiences are negatively associated with psychological outcomes (e.g., Reynolds et al. 2008; Taylor et al. 2008), quarantine may also have beneficial psychological impacts because it can effectively reduce an individual’s risk of being infected, thereby alleviating the infectious pressure on them (Locke et al. 2019). A key aim of the current study is to examine this possibility.

The Role of Attitudes in Mental Health

The role of attitudes in predicting emotional functioning has been extensively documented in the mental health literature (e.g., Ayers et al. 2010; Iyer and Muncy 2016). Using data from a 9-year follow-up survey, Halvorsen et al. (2010) found that dysfunctional attitudes are closely related to depression severity. Aghababaei et al. (2016), using a sample of college students in Iran, found that both religious and scientific attitudes are positively associated with life satisfaction, happiness, and self-esteem.

Closer to our interest is a small but growing body of research on the relationship between attitudes towards disease and mental health. One branch of the literature looks at the impact of attitude towards disease severity on the mental health of patients (e.g., Moss Morris et al. 1996; Zhang et al. 2016). Using a sample of heart failure patients from Ireland, Morgan et al. (2014) found that perceptions of illness were correlated with mental health, and suggested that control-related attitudes could have a protective role in health-related outcomes. This finding is in line with the work by Callus et al. (2014), who showed that attitudes about the severity of cardiac disease are associated with the patients’ pre-operative psychological state. In addition to attitudes about disease itself, Boyes et al. (2006) found that a positive attitude towards real-time feedback of health information improves patients’ symptom control, although it has no significant impact on their mental health.

In sum, favorable attitudes predict a wide range of successful adaptations to adverse circumstances and can have protective effects against illness, disability, and depression (Kato et al. 2016). As reported by Shallcross et al. (2010), embracing negative experiences may protect individuals from negative emotions and prevent depression. For example, a systematic review by Ayers et al. (2010) indicates that women who hold a more negative attitude towards menopause report more mental health-related symptoms during the menopause transition.

Data and Methods

Study Design and Sample

The need to prevent continued transmission of COVID-19 has precluded the use of traditional face-to-face surveys. Instead, given the wide availability of the mobile Internet in China, online surveys are safer and more feasible. As such, we conducted an anonymous, mobile Internet-based, cross-sectional survey entitled “Social Attitudes and Psychological Health during the COVID-19 Pandemic” between March 6, 2020, and March 12, 2020. This cross-sectional study was conducted in accordance with the STROBE (Strengthening the Reporting of Observational Studies in Epidemiology) statement. The online questionnaire was designed using WenJuan, a popular Internet survey platform in China (https://www.wenjuan.com/), and was completed voluntarily after clicking on a survey solicitation link. Using a snowballing sampling technique, our survey collected a total of 1951 respondents from all 31 mainland provinces/municipalities/autonomous regions. In this paper, we focus on respondents aged between 16 and 65 and exclude from the sample those who lacked responses for core variables (including depressive symptoms, happiness, quarantine experience, and attitudes towards COVID-19). As a result, 1849 observations remain after data cleaning.

Outcome Variables

In order to contribute to a multidimensional understanding of how quarantine impacts mental health, we measured both depressive symptoms and happiness. We measured depressive symptoms using a short form of the Center for Epidemiological Studies Depression (CES-D; Radloff (1977)) scale (CES-D-9) which has been developed and tested for use with Chinese people in health and well-being studies (e.g., Cheung et al. 2007; Xu et al. 2019). Shrout and Yager (1989) and Boey (1999) found that the sensitivity and specificity of the CES-D are not affected by using the shorter version.

The CES-D-9 used in this paper measures cognitive, emotional, and motivational aspects of depression, as discussed by Shek (1990). On a 5-point scale from “1 = never or rarely” to “5 = most or all the time,” respondents indicated how often they had experienced the following during the past week: (i) loss of appetite, (ii) emotional upset, (iii) hopelessness for the future, (iv) a feeling that life is meaningless, (v) poor sleep, (vi) inability to concentrate, (vii) sadness, (viii) fear, and (ix) difficulty doing daily activities. A composite indicator for depressive symptoms was then created by summing all responses, with a total score ranging from 9 to 45, where higher scores indicate more depressive symptoms. The CES-D-9 has been shown to have a high reliability in terms of internal consistency (Cronbach’s alpha = 0.91).

In order to measure individual happiness, we also included a question following Arampatzi et al. (2018), “All things considered, how happy are you with your life as a whole?” (responded to on a 10-point scale ranging from “1 = totally unhappy” to “10 = totally happy”). As shown in Figs. 1 and 2, the distribution of depression scores is skewed to the left with a long right tail, while the distribution of happiness is skewed slightly to the right.

Fig. 1
figure 1

Histogram of depressive symptoms, overlaid with kernel density (solid) and normal density (dashed) plots

Fig. 2
figure 2

Histogram of happiness, overlaid with kernel density (solid) and normal density (dashed) plots

Key Independent Variables

We employed three metrics to measure attitudes towards COVID-19. First, severity perception, referring to an individual’s perception of COVID-19 severity, is coded as 1 if the respondent believes that the negative impact of the pandemic on him/her will last for at least 3 months, and 0 otherwise. Second, credibility of real-time data captures whether an individual has a very high level of trust in the real-time updates of COVID-19 cases (1 = yes, 0 = otherwise). Third, pandemic control reflects an individual’s confidence in the control of COVID-19 (1 = very or fairly confident, 0 = otherwise).

Regarding quarantine experiences, we measured aspects of both micro- and macro-levels of quarantine. The former is home-based quarantine, captured by the question “How often did you go out during the COVID 19 outbreak?” and measured on a 4-point scale (1 = never, 2 = once or twice a week, 3 = three or four times a week, and 4 = everyday). For use in our analyses, we recoded responses to a dichotomous measure, with 1 if the respondent never went out, and 0 otherwise. The latter, labeled community-level quarantine, was also measured with a binary variable that equals 1 if the community/village where the respondent resides is blocked, 0 otherwise. Finally, since quarantine was also used as a control measure during the 2003 SARS outbreak in China, we assessed the effect of previous quarantine experience on current mental health. This variable was measured by asking the respondent if he or she experienced home quarantine during the 2003 SARS outbreak (1 = yes, 0 = otherwise).

Regression Covariates

For regression analyses, we included a set of covariates that are plausibly linked to mental health. Based on previous work (e.g., Binder and Coad 2011; Zhang et al. 2015), we controlled for gender (1 = male, 0 = female), age, self-reported health (1 = good, 0 = other), household registration type (hukou) (1 = rural, 0 = urban), education attainment (1 = primary school, 2 = junior middle school, 3 = senior middle school, 4 = college or above), household economic status (1 = poor family, 0 = other), marital status (1 = married, 0 = other), religiosity (1 = religious believer, 0 = other), COVID-19 confirmed cases among relatives/friends (1 = yes, 0 = no), food/water shortage (1 = yes, 0 = no), family contacts (1 = close contact with family members, 0 = other), perceived fairness (1 = high, 0 = other), and generalized trust (1 = high, 0 = other). Finally, provincial dummies were included to capture unobserved fixed effects at the provincial level.

Analysis Strategy

The predictors of mental health have been found to vary across different parts of the mental health distribution. For example, Binder and Coad (2011) found that the determinants of happiness vary across different quantiles of the happiness distribution. In our work, due to the non-normal distribution of dependent variables, the impact of quarantine and attitudinal factors may differ across the distributions of depressive symptoms and perceived happiness. As such, in addition to ordinary least squares (OLS) method, we also report estimates from quantile regressions (QR). The QR method, developed by Koenker and Bassett (1978), allows us to investigate how the effect of predictors changes across the distribution of mental health measures.

The quantile estimators are obtained by solving the following optimization problem:

$$ \underset{\beta \in {R}^k}{\mathit{\min}}\left[\sum \limits_{i\in \left\{i:{y}_i\ge {x}_i^{\prime}\beta \right\}}\theta \left|{y}_i-{x}_i^{\prime}\beta \right|+\sum \limits_{i\in \left\{i:{y}_i<{x}_i^{\prime}\beta \right\}}\left(1-\theta \right)\left|{y}_i-{x}_i^{\prime}\beta \right|\right] $$
(1)

For the θth quantile (0 < θ < 1), yi is psychological outcome (depressive symptoms or perceived happiness), and xi is a vector of explanatory variables including quarantine experiences, attitudes towards COVID-19, and other covariates.

Results

Descriptive Statistics and Pairwise Correlations

Table 1 provides an overview of the descriptive statistics. Female respondents accounted for 63% of our sample. The average age of the respondents was about 31 years old, and females were younger on average than males (30 versus 32, p < 0.01). Females were more likely than males to hold favorable attitudes towards COVID-19 as indicated by their severity perception (0.34 versus 0.43, p < 0.01) and confidence in pandemic control (0.92 versus 0.90, p < 0.05) responses. Interestingly, although males had more quarantine experiences than females during the 2003 SARS, females were more likely to be quarantined at home than males during the COVID-19 pandemic.

Table 1 Descriptive statistics

Although the gender difference in mean depression was not significant, the mean happiness score for females was significantly higher than that for males (7.78 versus 7.47, p < 0.01). To get a more complete picture of mental health during the COVID-19 pandemic, we also investigated several other types of emotions. As illustrated in Fig. 3, more than 58% of respondents reported anxiety, and 35%, 17.1%, and 16.6% reported panic, anger, and helplessness, respectively. Fewer participants reported numbness (9.6%) and desperation (3.7%). Finally, we found gender differences in the reported symptoms, with females more likely to report anxiety and panic, and males more likely to report feeling depressed and coerced.

Fig. 3
figure 3

The prevalence of negative emotions

Table 2 presents pairwise correlations between our main variables of interest. We found a significant negative correlation between depressive symptoms and happiness (r = − 0.32, p < 0.01), and all three attitudinal metrics were significantly correlated with depressive symptoms and happiness. Severity perception was positively correlated with depressive symptoms (r = 0.17, p < 0.01) and negatively correlated with happiness (r = − 0.11, p < 0.01). Similarly, depressive symptoms were negatively correlated with both credibility of real-time data (r = − 0.08, p < 0.01) and pandemic control (r = − 0.17, p < 0.01), while happiness was positively correlated with credibility of real-time data (r = 0.12, p < 0.01) and pandemic control (r = 0.18, p < 0.01). Regarding quarantine measures, SARS quarantine experience was positively correlated with depressive symptoms (r = 0.06, p < 0.05), while home quarantine was positively correlated with happiness (r = 0.05, p < 0.05). We next examined these correlational relationships in the context of multivariate regression, controlling for demographic and socioeconomic characteristics.

Table 2 Intercorrelations among main variables of interest

Multivariate Regression Analysis

Table 3 shows estimation results for the impact of quarantine and attitudes towards COVID-19 on depressive symptoms. We first examined the correlates of depressive symptoms based on the OLS regression (column 1). After controlling for other covariates, severity perception was associated with an increase in depressive symptoms, while pandemic control was negatively related to depressive symptoms. Regarding the impact of quarantine experiences, we found that home quarantine was associated with lower levels of depressive symptoms, while SARS quarantine experience was associated with increased levels of depressive symptoms. These findings suggest that in the short term, home quarantine could support mental health by reducing risk of infection, but in the long term, quarantine experiences may have a scarring effect on mental health.

Table 3 The OLS and QR estimates (dependent variable: depressive symptoms)

Columns 1–4 of Table 3 report the estimated effects for the 25th, 50th, and 75th quantiles of the distribution of depressive symptoms. The QR estimates suggest that the mean effect derived from the OLS estimates masks considerable heterogeneities (see Fig. 4). While the impact of severity perception was significant in all three quantiles, the effect rises nearly monotonically from 0.547 in the 25th quantile to 2.752 in the 75th quantile, indicating that people with more depressive symptoms were more strongly affected by their perception of COVID-19 severity. Although the impact of real-time data credibility is not significant in the OLS estimation, quantile regression analysis showed an effect in the 75th quantile. Conversely, while the effect of pandemic control was significant in the OLS estimation, the quantile examination revealed significant effects only in the quantiles of 0.50th and 0.75th (− 2.078 versus − 3.084). Overall, these results indicate that conditional on other covariates, those in the upper end of the distribution of depression scores benefit more from having favorable attitudes towards COVID-19. Similarly, the beneficial impact of home quarantine on reducing depression is stronger for people in the upper end of the distribution of depression scores.

Fig. 4
figure 4

Distributional effects on depressive symptoms

We next examined the impact of quarantine and attitudes towards COVID-19 on happiness (Table 4). In column 1, we found that severity perception was negatively related to happiness, while credibility of real-time data and pandemic control were positively related to happiness, underscoring the importance of favorable attitudes in promoting mental health. Additionally, while home quarantine was positively associated with happiness, community-level quarantine was negatively related to happiness.

Table 4 The OLS and QR estimates (dependent variable: happiness)

Columns 2–4 of Table 4 report the coefficients for QR estimates predicting happiness. Figure 5 provides additional details on these results by plotting the heterogeneous impacts of quarantine and attitudinal metrics. Three main findings are worth noting: First, the happiness of people at the lower end of the distribution of happiness scores was more affected by their perceptions of pandemic severity, while those with higher levels of happiness were more affected by their attitude to pandemic control. Second, the impact of community-level quarantine varies widely across the happiness distribution, changing from − 0.346 in the 25th quantile to − 0.022 in the 75th quantile, and was only significant at lower quantiles. Third, the effect of home quarantine was not significant at the bottom end of the happiness distribution, but was positive and significant at the median and upper parts of the distribution (50th = 0.159; 75th = 0.255). This finding suggests that happier people care more about the risk of infection and therefore benefit more from home quarantine.

Fig. 5
figure 5

Distributional effects on happiness

Finally, the examination of other covariates on depressive symptoms and happiness revealed two key findings: First, having close family contacts was positively related to happiness. Second, perceived fairness and generalized trust were positively related to happiness and negatively related to depression.

Discussion

Summary of Key Findings

In this paper, we explore how mental health is related to quarantine experiences and attitudes towards COVID-19 in China. We have provided a unique examination of the heterogeneity of these relationships across the distributions of depressive symptoms and happiness. As far as we are aware, ours is the first paper to examine how the impact of quarantine experiences and attitudes towards COVID-19 on mental health changes across the distribution of mental health measures.

Our findings support two main conclusions: First, favorable attitudes towards COVID-19 (including reduced severity perception, belief in the credibility of real-time updates, and increased confidence in pandemic control) are associated with reduced depressive symptoms and increased happiness. Our quantile regression analysis further demonstrated that although people with more depressive symptoms or lower levels of happiness are more affected by their beliefs about COVID-19 severity, those with milder depression or higher levels of happiness are more affected by the credibility of real-time updates and the pandemic control.

Second, we demonstrated that home quarantine during the COVID-19 pandemic is associated with decreased depressive symptoms and increased happiness, presumably because home quarantine reduces the risk of infection. Conversely, community-level quarantine has deleterious psychological impacts. This may be because community-level quarantine implies that local outbreak is severe or out of control, possibly fostering a climate of panic and feeling coerced. Additionally, community-level quarantine impacts people’s daily life more than home quarantine. Finally, home quarantine is more likely to be a rational choice for self-protection, which can reduce the fear of infection and thus help increase happiness.

It is also worth noting that our results underscored the importance of family support, perceived fairness, and generalized trust during the COVID-19 pandemic. Indeed, the seminal work by Shek and his collaborators has consistently emphasized the vital role of family support and relationships in affecting psychological outcomes in the Chinese context (e.g., Leung and Shek 2020; Shek 1998, 2005, 2008). For example, recent work by Shek et al. (2019) has shown that better parental-child relationship can help reduce the initial level of Internet addiction among Chinese adolescents. One possible explanation for the beneficial role of perceived fairness and generalized trust is that people living in a society with high levels of fairness and trust may have a strong sense of belonging (Knack and Keefer 1997), thereby leading to greater social cohesion and cooperation (Alesina et al. 2004), all of which may help them overcome the difficulties during the pandemic.

Policy Implications

Overall, our findings have important implications for improving the mental health of the public, especially during the COVID-19 pandemic: First, as Brooks et al. (2020) posited, quarantine can have lasting, widespread, and substantial psychological effects. Successful containment measures should take the psychological costs of quarantine into account. In response to public mental health concerns in China, the National Health Commission of China (2020) has issued guidelines to local authorities to promote psychological crisis intervention related to the COVID-19 outbreak. Additionally, many psychological counseling centers have set up special hotlines to provide psychological counseling services to those in need (Bao et al. 2020). Undoubtedly, these measures play a role in alleviating public psychological pressure. However, for a country like China, where social mobilization is easy to achieve and often effective, more detailed assessments of the impacts of macro-level segregation are needed because restricting the activities of individuals may not only cause inconveniences and be detrimental to the economy, but can have negative impacts on mental health.

Second, the rapid and real-time dissemination of authoritative pandemic information is crucial to alleviating negative public sentiment. A lack of authoritative information could lead the public to ignore the epidemic, exacerbating the outbreak and increasing follow-up costs (Gong et al. 2020). As Harari (2020) has recently emphasized: “A self-motivated and well-informed population is usually far more powerful and effective than a policed, ignorant population.” In addition, given the importance of social cohesion and trust, close cooperation among governments at all levels should be strengthened to reduce stigma and employment discrimination against migrants resulting from quarantine or lockdown.

Limitations and Future Research Directions

Several limitations of this paper warrant discussion. First, while quantile regression allows us to capture the heterogeneous associations between explanatory variables and mental health, we employed a cross-sectional design, making it difficult to rule out potential endogeneity issues (especially reverse causality) and determine the causal impact of quarantine experiences and attitudes towards COVID-19 on mental health. For example, although it is unlikely that depressive symptoms or happiness will affect the status of community-level quarantine, people in good mental health could be more likely to remain optimistic and choose to be home quarantined during a pandemic, thereby leading to the issue of reverse causality. This possibility is partially supported by Sun and Shek (2010) and Diener and Chan (2011). The former study found that adolescents with higher levels of subjective well-being were less likely to have problem behaviors, while the latter argued that good mental health was related to protective psychosocial and behavioral metrics such as optimism, adaptive coping responses, and healthy behaviors.

Second, although we were able to tap into the long-term impact of quarantine by using SARS quarantine experience as a predictor of current mental health, our examination of the scarring effect of the SARS quarantine experience is preliminary and does not necessarily indicate a long-term impact of COVID-19 quarantine, given the different characteristics of these epidemic outbreaks. For instance, individuals may be more tolerant of quarantine or isolation during the COVID-19 than the SARS outbreak, because the rapid development of the Internet and online communication has facilitated social connections and also provided new forms of entertainment during the current pandemic. As a final limitation, while we believe that Internet surveys have the advantage over face-to-face surveys of being conducted in private, which may help reduce social desirability biases, our mobile Internet-based survey may generate skewed data due to sample selection issues (Heckman 1979). In particular, our respondents may over-represent the views of young netizens and well-educated groups, limiting the generalizability of our findings.

Despite these limitations, our work is among the first to provide a glimpse into the psychological impact of the COVID-19 pandemic. Future studies can enrich and expand this research by using longitudinal or experimental research designs to establish causal links between quarantine experiences and mental health. In particular, fixed effects quantile regression based on longitudinal data would be an appropriate tool to test the relationship between quarantine and mental health: by eliminating fixed effects that are constant over time, different individuals could be “homogenized” and thus more comparable (Binder and Coad 2011). Moreover, exploring the moderating role of societal attitudes (e.g., social and institutional trust, fairness perception, and perceived discrimination) and the mediating role of channel variables (e.g., financial burden and social stigma) may deepen our understanding of how quarantine affects mental health.

Conclusions

The outbreak of COVID-19 poses a major challenge to the normal functioning of societies and human health. Despite ample evidence on the psychological consequences of quarantine, virtually, no empirical studies have explored this topic in the context of the COVID-19 pandemic. Moreover, little is known about how attitudes towards the epidemics affect mental health. The present study suggests that home-based quarantine and optimistic attitudes are associated with decreased depression and increased happiness, and that this relationship varies across the distribution of mental health scores. In the future, research designs that allow for causal inference and mediation analysis will help specify the impact of quarantine on mental health.