主管:中国科学院
主办:中国优选法统筹法与经济数学研究会
   中国科学院科技战略咨询研究院

中国管理科学 ›› 2024, Vol. 32 ›› Issue (4): 38-47.doi: 10.16381/j.cnki.issn1003-207x.2021.0028cstr: 32146.14.j.cnki.issn1003-207x.2021.0028

• • 上一篇    下一篇

基于朴素贝叶斯法的投资者情绪度量及其对股票特质风险的影响

尹海员(),寇文娟   

  1. 陕西师范大学国际商学院,陕西 西安 710119
  • 收稿日期:2021-01-05 修回日期:2021-04-01 出版日期:2024-04-25 发布日期:2024-04-25
  • 通讯作者: 尹海员 E-mail:yinhaiyuan@snnu.edu.cn
  • 基金资助:
    教育部人文社会科学基金项目(22XJA790008);陕西省自然科学基础研究项目(2023JCYB622)

Investor Sentiment Based on Naive Bayes Method and Its Impact on Stock Idiosyncratic Risk

Haiyuan Yin(),Wenjuan Kou   

  1. International Business School,Shaanxi Normal University,Xi’an 710119,China
  • Received:2021-01-05 Revised:2021-04-01 Online:2024-04-25 Published:2024-04-25
  • Contact: Haiyuan Yin E-mail:yinhaiyuan@snnu.edu.cn

摘要:

利用Python程序抓取东方财富网中个股股吧的实时发帖内容,本文基于朴素贝叶斯文本分类方法构建了样本股票的投资者情绪日度指标,并研究了投资者情绪与上市公司特质风险之间的关系。实证研究结果表明,前一期投资者情绪、当期投资者情绪都和公司特质风险之间存在显著的正相关关系,说明投资者情绪趋于乐观,则公司特质风险增加。进一步看,投资者情绪对估值难度和套利限制程度不同的公司股票特质风险的影响有差异,随着估值难度的增加和套利限制的增强,投资者情绪对股票特质风险的影响效应也显著增强。这些结论有助于从高频视角更深入理解股市中投资者情绪对股票风险的影响机理,丰富了对上市公司特质风险影响因素的认识。

关键词: 投资者情绪, 特质风险, 文本挖掘, 套利限制

Abstract:

With the vigorous development of web2.0 and the rapid development of text mining technology, different subjects create and share content on social media. In the process of information dissemination and sharing, the information structure of the stock market has been changed, which further strengthens the sentiment tendency of investors and ultimately affects their decisions. Investors driven by sentiment will induce noise trading and cause changes in stock prices, which is manifested as changes in stock idiosyncratic risk. However, the influence of investor sentiment on idiosyncratic risk is rarely mentioned. Therefore, by crawling the real-time post content of the individual stock bar of Oriental Fortune.com, the daily investor sentiment of individual stock is constructed using the Naive Bayesian method. A panel regression model is used to investigate the influence of investor sentiment on idiosyncratic risk.The research is supplemented on the impact of investor sentiment and the influencing factors of idiosyncratic risk, which is helpful for a deeper understanding of the influence mechanism of investor sentiment on stock risk from the perspective of a high frequency, and has certain guidance and reference value for investors, listed companies and regulators.The results show that (1) Investor sentiment in the lagging period and the current period all have a significant positive impact on idiosyncratic risk(IR), indicating that idiosyncratic risk increases when investor sentiment tends to be optimistic. (2) The effect of investor sentiment on idiosyncratic risk varies with the change of the difficulty of stock valuation. Stocks with a lower book-to-market and analyst tracking number are more difficult to value, and investor sentiment has a greater impact on idiosyncratic risk. (3) Considering the effect of arbitrage restriction, with the increase in the degree of short-selling restrictions, the effect of investor sentiment on idiosyncratic risk is significantly enhanced. After a series of robust tests, the above conclusions are still robust.

Key words: investor sentiment, idiosyncratic risk, text mining, arbitrage restriction

中图分类号: