Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Social sentiment segregation: Evidence from Twitter and Google Trends in Chile during the COVID-19 dynamic quarantine strategy

  • Fernando Díaz ,

    Contributed equally to this work with: Fernando Díaz, Pablo A. Henríquez

    Roles Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Visualization, Writing – original draft, Writing – review & editing

    Affiliations Departamento de Administración, Facultad de Economía y Empresa, Universidad Diego Portales, Santiago, Chile, Centro de Investigación Empírica en Negocios, Facultad de Economía y Empresa, Universidad Diego Portales, Santiago, Chile

  • Pablo A. Henríquez

    Contributed equally to this work with: Fernando Díaz, Pablo A. Henríquez

    Roles Conceptualization, Formal analysis, Investigation, Methodology, Visualization, Writing – original draft, Writing – review & editing

    pablo.henriquez@udp.cl

    Affiliations Departamento de Administración, Facultad de Economía y Empresa, Universidad Diego Portales, Santiago, Chile, Centro de Investigación Empírica en Negocios, Facultad de Economía y Empresa, Universidad Diego Portales, Santiago, Chile

Abstract

The Chilean health authorities have implemented a sanitary strategy known as dynamic quarantine or strategic quarantine to cope with the COVID-19 pandemic. Under this system, lockdowns were established, lifted, or prolonged according to the weekly health authorities’ assessment of municipalities’ epidemiological situation. The public announcements about the confinement situation of municipalities country-wide are made typically on Tuesdays or Wednesdays before noon, have received extensive media coverage, and generated sharp stock market fluctuations. Municipalities are the smallest administrative division in Chile, with each city broken down typically into several municipalities. We analyze social media behavior in response to the confinement situation of the population at the municipal level. The dynamic quarantine scheme offers a unique opportunity for our analysis, given that municipalities display a high degree of heterogeneity, both in size and in the socioeconomic status of their population. We exploit the variability over time in municipalities’ confinement situations, resulting from the dynamic quarantine strategy, and the cross-sectional variability in their socioeconomic characteristics to evaluate the impact of these characteristics on social sentiment. Using event study and panel data methods, we find that proxies for social sentiment based on Twitter queries are negatively related (more pessimistic) to increases in the number of confined people, but with a statistically significant effect concentrated on people from the wealthiest cohorts of the population. For indicators of social sentiment based on Google Trends, we found that search intensity during the periods surrounding government announcements is positively related to increases in the total number of confined people. Still, this effect does not seem to be dependent on the segments of the population affected by the quarantine. Furthermore, we show that the observed heterogeneity in sentiment mirrors heterogeneity in stock market reactions to government announcements. We provide evidence that the observed stock market behavior around quarantine announcements can be explained by the number of people from the wealthiest segments of the population entering or exiting lockdown.

1 Introduction

The COVID-19 pandemic that began in Wuhan, China, in December 2019 [1] rapidly spread to the rest of the globe during 2020, reaching unprecedented proportions. As of 17 March 2021, 119,960,700 cases have been confirmed, 2,656,822 deaths and 326,858,656 vaccine doses have been administered [2]. COVID-19 has become an epidemiological and economic global crisis. [3].

