IDEAS home Printed from https://ideas.repec.org/a/wly/jforec/v40y2021i8p1479-1500.html
   My bibliography  Save this article

Predicting stock market volatility based on textual sentiment: A nonlinear analysis

Author

Listed:
  • Weiguo Zhang
  • Xue Gong
  • Chao Wang
  • Xin Ye

Abstract

This paper investigates whether and how investor sentiment affects stock market volatility forecasting from a nonlinear theory perspective. With the use of a novel dataset that contains massive articles about stock market analysis obtained from a Chinese investors' community, we construct four sentiment indices to measure investor sentiment by applying textual analysis techniques. Differing from the developed market, we find that the investor sentiment from an emerging market causes stock volatility by a nonlinear pattern rather than a linear style. Furthermore, we show that the investor sentiment improves stock volatility prediction based on the long short‐term memory model. And the predictability is still significant after considering another sentiment proxy variable. Finally, we demonstrate that this improvement of predictive performance is meaningful from an economic point of view.

Suggested Citation

  • Weiguo Zhang & Xue Gong & Chao Wang & Xin Ye, 2021. "Predicting stock market volatility based on textual sentiment: A nonlinear analysis," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(8), pages 1479-1500, December.
  • Handle: RePEc:wly:jforec:v:40:y:2021:i:8:p:1479-1500
    DOI: 10.1002/for.2777
    as

    Download full text from publisher

    File URL: https://doi.org/10.1002/for.2777
    Download Restriction: no

    File URL: https://libkey.io/10.1002/for.2777?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
    ---><---

    References listed on IDEAS

    as
    1. Guofu Zhou, 2018. "Measuring Investor Sentiment," Annual Review of Financial Economics, Annual Reviews, vol. 10(1), pages 239-259, November.
    2. Sanjiv R. Das & Mike Y. Chen, 2007. "Yahoo! for Amazon: Sentiment Extraction from Small Talk on the Web," Management Science, INFORMS, vol. 53(9), pages 1375-1388, September.
    3. Ding, Zhuanxin & Granger, Clive W. J. & Engle, Robert F., 1993. "A long memory property of stock market returns and a new model," Journal of Empirical Finance, Elsevier, vol. 1(1), pages 83-106, June.
    4. Dashan Huang & Fuwei Jiang & Jun Tu & Guofu Zhou, 2015. "Investor Sentiment Aligned: A Powerful Predictor of Stock Returns," The Review of Financial Studies, Society for Financial Studies, vol. 28(3), pages 791-837.
    5. Audrino, Francesco & Sigrist, Fabio & Ballinari, Daniele, 2020. "The impact of sentiment and attention measures on stock market volatility," International Journal of Forecasting, Elsevier, vol. 36(2), pages 334-357.
    6. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    7. Deeney, Peter & Cummins, Mark & Dowling, Michael & Bermingham, Adam, 2015. "Sentiment in oil markets," International Review of Financial Analysis, Elsevier, vol. 39(C), pages 179-185.
    8. Andrea Bucci, 2020. "Cholesky–ANN models for predicting multivariate realized volatility," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(6), pages 865-876, September.
    9. Wang, Yaw-Huei & Keswani, Aneel & Taylor, Stephen J., 2006. "The relationships between sentiment, returns and volatility," International Journal of Forecasting, Elsevier, vol. 22(1), pages 109-123.
    10. Stambaugh, Robert F. & Yu, Jianfeng & Yuan, Yu, 2012. "The short of it: Investor sentiment and anomalies," Journal of Financial Economics, Elsevier, vol. 104(2), pages 288-302.
    11. Kearney, Colm & Liu, Sha, 2014. "Textual sentiment in finance: A survey of methods and models," International Review of Financial Analysis, Elsevier, vol. 33(C), pages 171-185.
    12. Andersen, Torben G & Bollerslev, Tim, 1998. "Answering the Skeptics: Yes, Standard Volatility Models Do Provide Accurate Forecasts," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 39(4), pages 885-905, November.
    13. Behrendt, Simon & Schmidt, Alexander, 2018. "The Twitter myth revisited: Intraday investor sentiment, Twitter activity and individual-level stock return volatility," Journal of Banking & Finance, Elsevier, vol. 96(C), pages 355-367.
    14. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    15. Xi Zhang & Jiawei Shi & Di Wang & Binxing Fang, 2018. "Exploiting Investors Social Network for Stock Prediction in China's Market," Papers 1801.00597, arXiv.org.
    16. Fischer, Thomas & Krauss, Christopher, 2018. "Deep learning with long short-term memory networks for financial market predictions," European Journal of Operational Research, Elsevier, vol. 270(2), pages 654-669.
    17. Athanasia Gavala & Nikolay Gospodinov & Deming Jiang, 2006. "Forecasting volatility," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 25(6), pages 381-400.
    18. Gita Persand & Chris Brooks, 2003. "Volatility forecasting for risk management," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 22(1), pages 1-22.
    19. Jiang, Fuwei & Lee, Joshua & Martin, Xiumin & Zhou, Guofu, 2019. "Manager sentiment and stock returns," Journal of Financial Economics, Elsevier, vol. 132(1), pages 126-149.
    20. Tim Loughran & Bill Mcdonald, 2016. "Textual Analysis in Accounting and Finance: A Survey," Journal of Accounting Research, Wiley Blackwell, vol. 54(4), pages 1187-1230, September.
    21. John Y. Campbell & Samuel B. Thompson, 2008. "Predicting Excess Stock Returns Out of Sample: Can Anything Beat the Historical Average?," The Review of Financial Studies, Society for Financial Studies, vol. 21(4), pages 1509-1531, July.
    22. Lee, Wayne Y. & Jiang, Christine X. & Indro, Daniel C., 2002. "Stock market volatility, excess returns, and the role of investor sentiment," Journal of Banking & Finance, Elsevier, vol. 26(12), pages 2277-2299.
    23. Werner Antweiler & Murray Z. Frank, 2004. "Is All That Talk Just Noise? The Information Content of Internet Stock Message Boards," Journal of Finance, American Finance Association, vol. 59(3), pages 1259-1294, June.
    24. Mark Johnman & Bruce James Vanstone & Adrian Gepp, 2018. "Predicting FTSE 100 returns and volatility using sentiment analysis," Accounting and Finance, Accounting and Finance Association of Australia and New Zealand, vol. 58(S1), pages 253-274, November.
    25. Granger, C. W. J., 1980. "Testing for causality : A personal viewpoint," Journal of Economic Dynamics and Control, Elsevier, vol. 2(1), pages 329-352, May.
    26. Wang, Yudong & Ma, Feng & Wei, Yu & Wu, Chongfeng, 2016. "Forecasting realized volatility in a changing world: A dynamic model averaging approach," Journal of Banking & Finance, Elsevier, vol. 64(C), pages 136-149.
    27. Utku Uygur & Oktay Taş, 2014. "The impacts of investor sentiment on returns and conditional volatility of international stock markets," Quality & Quantity: International Journal of Methodology, Springer, vol. 48(3), pages 1165-1179, May.
    28. Tim Loughran & Bill Mcdonald, 2011. "When Is a Liability Not a Liability? Textual Analysis, Dictionaries, and 10‐Ks," Journal of Finance, American Finance Association, vol. 66(1), pages 35-65, February.
    29. Jia‐Yen Huang & Jin‐Hao Liu, 2020. "Using social media mining technology to improve stock price forecast accuracy," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(1), pages 104-116, January.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Xue Gong & Weiguo Zhang & Yuan Zhao & Xin Ye, 2023. "Forecasting stock volatility with a large set of predictors: A new forecast combination method," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(7), pages 1622-1647, November.
    2. Song, Ziyu & Gong, Xiaomin & Zhang, Cheng & Yu, Changrui, 2023. "Investor sentiment based on scaled PCA method: A powerful predictor of realized volatility in the Chinese stock market," International Review of Economics & Finance, Elsevier, vol. 83(C), pages 528-545.
    3. Xue Gong & Weiguo Zhang & Weijun Xu & Zhe Li, 2022. "Uncertainty index and stock volatility prediction: evidence from international markets," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 8(1), pages 1-44, December.
    4. Jiang, Zhe & Zhang, Lin & Zhang, Lingling & Wen, Bo, 2022. "Investor sentiment and machine learning: Predicting the price of China's crude oil futures market," Energy, Elsevier, vol. 247(C).
    5. Gaies, Brahim & Nakhli, Mohamed Sahbi & Ayadi, Rim & Sahut, Jean-Michel, 2022. "Exploring the causal links between investor sentiment and financial instability: A dynamic macro-financial analysis," Journal of Economic Behavior & Organization, Elsevier, vol. 204(C), pages 290-303.
    6. Xiaohong Shen & Gaoshan Wang & Yue Wang & Alfred Peris, 2021. "The Influence of Research Reports on Stock Returns: The Mediating Effect of Machine-Learning-Based Investor Sentiment," Discrete Dynamics in Nature and Society, Hindawi, vol. 2021, pages 1-14, December.
    7. Chu, Xiaojun & Wan, Xinmin & Qiu, Jianying, 2023. "The relative importance of overnight sentiment versus trading-hour sentiment in volatility forecasting," Journal of Behavioral and Experimental Finance, Elsevier, vol. 39(C).
    8. Gong, Xue & Ye, Xin & Zhang, Weiguo & Zhang, Yue, 2023. "Predicting energy futures high-frequency volatility using technical indicators: The role of interaction," Energy Economics, Elsevier, vol. 119(C).
    9. Yu, Xing & Li, Yanyan & Gong, Xue & Zhang, Nan, 2022. "Evaluating the performance of futures hedging using factors-driven realized volatility," International Review of Financial Analysis, Elsevier, vol. 84(C).
    10. Gong, Xue & Zhang, Weiguo & Wang, Junbo & Wang, Chao, 2022. "Investor sentiment and stock volatility: New evidence," International Review of Financial Analysis, Elsevier, vol. 80(C).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Gong, Xue & Zhang, Weiguo & Wang, Junbo & Wang, Chao, 2022. "Investor sentiment and stock volatility: New evidence," International Review of Financial Analysis, Elsevier, vol. 80(C).
    2. Liang, Chao & Tang, Linchun & Li, Yan & Wei, Yu, 2020. "Which sentiment index is more informative to forecast stock market volatility? Evidence from China," International Review of Financial Analysis, Elsevier, vol. 71(C).
    3. Yongan Xu & Jianqiong Wang & Zhonglu Chen & Chao Liang, 2023. "Sentiment indices and stock returns: Evidence from China," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 28(1), pages 1063-1080, January.
    4. Xue Gong & Weiguo Zhang & Yuan Zhao & Xin Ye, 2023. "Forecasting stock volatility with a large set of predictors: A new forecast combination method," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(7), pages 1622-1647, November.
    5. Zongwu Cai & Pixiong Chen, 2022. "New Online Investor Sentiment and Asset Returns," WORKING PAPERS SERIES IN THEORETICAL AND APPLIED ECONOMICS 202216, University of Kansas, Department of Economics, revised Nov 2022.
    6. Zachary McGurk & Adam Nowak & Joshua C. Hall, 2020. "Stock returns and investor sentiment: textual analysis and social media," Journal of Economics and Finance, Springer;Academy of Economics and Finance, vol. 44(3), pages 458-485, July.
    7. Daniele Ballinari & Simon Behrendt, 2021. "How to gauge investor behavior? A comparison of online investor sentiment measures," Digital Finance, Springer, vol. 3(2), pages 169-204, June.
    8. Song, Ziyu & Gong, Xiaomin & Zhang, Cheng & Yu, Changrui, 2023. "Investor sentiment based on scaled PCA method: A powerful predictor of realized volatility in the Chinese stock market," International Review of Economics & Finance, Elsevier, vol. 83(C), pages 528-545.
    9. Xing, Li-Min & Zhang, Yue-Jun, 2022. "Forecasting crude oil prices with shrinkage methods: Can nonconvex penalty and Huber loss help?," Energy Economics, Elsevier, vol. 110(C).
    10. Zhang, Yaojie & Ma, Feng & Wei, Yu, 2019. "Out-of-sample prediction of the oil futures market volatility: A comparison of new and traditional combination approaches," Energy Economics, Elsevier, vol. 81(C), pages 1109-1120.
    11. Guofu Zhou, 2018. "Measuring Investor Sentiment," Annual Review of Financial Economics, Annual Reviews, vol. 10(1), pages 239-259, November.
    12. Jiang, Fuwei & Lee, Joshua & Martin, Xiumin & Zhou, Guofu, 2019. "Manager sentiment and stock returns," Journal of Financial Economics, Elsevier, vol. 132(1), pages 126-149.
    13. Pedro Manuel Nogueira Reis & Carlos Pinho, 2021. "A Reappraisal of the Causal Relationship between Sentiment Proxies and Stock Returns," Journal of Behavioral Finance, Taylor & Francis Journals, vol. 22(4), pages 420-442, October.
    14. Gong, Xue & Ye, Xin & Zhang, Weiguo & Zhang, Yue, 2023. "Predicting energy futures high-frequency volatility using technical indicators: The role of interaction," Energy Economics, Elsevier, vol. 119(C).
    15. Ung, Sze Nie & Gebka, Bartosz & Anderson, Robert D.J., 2023. "Is sentiment the solution to the risk–return puzzle? A (cautionary) note," Journal of Behavioral and Experimental Finance, Elsevier, vol. 37(C).
    16. Chu, Xiaojun & Wan, Xinmin & Qiu, Jianying, 2023. "The relative importance of overnight sentiment versus trading-hour sentiment in volatility forecasting," Journal of Behavioral and Experimental Finance, Elsevier, vol. 39(C).
    17. Mariano González-Sánchez & M. Encina Morales de Vega, 2021. "Influence of Bloomberg’s Investor Sentiment Index: Evidence from European Union Financial Sector," Mathematics, MDPI, vol. 9(4), pages 1-21, February.
    18. Chen, Cathy Yi-Hsuan & Fengler, Matthias R. & Härdle, Wolfgang Karl & Liu, Yanchu, 2022. "Media-expressed tone, option characteristics, and stock return predictability," Journal of Economic Dynamics and Control, Elsevier, vol. 134(C).
    19. Mehmet Sahiner, 2022. "Forecasting volatility in Asian financial markets: evidence from recursive and rolling window methods," SN Business & Economics, Springer, vol. 2(10), pages 1-74, October.
    20. Al-Nasseri, Alya & Menla Ali, Faek & Tucker, Allan, 2021. "Investor sentiment and the dispersion of stock returns: Evidence based on the social network of investors," International Review of Financial Analysis, Elsevier, vol. 78(C).

    More about this item

    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:wly:jforec:v:40:y:2021:i:8:p:1479-1500. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: Wiley Content Delivery (email available below). General contact details of provider: http://www3.interscience.wiley.com/cgi-bin/jhome/2966 .

    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.