A sentiment-based risk indicator for the Mexican financial sector
We apply sentiment analysis to Twitter messages in Spanish to build a sentiment risk index for the financial sector in Mexico. We classify a sample of tweets from 2006-2019 to identify messages in response to a positive or negative shock to the Mexican financial sector, relative to merely informativ...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Elsevier
2021-09-01
|
Series: | Latin American Journal of Central Banking |
Subjects: | |
Online Access: | http://www.sciencedirect.com/science/article/pii/S2666143821000168 |
id |
doaj-f290222b6c8e4c478d74a38fabab43ba |
---|---|
record_format |
Article |
spelling |
doaj-f290222b6c8e4c478d74a38fabab43ba2021-09-07T04:14:13ZengElsevierLatin American Journal of Central Banking2666-14382021-09-0123100036A sentiment-based risk indicator for the Mexican financial sectorRaul Fernandez0Brenda Palma Guizar1Caterina Rho2Banco de México, MexicoBanco de México, MexicoCorresponding author.; Banco de México, MexicoWe apply sentiment analysis to Twitter messages in Spanish to build a sentiment risk index for the financial sector in Mexico. We classify a sample of tweets from 2006-2019 to identify messages in response to a positive or negative shock to the Mexican financial sector, relative to merely informative ones. We use a voting classifier approach based on three different classifiers: one based on word polarities from a pre-defined dictionary, one based on a support vector machine classifier, and one based on neural networks. We find that the voting classifier outperforms each of the other classifiers when taken alone. Next, we compare our sentiment index with existing indicators of financial stress based on quantitative variables. We find that this novel index captures the impact of sources of financial stress not explicitly encompassed in quantitative risk measures, such as financial frauds, failures in payment systems, and money laundering. Finally, we show that a shock in our Twitter sentiment index correlates positively with an increase in financial market risk, stock market volatility, sovereign risk, and foreign exchange rate volatility.http://www.sciencedirect.com/science/article/pii/S2666143821000168G1G21G41 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Raul Fernandez Brenda Palma Guizar Caterina Rho |
spellingShingle |
Raul Fernandez Brenda Palma Guizar Caterina Rho A sentiment-based risk indicator for the Mexican financial sector Latin American Journal of Central Banking G1 G21 G41 |
author_facet |
Raul Fernandez Brenda Palma Guizar Caterina Rho |
author_sort |
Raul Fernandez |
title |
A sentiment-based risk indicator for the Mexican financial sector |
title_short |
A sentiment-based risk indicator for the Mexican financial sector |
title_full |
A sentiment-based risk indicator for the Mexican financial sector |
title_fullStr |
A sentiment-based risk indicator for the Mexican financial sector |
title_full_unstemmed |
A sentiment-based risk indicator for the Mexican financial sector |
title_sort |
sentiment-based risk indicator for the mexican financial sector |
publisher |
Elsevier |
series |
Latin American Journal of Central Banking |
issn |
2666-1438 |
publishDate |
2021-09-01 |
description |
We apply sentiment analysis to Twitter messages in Spanish to build a sentiment risk index for the financial sector in Mexico. We classify a sample of tweets from 2006-2019 to identify messages in response to a positive or negative shock to the Mexican financial sector, relative to merely informative ones. We use a voting classifier approach based on three different classifiers: one based on word polarities from a pre-defined dictionary, one based on a support vector machine classifier, and one based on neural networks. We find that the voting classifier outperforms each of the other classifiers when taken alone. Next, we compare our sentiment index with existing indicators of financial stress based on quantitative variables. We find that this novel index captures the impact of sources of financial stress not explicitly encompassed in quantitative risk measures, such as financial frauds, failures in payment systems, and money laundering. Finally, we show that a shock in our Twitter sentiment index correlates positively with an increase in financial market risk, stock market volatility, sovereign risk, and foreign exchange rate volatility. |
topic |
G1 G21 G41 |
url |
http://www.sciencedirect.com/science/article/pii/S2666143821000168 |
work_keys_str_mv |
AT raulfernandez asentimentbasedriskindicatorforthemexicanfinancialsector AT brendapalmaguizar asentimentbasedriskindicatorforthemexicanfinancialsector AT caterinarho asentimentbasedriskindicatorforthemexicanfinancialsector AT raulfernandez sentimentbasedriskindicatorforthemexicanfinancialsector AT brendapalmaguizar sentimentbasedriskindicatorforthemexicanfinancialsector AT caterinarho sentimentbasedriskindicatorforthemexicanfinancialsector |
_version_ |
1717764964159062016 |