The Chilean government declared a state of health emergency on Feb 8th, nearly a month before March 3rd when the first case of coronavirus was detected in Chile [4]. In spite of this early government response to the pandemic, the economic and social effects of the global crisis have been severe. On Monday, March 16th, the Selective Stock Price Index of the Santiago Stock Exchange (IPSA), which comprises the 40 most heavily traded stocks, plunged by 14.11% reaching 3,232 points after the government announced the closing of the borders in order to curb the expansion of the coronavirus. At the same time, the General Stock Price Index (IGPA) fell from 18,896 points to 16,454 points, an almost 13% drop in value (https://www.bolsadesantiago.com). A decrease in the employment rate of around 20% towards the end of 2020 resulted in an increase in the unemployment rate and a noticeable drop in the country’s workforce (https://www.ine.cl). As of December 2020, one third of the total workforce was unemployed. Around 70% of those workers had their work contracts on hold. Formal and informal employment figures also declined, the fall mainly affecting women. There was a vast increase in personal debts affecting households as well as small businesses, which resulted in many of them closing down. As of late March 2021, the number of people diagnosed with the disease reached almost one million, with a total of approximately 23,000 deaths.

In this context of high uncertainty and fear about the sanitary crisis’s consequences, social media has played a key role in the contagion and transmission of information about the pandemic. The amount of information disseminated through social networks has reached levels rarely seen before. Kumar et al [5] report how Twitter has emerged as a critical tool for communicating the effects of this crisis and report that during its early stages, there was a COVID-19-related tweet every 45 ms. According to these authors, “A social media pandemic has preceded the disease pandemic, stirring a diversified spectrum of emotions”. Mavragani and Gkillas [6] analyze the role of Google query data in the predictability of COVID-19 and show evidence for a significant correlation between Google Trends and COVID-19 data in the United States.

The Chilean health authorities implemented a sanitary strategy known as a dynamic quarantine or strategic quarantine to cope with the COVID-19 pandemic. Under this system, lockdowns are implemented every week in some municipalities and lifted from others, according to the health authorities’ assessment of their epidemiological situation [7]. The decisions are made considering different factors, including the number of new cases in a given municipality, the size of its elderly population, and the access of its inhabitants to health care. The corresponding public announcements, typically made on Tuesdays or Wednesdays before noon, receive extensive media coverage and produce large fluctuations in the stock market.

The primary aim of this paper is the analysis of social media behavior in response to the measures taken by the Chilean government regarding lockdowns. The dynamic quarantine scheme constitutes a unique opportunity to assess the impact of confinement on social sentiment. Given that municipalities differ in size as well as socioeconomic status of their population, as they alternate between being or not being in lockdown, it is possible to assess the impact of these characteristics on social sentiment. By classifying the population according to the socioeconomic status (SES) of the municipalities in which they live, we provide evidence of heterogeneity in the responses of social sentiment to the lockdown announcements. Furthermore, we document that the observed heterogeneity in sentiment responses mirrors heterogeneity in stock market reactions to government announcements. We find statistically significant stock market reactions to lockdown announcements, whose magnitude and signs are related to the number of people affected by such announcements and with their economic significance largely being concentrated in the country’s wealthiest population. This result is important for our analysis, because it validates the SES based segmentation we entertain in our sentiment analysis.

For social media analysis, we resort to Twitter queries to compute a sentiment index [810] as well as Google Trends to compute a search index intensity of specific words related to the pandemic [11, 12]. We find that our Twitter-based sentiment proxy is negatively related (more pessimistic) to increases in the number of people under lockdown, but with a statistically significant effect only for changes in the numbers under lockdown from the wealthiest cohorts of the population. This suggests the existence of socioeconomic segregation among users of this platform. Concerning Google searches, we find that search intensity during periods surrounding government announcements is positively related to changes in the total number of people under lockdown, with little or no evidence of socioeconomic segregation.

We contribute to the existing literature in several ways. Firstly, we provide evidence that the observed heterogeneity in Twitter-based sentiment responses is closely related to the SES of the population under lockdown, with a discernible effect concentrated in the wealthiest cohorts. This is an important issue both for academic research and policymakers. If observable social sentiment variables are used to assess the impact of policy measures on the overall well-being of the population, it is possible that the observed effects reflect the feelings of only part of the population towards those measures. There are only a few papers that have investigated the causal effect between lockdowns and overall population well-being [1315]. However, to the best of our knowledge, we are the first to take advantage of the heterogeneity on social sentiment resulting from dynamic quarantines. Furthermore, our empirical setup constitutes a novel approach that allows extracting the socioeconomic status of users of social network platforms [16]. Secondly, and from a methodological point of view, the high degree of intracity socioeconomic segregation that the country exhibits, together with the characteristics of the dynamic quarantine scheme, allows us to investigate the effects of the quarantine announcements on market sentiment at the smallest administrative level in Chile, which allows for the construction of better counterfactuals for our analyses [4]. Finally, to validate our socioeconomic sorting criterion, we relate stock market reactions to the size and socioeconomic characteristics of the population under lockdown. We find that government announcements produce significant stock market reactions, but only when the wealthiest municipalities are involved in such announcements.

The rest of the paper is structured as follows. The next section contains a brief review of related literature. Section 3 describes our data and research methods. Section 4 presents our main results. The paper concludes in section 5.

2 Literature review

The extant literature provides extensive evidence of the relationship among stock price and economic variables behavior, market-wide sentiment, and people’s interactions in social media. Table 1 presents a tabular format of some of the recent papers on sentiment analysis. In a seminal paper, Baker and Wurgler [17] show that investor sentiment has discernible and regular effects on individual firms and the stock market as a whole. Bijil et al [18] find evidence that Google search volumes can predict stock returns, with high search volumes leading to negative returns. Azar an Lo [19] argue that the content of tweets related to the Federal Open Market Committee meetings in the US can be used to predict future returns. Broadstock and Zhang [20] use Twitter messages to construct sentiment measures and show that such measures carry pricing power against the stock market. Preis et al [21] analyze changes in finance-related Google Trend query volumes and find evidence that these changes might be able to anticipate future trend patterns. Gu [22] find that Twitter sentiment predicts stock returns without subsequent reversals and argue that this finding provides evidence consistent with the view that Twitter messages contain information not reflected in stock prices.

thumbnail
Table 1. Summary of methods applied in related literature.

https://doi.org/10.1371/journal.pone.0254638.t001

Concerning market volatility, Hamid and Heiden [23] forecast volatility in stock markets using Google search frequency as a measure of investor attention, finding that prediction accuracy increases together with investor attention during highly volatile periods. Audrino and Ballinari [24] find that sentiment and attention variables have significant predictive power for stock market volatility. Kim et al [25] find that increased Google searches predict increased volatility and trading volume.

The COVID-19 pandemic has been a fertile ground for analyzing the relationship between economic and financial variables and social sentiment. Lyócsa et al [11] show that fear of coronavirus, proxied by excess Google search volumes, predicts price variation during the pandemic stock market crash. van der Wielen and Barrios [26] present evidence from country-specific internet searches of a substantial change for the worse in people’s economic sentiment in the months following the coronavirus outbreak. Lyócsa and Molnár [12] use a nonlinear autoregressive model to analyze stock price autocorrelation in the SP500 index. The transition variables are the abnormal Google searches related to COVID-19, and the market realized volatility. They find that the autocorrelation of market returns increased in magnitude and remained negative in periods of extreme market volatility and when attention to COVID-19 increased.

More closely related to our work, Greyling et al [13] find that the lockdowns in South Africa have had a significant and negative impact on people’s happiness. Greyling et al [14] analyze the causal effect of mandatory lockdowns on happiness in South Africa, New Zealand, and Australia and find that lockdowns negatively affect happiness. Brodeur et al [15] analyze whether the lockdowns implemented in Europe and America led to changes in population well-being. The authors suggest that people’s mental health may have been severely affected by the lockdown.

Finally, and related to the literature on the socioeconomic status inference of social media hidden user characteristics, which is one of the most active information retrieval fields, the following references are worth mentioning. Ai et al [27] evaluate the inference accuracy gained on latent attribute inference models by augmenting the user characteristics with features derived from the Twitter profiles and postings of friends. Filho et al [28] propose a method to automatically generate a user social class, taking advantage of Foursquare user interactions and Twitter messages. Volokova et al [29] propose an approach to predict latent personal attributes, including user demographics, online personality, emotions, and sentiments from texts published on Twitter.

3 Methods

3.1 Data

All the databases were constructed for the sample period between January and August 2020. All the data were collected according to the Terms of Use and Service of the source websites and are made available in (S1 File).

3.2 Lockdowns and population SES

There are two distinct stages in the pandemic strategy of the Chilean government. In the first stage, corresponding to the period between March 24 and July 20, the government imposed complete lockdowns in different municipalities according to their pandemic situation. In the second stage, with the so-called step by step plan announced on July 19th, the government changed its strategy to ease the complete lockdowns imposed up to that point. The plan is a gradual pandemic strategy according to each area’s health situation, but with five stages or incremental steps, ranging from Quarantine, a step equivalent in stringency to the previous stage lockdowns, to Advanced Opening.

We restrict our attention to the first stage, in which the health authorities made a total of 25 weekly announcements about what municipalities nationwide could be under lockdown during the following week, available at https://www.minsal.cl/. We consider the confinement situations of all municipalities, with a population larger than 13,000 people. This sample covers 120 municipalities, approximately 14,500,000 people, which represents 83% of the country’s total population. We obtain the municipalities’ populations from the 2017 census reported by the National Statistics Institute (Instituto Nacional de Estadísticas, INE), available at https://www.ine.cl/. As a proxy for the SES of the population, we resort to the Multidimensional Poverty Index (MPI) reported by the Ministry of Social Development (Ministerio de Desarrollo Social) in the CASEN 2017 survey, available at http://observatorio.ministeriodesarrollosocial.gob.cl. The MPI is an international measure of acute multidimensional poverty. It complements traditional monetary poverty measures by capturing the acute deprivations in health, education, and living standards that a person faces simultaneously. For each week in our sample period, and according to the government’s announcements about the municipalities that will be under lockdown, we obtain the approximate total number of people that will be under lockdown until the next announcement, considering the population of the municipalities entering and leaving quarantine. To get the number of people from the wealthiest population that are in lockdown each week, we proceed as follows. We sort the 120 municipalities in our sample according to their MPI. Starting from the wealthiest municipality, i.e. the one with the lowest MPI, we add municipalities until we accumulate approximately 12% of the total population of the country, a percentage that corresponds to the proportion of people belonging to the ABC1 socioeconomic segment for 2018, according to the Association of Market Researchers and Public Opinion of Chile (Asociación de Investigadores de Mercado y Opinión Pública de Chile, AIM, https://www.aimchile.cl/). We end up with 15 municipalities that we consider include the country’s wealthiest population, comprising 2,136,062 inhabitants.

Since lockdowns affect all the inhabitants of a given municipality, it should be noted that to obtain the approximate number of people from a given SES that is confined upon government announcements, we assume that the whole population of that municipality belongs to the same segment, disregarding the SES heterogeneity that their inhabitants naturally have. However, a quick look at Table 2 reveals that wealthy municipalities exhibit a much lower variability in the MPI of their inhabitants than non-wealthy ones, where variability is defined as the range of the poverty index for a given municipality. In this sense, since wealthy municipalities are far less heterogeneous, identifying the wealthiest population through the municipality they reside in does not seem particularly troublesome.

In S1 Table, we present a list of the municipalities included and their population, sorted according to the MPI.

3.3 Stock market reactions

We resort to standard tools in the event study methodology to assess the impact of lockdown announcements on the stock market [3436]. Daily data on stock market indexes used in the analysis- IPGA, IPSA, S&P500, Dow Jones Industrial—were downloaded from investing.com. Fig 1 shows the evolution of the IGPA index and its volatility throughout our sample period. Like most stock markets globally, the Chilean index has experienced sharp swings during the pandemic and exhibits historically high levels of volatility.

thumbnail
Fig 1. IGPA index and its volatility.

Chilean market and volatility from March 2020 to end of July 2020. Following Chou et al [37], the volatility estimator of the IGPA index is computed as , where High and Low corresponds to the highest and lowest observed level of the index on any given day.

https://doi.org/10.1371/journal.pone.0254638.g001

We consider the 25 government lockdown announcements made from March 24 to July 20, the period previous to the so-called Step by Step Program implemented by the government in late July. We compute abnormal returns for the IGPA and IPSA indexes by deducting expected returns, predicted by the Market Model, from actual returns of the corresponding index. We use both the S&P 500 index and the Dow Jones Industrial index as benchmark portfolios. The estimation window for the market model ranges from January 1st, 2020, to February 15th, 2020. The end date of the estimation window was chosen so that the pandemic’s early consequences on security prices did not influence the expected return estimates.

The market model estimation is performed by a simple OLS regression of the form, (1) where i denotes the specific domestic index being considered, Rm denotes the return of the benchmark portfolio, t is time, and ϵi, t is an error term with expectation zero, finite variance and uncorrelated to the return of the benchmark portfolio. We tried different expected returns models. As expected, and given the short time horizon of our analysis, our results are qualitatively unchanged [38].

Abnormal returns are then computed as, (2) where and are the OLS estimates of Eq (1).

Since government announcements were made almost weekly, we considered short windows around announcement days for our analysis, so that the estimated effect of one announcement is not influenced by the effect of the previous announcement nor does it influence the effect of the next announcement on stock prices. As pointed out by Kothari and Warner [38], short-horizon methods are quite reliable. Given that the government announcements are typically made before noon, market reactions on the same day of the announcements are particularly relevant. We therefore consider two event windows. The first one is the (−1, 0) window, which includes the day before the announcement, −1, and the same day of the announcement, 0. The second one is the (−1, +1) window commonly used in short horizon event studies, which further includes the day after the announcement, +1. Individual abnormal returns at day t are added up inside the corresponding event window to compute cumulative abnormal returns for that window, (3)

To test the null hypothesis that the mean abnormal performance equals zero for a specific announcement, the standard approach is to compute the following test statistic, (4) where σ2(t1, t2)) = 2(ARt), σ2(ARt) is the variance of the one-day abnormal return and L = t2t1 is the length of the event window. This test statistic is typically assumed unit normal in the absence of abnormal performance [39].

We then relate the observed stock market reactions to the number of people being quarantined and their socioeconomic characteristics. We use the statistic in Eq 3 as the dependent variables in a regression set up in which the independent variables are different cohorts of the population under lockdown based on their socioeconomic characteristics: (5) where ΔPopulationj,t is the change in the number of people from cohort j confined at the announcement made at time t.

3.4 Market sentiment

Our first sentiment proxy is based on Twitter queries. We collect data for non-protected users using the API provided by Twitter. As part of the data gathering process, all potentially relevant tweets, filtered using the hashtags #COVID2019chile and #CoronaVirusEnChile, were searched and extracted from Twitter using the twitteR package. The final dataset contains a collection of 1,214,564 tweets related to COVID-19 in Chile during our sample period. The raw data, having polarity, is highly susceptible to inconsistency and redundancy. Pre-processing of the tweets includes the removal of all URLs, punctuation, numbers, and other like symbols. After the pre-processing stage, each tweet is then labeled as positive or negative, based on a list of approximately 700 English positive and negative opinion related words or sentiment related words that we translate into Spanish from Hu and Liu [10]. We then assess the sentiment polarity of each tweet using a Sentiment Score, which determines the direction of the sentiment as well as its strength [40, 41]. (6) where positive (negative) represents the positive (negative) words count. Accordingly, the Sentiment Score falls into the range [−1, s1]. Since the Sentiment Score ranges from −1 to 1, we first compute a Normalized Sentiment Score, (NSS), by scaling data using a Min-Max normalization: (7)

The NSS ranges from 0 to 1. Our goal is to compute an Abnormal Sentiment Activity index susceptible to be tested for statistical significance around quarantine announcement days. To this end, we follow Da et al [42] and define an Abnormal Sentiment Activity in day t as: (8) where ln denotes natural logarithm. ASAt can be considered the change between the current normalized sentiment score, NSSt, and the median (med) of such measure over the previous five trading days. The use of five days instead of the previous day to compute the abnormal sentiment activity is used address the potential noisiness of daily market sentiment measures, as proposed by [11, 12]. Furthermore, the choice of five days allows us to compute a normal sentiment level that should not be affected by previous government announcements, since such announcements are typically made six or seven days apart. The evolution of the Sentiment Score, the Normalized Sentiment Score and the Abnormal Sentiment Activity index for our sample period is shown in Fig 2. For a better visualization, in Fig 2A, we show the most negative point, resulting from the announcement on May 13th of the complete lockdown of the whole Metropolitan area of Santiago, in a subplot.

thumbnail
Fig 2. Time series of sentiment of Twitter related to COVID-19.

A) Abnormal Sentiment Activity, B) Sentiment score is normalized between 0 and 1. Regarding the normalization of the Sentiment Score, values close to 0 indicate strong negative sentiment while values close to 1 indicate positive sentiment. C) Sentiment Score into the range [−1, 1].

https://doi.org/10.1371/journal.pone.0254638.g002

Our second sentiment measure is based on Google Trends. As described in Nagoa et al [43], Google Trends (GT) is a service that outputs the time series data of search intensity to show the extent to which a particular keyword is searched for in a specified period and location. The intensity is measured in a scale that ranges from 0 to 100, where the value of 100 indicates the peak of popularity (100% of popularity in given period and location) and 0 (complete disinterest). GT may qualify analyzed phrases as either search term or topic. Search terms are literally typed words, while topics may be proposed by GT when the tool recognizes phrases related to popular queries.

We retrieve data on the search volume intensity of the following 19 terms that are specifically related to the virus outbreak and subsequent policy interventions: corona, OMS (WHO), virus, COVID-19, SARS, MERS, epidemia (epidemic), pandemia (pandemic), síntoma (symptom), infectado (infected), propagación (spread), brote (outbreak), distanciamento social (social distancing), restricción (restriction), cuarentena (quarantine), suspender (suspend), viajar (travel), encierro (lockdown) and mascarilla (face mask). We specify the region as CL (Chile).

We aggregate search intensity across terms mentioned above by taking the average across all individual indices for each day t. The result is the Average Search Volume Intensity index, ASVIt. The higher the value of the ASVIt on a given day t, the higher the population’s attention to the outbreak of Coronavirus on that day. To study how changing patterns in search activity are related to market uncertainty, we follow the work of Da et al [42] and calculate the Abnormal Search Volume Activity, ASVAt: (9) where ln denotes natural logarithm. ASVAt can be interpreted as the change between the current search volume intensity ASVIt and the median (med) over the previous five trading days. The use of five days instead of the previous day to compute the search in volume activity is motivated by the potential noisiness of search volume intensities, as proposed by [11, 12]. The evolution of the ASVIt and the ASVAt series for the period between January and August, 2020, is shown in Fig 3.

thumbnail
Fig 3. The evolution of the ASVAt and the ASVIt series.

A) Abnormal Search Volume Activity and B) Average Search Volume Intensity. Data obtained using gtrendsR R package. Values below 1, denoted as “< 1”, are replaced by 0.

https://doi.org/10.1371/journal.pone.0254638.g003

Having obtained our two market abnormal sentiment proxies for each day t in our sample, ASAt and ASVAt, we consider two alternative empirical approaches to analyze the effect of lockdown announcements on market sentiment.

3.5 Event study methods for sentiment analysis

As a first approach, and analogously to the standard practice in the event study methodology for stock returns, we add up the abnormal sentiments indexes, ASAt and ASVAt, defined in Eqs 8 and 9, respectively, inside the event windows for each of the 25 lockdown announcements in our sample to compute cumulative abnormal sentiment-related variables. One advantage of this approach is that it allows us to test directly whether such announcements produce a statistically significant effect on social sentiment. For our Twitter based sentiment index, we define a Cumulative Abnormal Sentiment Activity statistic, CASA: (10) and we test its statistical significance using the following statistic, (11) where σ2(t1, t2)) = 2(ASAt), σ2(ASAt) is the variance of the one-day abnormal sentiment activity, and L = t2t1 is the length of the event window. To assess the impact of government lockdown announcements on the search volume intensity, we compute a Cumulative Abnormal Search Volume Activity, CASVA: (12)

