IDEAS home Printed from https://ideas.repec.org/a/eco/journ1/v15y2025i2id18142.html

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

Author

Listed:
  • Zúñiga-Cedillo, Sandra Yolotzin

    (Instituto Politécnico Nacional, Escuela Superior de Economía, México)

  • Jiménez-Preciado, Ana Lorena

    (Instituto Politécnico Nacional, Escuela Superior de Economía, México)

  • Cruz-Aké, Salvador

    (Instituto Politécnico Nacional, Escuela Superior de Economía, México)

  • Venegas-Martínez, Francisco

    (Instituto Politécnico Nacional, Escuela Superior de Economía, México)

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 "Ame?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 Ame?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.

Suggested Citation

  • Zúñiga-Cedillo, Sandra Yolotzin & Jiménez-Preciado, Ana Lorena & Cruz-Aké, Salvador & Venegas-Martínez, Francisco, 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, Econjournals, vol. 15(2), pages 344-354, February.
  • Handle: RePEc:eco:journ1:v:15:y:2025:i:2:id:18142
    DOI: 10.32479/ijefi.18142
    as

    Download full text from publisher

    File URL: https://econjournals.com/index.php/ijefi/article/download/18142/8675
    Download Restriction: no

    File URL: https://libkey.io/10.32479/ijefi.18142?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eco:journ1:v:15:y:2025:i:2:id:18142. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Monica Sinhat (email available below). General contact details of provider: https://econjournals.com/index.php/ijefi .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.