Behavioral Economics and Stock Market Sentiments in Investment Decisions in Mexico: Web Scraping, Natural Language Processing, and Pearson Correlation of Scores

Authors

  • Sandra Yolotzin Zúñiga-Cedillo Instituto Politécnico Nacional, Escuela Superior de Economía, México
  • Ana Lorena Jiménez-Preciado Instituto Politécnico Nacional, Escuela Superior de Economía, México
  • Salvador Cruz-Aké Instituto Politécnico Nacional, Escuela Superior de Economía, México
  • Francisco Venegas-Martínez Instituto Politécnico Nacional, Escuela Superior de Economía, México

DOI:

https://doi.org/10.32479/ijefi.18142

Keywords:

Behavioral Economics, Sentiment Analysis, Web Scraping, Cognitive Biases, Natural Language Processing, Stock Prices

Abstract

This paper analyzes market sentiment using digital news to understand the influence of cognitive biases (behavioral economics) on the investment decisions of economic agents. Web scraping techniques were employed to gather news about “América Movil” stock, the company with the highest market capitalization value. Subsequently, Natural Language Processing (NLP) tools are used to determine sentiment polarity scores, Pearson correlation sentiment scores are carried out. The data consists of digital news articles related to América Movil and its corresponding historical stock price data, providing a basis for sentiment analysis and trend comparison. The findings expose a consistent trend between sentiment polarity scores and stock price movements. Moreover, economic and political factors significantly influence sentiment serving as early indicators of stock price behavior. The model has practical implications for behavioral economics, demonstrating how news profoundly influences investment decisions and shapes the behavior of the Mexican market. This research uniquely combines sentiment analysis of digital news with stock price data to highlight the impact of cognitive biases on investment decisions in the Mexican market.

Downloads

Download data is not yet available.

Downloads

Published

2025-02-17

How to Cite

Zúñiga-Cedillo, S. Y., Jiménez-Preciado, A. L., Cruz-Aké, S., & Venegas-Martínez, F. (2025). Behavioral Economics and Stock Market Sentiments in Investment Decisions in Mexico: Web Scraping, Natural Language Processing, and Pearson Correlation of Scores. International Journal of Economics and Financial Issues, 15(2), 344–354. https://doi.org/10.32479/ijefi.18142

Issue

Section

Articles
Views
  • Abstract 177
  • FULL TEXT 108