To test for significance, we use the following statistic, (13) where σ2(t1, t2)) = 2(ASVAt), σ2(ASVAt) is the variance of the one-day abnormal search volume activity and L = t2t1 is the length of the event window.

Analogous to what we do with cumulative abnormal returns for the stock market, we use the statistics in Eqs 10 and 12 as dependent variables in a regression setup in which the independent variables are different cohorts of the population based on the socioeconomic characteristics of the municipalities under lockdown at a specific announcement made at time t: (14) (15) where CASAt (CASVAt) is the Cumulative Abnormal Sentiment Activity (Cumulative Abnormal Search Volume Activity) statistic for the quarantine announcement made at time t, ΔPopulationj,t is the change in the number of people from cohort “j” confined at the announcement made at time t, and xt is a vector of controls related to stock market performance and country-wide pandemic conditions.

3.6 Panel methods for sentiment analysis: A DiD “like” estimator

As a second approach, to take advantage of the panel structure of our data in which municipalities with different socioeconomic characteristics enter and exit lockdowns periodically, a natural way to proceed is to consider a Difference in Difference (DiD) methodology to analyze the effect of lockdowns on social sentiment [4448]. Following the approach in recent literature [42], we consider the ASAt and ASVAt indexes as our outcomes of interest.

Given the nature of the dynamic quarantine scheme, we have different treatment timings for different municipalities, a setup that is sometimes referred to as a staggered DiD model [49, 50]. It should be noted that the standard DiD estimator, defined as the difference in average outcome in the treatment group, before and after treatment, minus the difference in average outcome in the control group, before and after treatment, is not feasible in our case. We observe our outcome of interest for the population as a whole, without distinction of socioeconomic status. In other words, for each day t in our sample period, we observe a single value of either ASAt or ASVAt.

Despite the fact that we observe a unique value of the sentiment indexes for both the treatment and control groups, it is still possible to compute an estimator in the spirit of a DiD estimator. To see this, let yt be the observable outcome, common to both groups. Consider the kth government announcement made at day tk and the event window , centered around that announcement day. Let Qt be an indicator variable that takes the value of 1 if , and zero otherwise; i.e., Qt indexes all calendar days t that fall within an event window around a government announcement. Let Iik be an indicator variable with the value of 1 if municipality i is announced to go into lockdown at government announcement k, and zero otherwise. Consider the indicator variable defined as follows; (16)

Accordingly, variable takes a value of 1 for calendar days that are j days apart from tk and belong to the event window centered around tk, for all municipalities i that were locked down at the corresponding announcement. Let Wi be an indicator variable that takes the value of 1 if municipality i is wealthy and zero otherwise and consider the following specification: (17)

The parameters βl are similar to the standard DiD estimators, but they consider only time variation in the outcome of interest. They correspond to the average difference in yt between the effects of being or not being under lockdown, for wealthy versus non-wealthy municipalities, l days before (if l < 0) or after (if l > 0) a quarantine announcement.

In Fig 4 we show diagrammatically the workflow diagram of our proposed methodology, from the data gathering process and variable creations to the formal empirical models.

thumbnail
Fig 4. Workflow diagram of the proposed empirical methodology.

https://doi.org/10.1371/journal.pone.0254638.g004

4 Results

4.1 Stock market reactions and sentiment responses to lockdown announcements

In columns (1) and (2) in Table 3, we report the stock market reactions to each of the government announcements relating to the dynamic quarantine scheme. In column (1), we report the IGPA index cumulative abnormal returns (CAR) for the (−1, 0) window. In column (2) we report the observed CARs for the (−1, +1) window. Since our results are qualitatively unchanged using any of the domestic indexes and either choice of the benchmark portfolio, we only report our results for the IGPA index using the S&P500 as the benchmark portfolio. In columns (3) and (4) we report the Cumulative Abnormal Sentiment Activity for both event windows, and in columns (5) and (6) we present the observed Cumulative Abnormal Search Volume Activity upon lockdown announcements.

thumbnail
Table 3. Stock market reactions and sentiment reactions to government quarantine announcements.

https://doi.org/10.1371/journal.pone.0254638.t003

For both event windows and for any of the stock or market sentiment variables considered, we observe positive and negative abnormal reactions. This situation is most likely to arise from the fact that each lockdown announcement involves some municipalities going into lockdown and others going out of it. We hypothesize that the observed heterogeneity in stock market and sentiment reactions reflects the number of people going into lockdown and their SES.

In Fig 5 we present a heat map for the correlation between the IGPA index, the Sentiment Score and the Average Search Volume Index—ASVI- series for our sample period. It is possible to observe a strong and negative correlation between the levels of the IGPA and the ASVI series, which suggests that during periods of high stock market valuation, markets concerns about the development of the pandemic are dimmed. Concerning the correlations between the stock index and the sentiment score and between this last variable and the ASVI, correlations are very low and statistically insignificant at any standard level of significance.

thumbnail
Fig 5. Overview of correlations visualized in a correlation matrix for the IGPA index, sentiment score and ASVI.

p—value was set at 0.1 and x marks all bivariate correlations that were not significant.

https://doi.org/10.1371/journal.pone.0254638.g005

In Figs 6 and 7, we present heat maps for the correlation between the IGPA CAR, the CASA and the CASVA reported in Table 3. For both event windows, we observe significant and negative correlations between our sentiment proxies. As expected, since these measures tend to move in opposite directions in response to good or bad news, an increase (decrease) in the abnormal search activity is associated with a more pessimistic (optimistic) sentiment during the windows centered around lockdown announcements. The correlation between the abnormal stock returns and the sentiment proxies is low and statistically insignificant for either window. Interestingly, this result is consistent with the results in Kim et al [25]. These authors show that Google searches are not correlated with contemporary stock returns, nor can they predict future abnormal returns.

thumbnail
Fig 6. Overview of correlations visualized in a correlation matrix for the (−1, 0).

p—value was set at 0.1 and x marks all bivariate correlations that were not significant.

https://doi.org/10.1371/journal.pone.0254638.g006

thumbnail
Fig 7. Overview of correlations visualized in a correlation matrix for the (−1, +1).

p—value was set at 0.1 and x marks all bivariate correlations that were not significant.

https://doi.org/10.1371/journal.pone.0254638.g007

4.2 Stock market reactions and SES

Regarding stock market reactions to lockdown announcements, we estimate Eq 5 for each of the government announcements in Table 3. For discussion and analysis, we consider particularly relevant the population belonging to the ABC1 segment when comparing the results between the wealthiest and total population. In any case, to show that our results are not driven by the selection of an arbitrary cohort of the population, we consider six cohorts based on the MPI sorting for the change in confined population (ΔPopulationi,t). Results are presented in panel A of Table 4. The first cohort is the population belonging to the five municipalities featuring the lowest MPI, i.e., the wealthiest municipalities of the country according to this sorting, comprising 4.68% of the population. The second cohort corresponds to the population belonging to the top ten municipalities according to the MPI sorting, with 9.57% of the population. The rest of the cohorts are defined likewise, except the last one, that corresponds to the whole population. The third cohort comprises 12.76% of the richest population, a figure that roughly corresponds to the ABC1 socioeconomic segment of the country.

thumbnail
Table 4. Market returns vs. changes in quarantined population (Population in millions).

https://doi.org/10.1371/journal.pone.0254638.t004

Each column in Table 4 presents the results for the estimation of Eq 5 for a specific cohort. The first six columns of the table report the results for the (−1, 0) window; the last six columns show the results obtained for the (−1, +1) window. In the analysis that follows, we resort to the Cribari-Neto HC4 heteroskedasticity-consistent covariance matrix estimators for making inferences. Cribari-Neto [51] shows that this estimator performs well in small samples, especially in the presence of influential observations.

For both event windows, we obtain a monotonically decreasing magnitude of market reactions upon announcements as we move from the wealthiest municipalities to the whole population. For the (−1, 0) window in column (1), an increase of one million people in the wealthiest segment of the population under lockdown produces a more negative CAR by close to 800 basis points. This effect is statistically significant and economically meaningful. In column (3), an increase of one million people in the ABC1 segment under lockdown, produces a more negative CAR in the (−1, 0) window by close to 450 basis points, significant at the 10% level and achieving an R2 coefficient near to 0.24. When we consider the population belonging to the municipalities in the highest wealth quintile in column (5), i.e., the first 24 wealthiest municipalities out of the 120 considered in our sample, the effect on CARs drops to nearly half of what we obtained in column (1), but remains both economically and statistically significant at a 5% level, with an R2 close to 0.2. For the changes in the total population under lockdown in column (6), the effect on stock market reactions declines even further and becomes statistically insignificant. Furthermore, R2 declines drastically.

For the (−1, +1) window in columns (7) to (12), the market reactions are smaller in magnitude than for the (−1, 0) window, with lower R2 coefficients. However, estimates remain significantly different from zero for the wealthiest municipalities. Again, the effect vanishes when changes in total population are considered. The higher fits and the higher point estimates observed for the (−1, 0) are consistent with the timing of the announcements, which are typically made before noon, and with market reactions taking place on that same day. In any case, the monotonically decreasing market reactions upon government announcements for the (−1, +1) window are still observed as we move from the wealthiest municipalities to the whole population.

The results presented in panel A of Table 4 are obtained for a sorting of the population based on the MPI of the corresponding municipalities. As a robustness check, we consider an alternative sorting, based on Municipal Income, available at https://observatoriofiscal.cl/Informate/Repo/BrechasentreMunicipios. Municipal income includes all sources of financing available to municipalities; collection of business licenses, income from land and property taxes, payment of road taxes, fines collected by the municipality, as well as transfers from the Central Government. However, it does not include factors related to health, education, and living standards that the MPI, our preferred sorting variable, does include. Results are presented in panel B of Table 4. For the (−1, 0) window, we obtain similar results, both in magnitude and statistical significance, to those obtained for the MPI sorting. Even though the goodness-of-fit of the regressions is somewhat dimmed, the R2 coefficients remain high and the monotonically decreasing market reactions are still observed as we move from high to low-income municipalities. For the (−1, +1) window, point estimates are smaller than those presented in panel A and exhibit low statistical significance.

In sum, the results in Table 4 provide evidence that stock market reactions to lockdown announcements depend on the SES of the population under lockdown. Recognizing that there might be several reasons why such a phenomenon could be observed, it strongly suggests a high level of wealth concentration among the richer population. In fact, according to the World Inequality Database (https://wid.world/), as of year-end 2018, the top 10% wealthiest population accounts for 60.4% of the total income of the country. As richer cohorts are considered for the changes in the number of people under lockdown, the predicted abnormal returns in the stock market are higher in magnitude. Furthermore, changes in the total population cannot explain stock market reactions to such announcements. This result is significant because it validates our proposed wealth ranking, which will also be used to analyze sentiment responses to government announcements below.

4.3 Sentiment responses and SES

Just as in the case of the cumulative abnormal returns for the stock market, we observe positive and negative cumulative abnormal responses to our sentiment proxies. To analyze whether sentiment reactions depend on the number and the socioeconomic characteristics of the people under lockdown, we estimate regression equations Eqs (14) and (15), which relate our abnormal sentiment measures to the government announcements in Table 3 to the number of people under lockdown. In either equation, just as in the case of stock returns, ΔPopulationi,t refers to changes in the number of people from cohort “i” under lockdown at the announcement made at time t. For the controls in xt, we consider the cumulative abnormal returns of the IGPA index for the corresponding event window, and the prevalent value of the Stringency Index at the day of the announcement. The stock market’s abnormal returns are included to control for the possible effect that stock market performance might have on market-wide sentiment [20]. We include the Stringency Index to control for the effect that policy responses to the pandemic might have on market sentiment and can be considered a proxy for the severity of the disease. This index, developed in [52] and available at [53], ranges from 1 to 100 and records the strictness of lockdown style policies implemented by governments around the globe. It has been widely used in the recent literature on the economic and social effects of the COVID-19 pandemic [54, 55].

Estimation results for the Cumulative Abnormal Sentiment Activity in Eq (14) are presented in Table 5. In columns (1) to (6) we present results for the (−1, 0) event window. In columns (7) to (12) we report the results for the (−1, +1) window. It should be noted that the cumulative abnormal return of the IGPA index, included as a control in all specifications, is a generated regressors. As such, the variability from the first stage estimation of the control should be considered when performing inferences for the estimated parameters of equation Eq (14) [56]. To make sure our results are valid, we compute and report statistical significance using non-parametric bootstrapped standard errors alongside the significance obtained by means of the Cribari-Neto HC4 robust standard error estimator, as explained in Note 2 in Table 5[57].

thumbnail
Table 5. Sentiment (Twitter) vs. changes in confined population (Population in millions).

https://doi.org/10.1371/journal.pone.0254638.t005

For the (−1, +1) windows, we obtain negative and statistically significant coefficients for the change in the wealthiest cohorts of the population under lockdown. For the ABC1 socioeconomic segment in column (9), we obtain a point estimate of −3.29, significant at the 10% (5%) level when Cribari-Neto HC4 (bootstrapped) standard errors are used. This is a very large economic effect. An increase of one million people under lockdown in this segment produces a negative abnormal sentiment reaction close to 330% percent. Notably, the goodness-of-fit of these specifications is 73%.

In columns (12), the effect of total population changes under lockdown on abnormal sentiment is also negative, but the point estimate of −1.72 is nearly half of the one obtained for the ABC1 segment. It is still significant at the 15% or 10% level, depending on the estimator used to compute standard errors, and the specification features a rather large R2 coefficient close to 0.55. Since we are interested in assessing whether market sentiment responds differently to different socioeconomic cohorts of the population under lockdown, we perform a Wald test for the equality of the population variable coefficient between specifications (9) and (12). The (unreported) test rejects the null hypothesis of equality of coefficients at any standard level of significance, using either robust HC4 or bootstrapped errors for the covariance matrix.

Similarly to the phenomenon observed for the abnormal returns of the stock market, we obtain a nearly monotonically decreasing magnitude of market sentiment responses to government announcements as we move from the wealthiest municipalities in column (7) to the whole population in column (12). For instance, for the richest 4.68% of the population in column (7), the point estimate of the change in population variable reaches a value of −4.4, two and half times bigger than the coefficient obtained for the total population in column (12), though it is only significant at the 15% level using bootstrapped errors. In column (11), when we consider the municipalities from the first wealth quintile that comprises 22.37% of the country’s population, the point estimate drops to −2.77, but remains both economically and statistically significant at the 10% level, with an R2 close to 0.65.

For the (−1, 0) window, all specifications return statistically insignificant coefficients, regardless of the type of standard errors used for inference, and exhibit lower fits than for the (−1, +1) window.

The results in Table 5 constitute novel evidence on the SES of Twitter users. The observed relationship between Abnormal Sentiment Activity and changes in the characteristics of people under lockdown suggest a socioeconomic segregation among the users of the platform. Our results are in line with the results of a survey carried out by the Pew Research Center in the US, in which Twitter users appear to be more highly educated and having higher incomes than the rest of the population.

The estimation results of Eq 15 for the Cumulative Abnormal Search Volume Activity of Google Trends are presented in Table 6. For the controls in xt, we consider again the cumulative abnormal returns of the IGPA index for the corresponding event window, and the prevalent value of the Stringency Index at the day of the announcement. Since the CARs of the IGPA index are generated regressors, we report significance both for bootstrapped standard errors and HC4 robust standard errors, as explained in Note 2 of the table.

thumbnail
Table 6. Sentiment (GT) vs. changes in confined population (Population in millions).

https://doi.org/10.1371/journal.pone.0254638.t006

For the (−1, 0) event window, when we consider changes in the total population under lockdown, we obtain a positive effect of those changes on abnormal search activities. In column (6), an increase of one million people in the total population under lockdown increases the abnormal volume of search activity by nearly 15%, a rather large effect considering the magnitudes of the reactions presented in column (5) of Table 3. For the rest of the cohorts in columns (1) to (5), the estimated coefficients are statistically insignificant, with much smaller R2 coefficients. For the (−1, +1) window in columns (7) to (12), our point estimators are similar to the ones we obtained for the (−1, 0) window. Still, they all turn out to be statistically insignificant.

Based on the evidence presented in Table 6, among the users of Google queries, there seems to be no socioeconomic segregation, as measured by a truncation of municipalities based on the MPI. When the total number of people under lockdown increases, an abnormal increase in the pandemic-related Google searches is observed. Such an effect is smaller in magnitude and statistically insignificant when changes in the wealthiest populationidered. In any case, this evidence should be taken with caution. Google Trends counts aggregate “searches” and not the people who perform them. A priori, it does not reveal whether a spike in the relative proliferation of a search term is due to a few power users or many infrequent users. Finally, there is some evidence that abnormal search activity appears to be concentrated in the shorter (-1,0) window, a phenomenon that suggests instantaneity and the short life of Google queries in pandemic-related news.

As an alternative approach to analyze the impact of lockdown announcements on market sentiment, we consider a panel data regression similar to the Difference in Difference (DiD) methodology, which allows us to take advantage of the panel structure of our data, increasing considerably the sample size for the estimation. It should be noted, however, that the sample size achieved is still rather small, and results should be interpreted in light of this limitation. As explained in the Methods section, we estimate the specification presented in Eq (17) for the Abnormal Sentiment Activity index and the Abnormal Search Volume Activity index. To make results comparable to our previous results, we consider the three days in the (−1,1) window centered around each announcement day. For this window, equation Eq (17) can be written as: (18)

To see what effects the parameters in Eq (18) capture, let’s assume that we are interested in the sentiment responses on the day after government announcements are made. It is straightforward to see that the expected difference in sentiment between locked down and not locked down wealthy municipalities is given by δ+1+β+1. Also, the expected difference in sentiment between locked down and not locked down, non-wealthy municipalities is δ+1. The parameter β+1 is then analogous to the standard difference-in-difference estimator; i.e., it is the average difference in the expected outcome between confined and not confined wealthy municipalities and between locked down and not locked down non-wealthy municipalities, where the average is taken for all the days in the sample that correspond to the day after the government makes an announcement.

Results for the ASA index are presented in columns (1) to (4) of Table 7 and in Fig 8. Results for the ASVA index are reported in columns (5) to (8) of the same table. Specifications differ in the inclusion of controls. We consider the abnormal return, AR, of the IGPA index, and the value of the Stringency Index as control variables. Given our sample size, we present standard errors computed using White HC0 robust standard errors. Since the abnormal return of the IGPA index is a generated regressor, we report significance both for bootstrapped standard errors and HC0 robust standard errors, as explained in Note 2 of the table. For estimation, the 15 municipalities with the lowest MPI are considered wealthy. They correspond to the ABC1 socioeconomic segment that comprises 12.76% of the total population.

thumbnail
Table 7. Panel estimation for sentiment proxies—ASAt and ASVAt.

https://doi.org/10.1371/journal.pone.0254638.t007

thumbnail
Fig 8. ASA—Difference-in-difference “like” estimators (β−1, β0, β+1).

Average difference in the expected Abnormal Sentiment Activity index between locked down and not locked down wealthy municipalities and between locked down and not locked down non-wealthy municipalities.

https://doi.org/10.1371/journal.pone.0254638.g008

For the ASA index, the results in panel A of Table 7 show that the largest difference in social sentiment responses between wealthy and non-wealthy municipalities occurs the day after government announcements are made. In column (1), when no controls are included, the parameter estimate for β+1 is negative and statistically significant at the 1% level. The effect is also economically meaningful. The expected abnormal sentiment response upon lockdown is more than 4 times more negative for wealthy municipalities than for non-wealthy municipalities (). This result is almost identical for all specifications, regardless of the inclusion of controls.

For the days preceding announcement days, the estimator β−1 is relatively small and it is statistically insignificant for all specifications at the 10% level, except for the estimation in column (3). For the announcement day, the β0 is negative and statistically significant in columns (1) and (2), but loses significance whenever the Stringency Index is included in specifications (3) and (4). In fact, when both controls are included in the later specification, only the estimate for β+1 is statistically significant at the 10% level. These results are in line with those presented in Table 5 where we document that, controlling for stock market performance and the level of the Stringency Index, changes in the number of people from the wealthiest municipalities under lockdown have explanatory power over the cumulative abnormal sentiment activity variable, CASA, but only for the (−1, +1) window.

Regarding the controls, the Stringency Index estimate is negative and significant, which suggests that the strictness of lockdown policies implemented by the government, or the severity of the pandemic to which lockdown policies respond, has a negative impact on overall market sentiment. The stock market’s abnormal performance, proxied by the IGPA AR, is not significant in our estimations.

For the ASVA index, the results in Table 7 provide no evidence of a statistically significant difference in the abnormal volume of pandemic-related searches in response to government announcements between wealthy and non-wealthy municipalities. All the estimators in Panel A turn out to be statistically insignificant, with the exception of those corresponding to specification (6). In any case, whenever the Stringency Index is included as a control, all estimated coefficients result statistically insignificant at the 10% level. Interestingly, the δ parameters in Panel B, that in this case capture the effects of quarantine announcements on the ASVA index for non-wealthy municipalities, are positive and highly significant for the same day and the day preceding government announcements, but not for the day after them. These results seem to reflect the high levels of anxiety regarding potential lockdown measures that government announcements produce on the population. Furthermore, the results presented in Table 7 are consistent with our previous results presented in Table 6, in which increases in the total population under lockdown increases the abnormal volume of search activity, but with statistical significance only for the (−1, 0) window.

The controls included in the empirical specification have the expected signs and are highly significant across the different specifications. The Stringency Index exhibits a positive sign, which suggests that the prevalence of stricter lockdown policies produces more pandemic-related internet searches. For the performance of the stock market, we observe that the higher the abnormal returns of the stock market surrounding announcements, the lower the volume of pandemic-related queries. This is in line with the correlations presented in Fig 5, where we document a strong and negative correlation between the levels of the IGPA and the ASVI series, which suggests that during periods of high stock market valuation, market participants care less about the development of the pandemic. Even though recent financial literature shows that causality might run in the opposite direction, with Google search volumes being able to predict stock returns [18, 25, 58], we acknowledge that in our case it is hard to claim that causality actually runs in that direction. We consider a short time span around an impactful event, the government announcement, that is likely to affect both the stock market and Google search volumes at the same time.

5 Conclusion

The Chilean health authorities’ strategic quarantine scheme provides a unique opportunity to assess the impact of lockdowns on social sentiment. Whereas generalized lockdowns affect the population of a country as a whole, dynamic or strategic quarantines affect different parts of the population at different times. The high level of heterogeneity in the socioeconomic status of Chilean municipalities and the frequent changes in their lockdown status allows investigating how the socioeconomic characteristics of their inhabitants affect observable measures of social sentiment, although these measures are generally observable for the population as a whole and not for specific segments of it. For sentiment analysis we resort to Twitter queries to gauge the social sentiment toward government interventions and to Google Trends to assess the interest that users have in topics related to the pandemic. We perform our analysis using event study methods and panel data models similar to the difference-in-difference methodology.

Regarding Twitter, we find that abnormal sentiment responses are negatively related to increases in the number of people under lockdown, but with their statistical significance and economic effects concentrated among the wealthiest cohorts of the population, which suggests the existence of socioeconomic segregation among users of this platform. Furthermore, our results suggest that said Twitter socioeconomic segregation mirrors stock market segregation. Finally, regarding the intensity of Google searches for pandemic-related issues, a higher intensity is observed when a larger proportion of the total population is under lockdown, but with no discernible differential effect for the wealthier cohorts of the population.

We have added to the current literature by providing evidence of socioeconomic segregation among Twitter users. This is an important result not only for academics but also for policymakers. As sentiment analysis is becoming a pervasive tool to evaluate the impact of economic and social policies, it should be considered whether observable social sentiment indicators reflect the feelings towards such policies of the population as a whole or those of specific groups. Moreover, our empirical approach, which hinges on the socioeconomic heterogeneity of Chilean municipalities and the dynamic features of the pandemic strategy, allows directly identifying the socioeconomic status of Twitter users, a rather hard task to achieve [16, 28, 59]. Additionally, and as a secondary result of our analysis, we demonstrate a substantial degree of socioeconomic segregation in stock market reactions to government announcements. Even though this result was mainly used to validate the wealth ranking of Chilean municipalities used in the sentiment analysis, it is a novel result. We have no knowledge of other studies that explain reactions of the stock market as a whole to exogenous shocks (government announcements) based on the socioeconomic—or any other features—of the population affected by these shocks.

Our results must be interpreted in light of a number of limitations. First,the socioeconomic variables used to sort the population, the MPI and municipal income, are measured at a municipal level. Even though municipalities are the smallest administrative unit in Chile, and there is in fact a high degree of income-based urban geographical segregation, there is intramunicipal heterogeneity in the SES of the population which we are currently not able to capture.

Second, our social sentiment proxies have some limitations. Google Trends counts aggregate “searches” but does not identify those who perform them, so it is not possible to know whether a spike in the relative proliferation of a search term is due to a few power users or many infrequent users. Also, younger individuals are relatively more likely to use Google Search than older individuals [60]. Lastly, some of these 19 terms may change, in either direction, without a direct relation with government announcements. Regarding Twitter, this study is restricted to #COVID2019chile and #CoronaVirusEnChile; the choice of these hashtags limits the generalization of our findings, but this is equally true for any other selection criteria.

In any case, the results obtained are consistent between the two proposed empirical methodologies. Our results hold when considering controls and are robust to alternative SES rankings and classifications.

Supporting information

S1 Table. Chilean municipalities.

This table presents population information for the 120 Chilean municipalities with more than 13,000 inhabitants. Municipalities are sorted from low to high, according to their MPI.

https://doi.org/10.1371/journal.pone.0254638.s001

(PDF)

Acknowledgments

Thanks to Sebastian Gonzalez and Vicente Dourthe for outstanding research assistance in the data-building phase of this project.

References

  1. 1. Zhou P, Yang XL, Wang XG, Hu B, Zhang L, Zhang W, et al. Addendum: A pneumonia outbreak associated with a new coronavirus of probable bat origin. Nature. 2020;588(7836):E6–E6. pmid:33199918
  2. 2. WHO Coronavirus (COVID-19) Dashboard;. Available from: https://covid19.who.int.
  3. 3. Baldwin RE, Weder B. Mitigating the COVID economic crisis act fast and do whatever it takes; 2020. Available from: https://voxeu.org/system/files/epublication/COVIDEconomicCrisis.pdf.
  4. 4. Bennett M All things equal? Heterogeneity in policy effectiveness against COVID-19 spread in chile. World Development. 2021;137:105208.
  5. 5. Kumar A Khan SU Kalra A COVID-19 pandemic: a sentiment analysis: A short review of the emotional effects produced by social media posts during this global crisis. European Heart Journal. 2020;41(39):3782–3783.
  6. 6. Mavragani A, Gkillas K. COVID-19 predictability in the United States using Google Trends time series. Scientific reports. 2020;10(1):1–12. https://doi.org/10.1038/s41598-020-77275-9 pmid:33244028
  7. 7. Kristjanpoller W, Michell K, Minutolo MC. A causal framework to determine the effectiveness of dynamic quarantine policy to mitigate COVID-19. Applied Soft Computing. 2021;104:107241. https://doi.org/10.1016/j.asoc.2021.107241 pmid:33679272
  8. 8. Giachanou A, Crestani F. Like it or not: A survey of twitter sentiment analysis methods. ACM Computing Surveys (CSUR). 2016;49(2):1–41. https://doi.org/10.1145/2938640
  9. 9. Agarwal A, Xie B, Vovsha I, Rambow O, Passonneau RJ. Sentiment analysis of twitter data. In: Proceedings of the workshop on language in social media (LSM 2011); 2011. p. 30–38.
  10. 10. Hu M, Liu B. Mining and summarizing customer reviews. In: Proceedings of the tenth ACM SIGKDD international conference on Knowledge discovery and data mining; 2004. p. 168–177.
  11. 11. Lyócsa Š, Baumöhl E, Vỳrost T, Molnár P. Fear of the coronavirus and the stock markets. Finance Research Letters. 2020;36:101735. https://doi.org/10.1016/j.frl.2020.101735 pmid:32868975
  12. 12. Lyócsa Š, Molnár P. Stock market oscillations during the corona crash: The role of fear and uncertainty. Finance Research Letters. 2020;36:101707. https://doi.org/10.1016/j.frl.2020.101707
  13. 13. Greyling T Rossouw S Adhikari T The good, the bad and the ugly of lockdowns during Covid-19. PLOS ONE. 2021;16(1):1–18.
  14. 14. Greyling T, Rossouw S, Adhikari T. A tale of three countries: How did Covid-19 lockdown impact happiness? GLO Discussion Paper; 2020.
  15. 15. Brodeur A, Clark AE, Fleche S, Powdthavee N. Assessing the impact of the coronavirus lockdown on unhappiness, loneliness, and boredom using Google Trends. arXiv preprint arXiv:200412129. 2020;.
  16. 16. Ghazouani D, Lancieri L, Ounelli H, Jebari C. Assessing socioeconomic status of Twitter users: A survey. In: Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2019); 2019. p. 388–398.
  17. 17. Baker M Wurgler J Investor Sentiment in the Stock Market. Journal of Economic Perspectives. 2007;21(2):129–152.
  18. 18. Bijl L, Kringhaug G, Molnár P, Sandvik E. Google searches and stock returns. International Review of Financial Analysis. 2016;45:150–156. https://doi.org/10.1016/j.irfa.2016.03.015
  19. 19. Azar PD, Lo AW. The wisdom of Twitter crowds: Predicting stock market reactions to FOMC meetings via Twitter feeds. The Journal of Portfolio Management. 2016;42(5):123–134. https://doi.org/10.3905/jpm.2016.42.5.123
  20. 20. Broadstock DC, Zhang D. Social-media and intraday stock returns: The pricing power of sentiment. Finance Research Letters. 2019;30:116–123. https://doi.org/10.1016/j.frl.2019.03.030
  21. 21. Preis T, Moat HS, Stanley HE. Quantifying Trading Behavior in Financial Markets Using Google Trends. Scientific Reports. 2013;3(1):1684. https://doi.org/10.1038/srep01684 pmid:23619126
  22. 22. Gu C, Kurov A. Informational role of social media: Evidence from Twitter sentiment. Journal of Banking & Finance. 2020;121:105969. https://doi.org/10.1016/j.jbankfin.2020.105969
  23. 23. Hamid A, Heiden M. Forecasting volatility with empirical similarity and Google Trends. Journal of Economic Behavior & Organization. 2015;117:62–81. https://doi.org/10.1016/j.jebo.2015.06.005
  24. 24. Audrino F, Sigrist F, Ballinari D. The impact of sentiment and attention measures on stock market volatility. International Journal of Forecasting. 2020;36(2):334–357. https://doi.org/10.1016/j.ijforecast.2019.05.010
  25. 25. Kim N, Lučivjanská K, Molnár P, Villa R. Google searches and stock market activity: Evidence from Norway. Finance Research Letters. 2019;28:208–220. https://doi.org/10.1016/j.frl.2018.05.003
  26. 26. van der Wielen W, Barrios S. Economic sentiment during the COVID pandemic: Evidence from search behaviour in the EU. Journal of Economics and Business. 2020; p. 105970. https://doi.org/10.1016/j.jeconbus.2020.105970.
  27. 27. Al Zamal F, Liu W, Ruths D. Homophily and latent attribute inference: Inferring latent attributes of twitter users from neighbors. In: Proceedings of the International AAAI Conference on Web and Social Media. vol. 6; 2012.
  28. 28. Filho RM, Borges GR, Almeida JM, Pappa GL. Inferring user social class in online social networks. In: Proceedings of the 8th Workshop on Social Network Mining and Analysis; 2014. p. 1–5.
  29. 29. Volkova S, Bachrach Y, Armstrong M, Sharma V. Inferring latent user properties from texts published in social media. In: Proceedings of the AAAI Conference on Artificial Intelligence. vol. 29; 2015.
  30. 30. Barkur G Vibha , Kamath G Sentiment analysis of nationwide lockdown due to COVID 19 outbreak: Evidence from India. Asian Journal of Psychiatry. 2020;51.
  31. 31. Alamoodi AH, Zaidan BB, Zaidan AA, Albahri OS, Mohammed KI, Malik RQ, et al. Sentiment analysis and its applications in fighting COVID-19 and infectious diseases: A systematic review. Expert Systems with Applications. 2021;167:114155. https://doi.org/10.1016/j.eswa.2020.114155 pmid:33139966
  32. 32. Manguri KH Ramadhan RN Amin PRM Twitter sentiment analysis on worldwide COVID-19 outbreaks. Kurdistan Journal of Applied Research. 2020; p. 54–65.
  33. 33. Chakraborty K, Bhatia S, Bhattacharyya S, Platos J, Bag R, Hassanien AE. Sentiment Analysis of COVID-19 tweets by Deep Learning Classifiers—A study to show how popularity is affecting accuracy in social media. Applied Soft Computing. 2020;97:106754. https://doi.org/10.1016/j.asoc.2020.106754 pmid:33013254
  34. 34. Ball R, Brown P. An empirical evaluation of accounting income numbers. Journal of accounting research. 1968; p. 159–178. https://doi.org/10.2307/2490232
  35. 35. Fama EF, Fisher L, Jensen MC, Roll R. The adjustment of stock prices to new information. International economic review. 1969;10(1):1–21. https://doi.org/10.2307/2525569
  36. 36. Corrado CJ. Event studies: A methodology review. Accounting & Finance. 2011;51(1):207–234. https://doi.org/10.1111/j.1467-629X.2010.00375.x
  37. 37. Chou RY Chou H Liu N Range Volatility: A Review of Models and Empirical Studies. In: Lee CF, Lee JC, editors. Handbook of Financial Econometrics and Statistics. New York: Springer; 2015. p. 2029–2050.
  38. 38. Kothari SP Warner JB Chapter 1—Econometrics of Event Studies. In: Eckbo BE, editor. Handbook of Empirical Corporate Finance. Handbooks in Finance. San Diego: Elsevier; 2007. p. 3—36.
  39. 39. Campbell JY Lo AW MacKinlay AC 4. Event-Study Analysis. In: The econometrics of financial markets. Princeton University Press; 2012. p. 149–180.
  40. 40. Ruz GA Henríquez PA Mascareño A Sentiment analysis of Twitter data during critical events through Bayesian networks classifiers. Future Generation Computer Systems. 2020;106:92–104.
  41. 41. Henríquez PA, Ruz GA. Twitter Sentiment Classification Based on Deep Random Vector Functional Link. In: International Joint Conference on Neural Networks (IJCNN); 2018. p. 1–6.
  42. 42. Da Z Engelberg J Gao P In Search of Attention. The Journal of Finance. 2011;66(5):1461–1499.
  43. 43. Nagao S Takeda F Tanaka R Nowcasting of the U.S. unemployment rate using Google Trends. Finance Research Letters. 2019;30:103–109.
  44. 44. Card D The impact of the Mariel boatlift on the Miami labor market. ILR Review. 1990;43(2):245–257.
  45. 45. Meyer BD Viscusi WK Durbin DL Workers’ compensation and injury duration: evidence from a natural experiment. The American economic review. 1995; p. 322–340.
  46. 46. Abadie A Semiparametric difference-in-differences estimators. The Review of Economic Studies. 2005;72(1):1–19.
  47. 47. Athey S Imbens GW Identification and inference in nonlinear difference-in-differences models. Econometrica. 2006;74(2):431–497.
  48. 48. Freyaldenhoven S Hansen C Shapiro JM Pre-event trends in the panel event-study design. American Economic Review. 2019;109(9):3307–38.
  49. 49. Athey S Imbens GW Design-based analysis in difference-in-differences settings with staggered adoption. National Bureau of Economic Research; 2018.
  50. 50. Goodman-Bacon A Difference-in-differences with variation in treatment timing. National Bureau of Economic Research; 2018.
  51. 51. Cribari-Neto F Asymptotic inference under heteroskedasticity of unknown form. Computational Statistics & Data Analysis. 2004;45(2):215–233.
  52. 52. Hale T, Webster S, Petherick A, Phillips T, Kira B. Oxford COVID-19 Government Response Tracker. Oxford: Blavatnik School of Government; 2020. Available from: www.bsg.ox.ac.uk
  53. 53. Roser M, Ritchie H, Ortiz-Ospina E, Hasell J. Coronavirus Pandemic (COVID-19). Our World in Data. 2020;.
  54. 54. Zhu D, Mishra SR, Han X, Santo K. Social distancing in Latin America during the COVID-19 pandemic: an analysis using the Stringency Index and Google Community Mobility Reports. Journal of Travel Medicine. 2020;27(8). pmid:32729931
  55. 55. Díaz F, Henríquez PA, Winkelried D. Stock market volatility and the COVID-19 reproductive number. Working paper;.
  56. 56. Pagan A Econometric issues in the analysis of regressions with generated regressors. International Economic Review. 1984; p. 221–247.
  57. 57. Efron B Bootstrap methods: another look at the jackknife. In: Breakthroughs in statistics. Springer; 1992. p. 569–593.
  58. 58. Challet D, Ayed ABH. Predicting financial markets with Google Trends and not so random keywords. arXiv preprint arXiv:13074643. 2013;.
  59. 59. Ritter A, Clark S, Etzioni O, et al. Named entity recognition in tweets: an experimental study. In: Proceedings of the 2011 conference on empirical methods in natural language processing; 2011. p. 1524–1534.
  60. 60. Brodeur A Clark AE Fleche S Powdthavee N COVID-19, lockdowns and well-being: Evidence from Google Trends. Journal of Public Economics. 2021;193:104346.