IDEAS home Printed from https://ideas.repec.org/a/eee/ecmode/v102y2021ics0264999321001450.html
   My bibliography  Save this article

Social media sentiment, model uncertainty, and volatility forecasting

Author

Listed:
  • Lehrer, Steven
  • Xie, Tian
  • Zhang, Xinyu

Abstract

Many economic indicators including consumer confidence indices used to forecast volatility or macroeconomic outcomes, are published with a considerable time lag. To obtain a timelier measure of consumer sentiment many central bank and economic researchers are turning towards using state-of-the-art text sentiment analysis tools. We examine if there are benefits for forecasting volatility from (i) incorporating a sentiment measure derived using deep learning from Twitter messages at the 1-min level, and (ii) acknowledging specification uncertainty of the lag index in the heterogeneous autoregression (HAR) model. We present evidence from an out of sample forecasting exercise that suggests including social media sentiment can significantly improve the forecasting accuracy of a popular volatility index, particularly in short time horizons. Further, our results document large gains in predictive accuracy from a newly proposed estimator that allows for model uncertainty in the specification of the lag index when using a HAR estimator.

Suggested Citation

  • Lehrer, Steven & Xie, Tian & Zhang, Xinyu, 2021. "Social media sentiment, model uncertainty, and volatility forecasting," Economic Modelling, Elsevier, vol. 102(C).
  • Handle: RePEc:eee:ecmode:v:102:y:2021:i:c:s0264999321001450
    DOI: 10.1016/j.econmod.2021.105556
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0264999321001450
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.econmod.2021.105556?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Andersen T. G & Bollerslev T. & Diebold F. X & Labys P., 2001. "The Distribution of Realized Exchange Rate Volatility," Journal of the American Statistical Association, American Statistical Association, vol. 96, pages 42-55, March.
    2. Raffaella Giacomini & Halbert White, 2006. "Tests of Conditional Predictive Ability," Econometrica, Econometric Society, vol. 74(6), pages 1545-1578, November.
    3. Fernandes, Marcelo & Medeiros, Marcelo C. & Scharth, Marcel, 2014. "Modeling and predicting the CBOE market volatility index," Journal of Banking & Finance, Elsevier, vol. 40(C), pages 1-10.
    4. Corsi, Fulvio & Pirino, Davide & Renò, Roberto, 2010. "Threshold bipower variation and the impact of jumps on volatility forecasting," Journal of Econometrics, Elsevier, vol. 159(2), pages 276-288, December.
    5. Shang, Yuhuang & Zheng, Tingguo, 2021. "Mixed-frequency SV model for stock volatility and macroeconomics," Economic Modelling, Elsevier, vol. 95(C), pages 462-472.
    6. Carroll, Christopher D & Fuhrer, Jeffrey C & Wilcox, David W, 1994. "Does Consumer Sentiment Forecast Household Spending? If So, Why?," American Economic Review, American Economic Association, vol. 84(5), pages 1397-1408, December.
    7. Andrew J. Patton & Kevin Sheppard, 2015. "Good Volatility, Bad Volatility: Signed Jumps and The Persistence of Volatility," The Review of Economics and Statistics, MIT Press, vol. 97(3), pages 683-697, July.
    8. Jess Benhabib & Pengfei Wang & Yi Wen, 2015. "Sentiments and Aggregate Demand Fluctuations," Econometrica, Econometric Society, vol. 83, pages 549-585, March.
    9. Yuan, Zheng & Yang, Yuhong, 2005. "Combining Linear Regression Models: When and How?," Journal of the American Statistical Association, American Statistical Association, vol. 100, pages 1202-1214, December.
    10. Steven Lehrer & Tian Xie, 2017. "Box Office Buzz: Does Social Media Data Steal the Show from Model Uncertainty When Forecasting for Hollywood?," The Review of Economics and Statistics, MIT Press, vol. 99(5), pages 749-755, December.
    11. Xie, Tian, 2015. "Prediction model averaging estimator," Economics Letters, Elsevier, vol. 131(C), pages 5-8.
    12. William A. Brock & Steven N. Durlauf, 2001. "Discrete Choice with Social Interactions," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 68(2), pages 235-260.
    13. repec:hal:journl:peer-00741630 is not listed on IDEAS
    14. Scharth, Marcel & Medeiros, Marcelo C., 2009. "Asymmetric effects and long memory in the volatility of Dow Jones stocks," International Journal of Forecasting, Elsevier, vol. 25(2), pages 304-327.
    15. Francesco Audrino & Simon D. Knaus, 2016. "Lassoing the HAR Model: A Model Selection Perspective on Realized Volatility Dynamics," Econometric Reviews, Taylor & Francis Journals, vol. 35(8-10), pages 1485-1521, December.
    16. Tim Bollerslev & Julia Litvinova & George Tauchen, 2006. "Leverage and Volatility Feedback Effects in High-Frequency Data," Journal of Financial Econometrics, Oxford University Press, vol. 4(3), pages 353-384.
    17. Shapiro, Adam Hale & Sudhof, Moritz & Wilson, Daniel J., 2022. "Measuring news sentiment," Journal of Econometrics, Elsevier, vol. 228(2), pages 221-243.
    18. Zhang, Xinyu, 2021. "A New Study On Asymptotic Optimality Of Least Squares Model Averaging," Econometric Theory, Cambridge University Press, vol. 37(2), pages 388-407, April.
    19. Fulvio Corsi, 2009. "A Simple Approximate Long-Memory Model of Realized Volatility," Journal of Financial Econometrics, Oxford University Press, vol. 7(2), pages 174-196, Spring.
    20. Steven Lehrer & Tian Xie & Tao Zeng, 2021. "Does High-Frequency Social Media Data Improve Forecasts of Low-Frequency Consumer Confidence Measures? [Regression Models with Mixed Sampling Frequencies]," Journal of Financial Econometrics, Oxford University Press, vol. 19(5), pages 910-933.
    21. Hansen, Bruce E., 2008. "Least-squares forecast averaging," Journal of Econometrics, Elsevier, vol. 146(2), pages 342-350, October.
    22. Xie, Tian, 2017. "Heteroscedasticity-robust model screening: A useful toolkit for model averaging in big data analytics," Economics Letters, Elsevier, vol. 151(C), pages 119-122.
    23. Martha A. Starr, 2012. "Consumption, Sentiment, And Economic News," Economic Inquiry, Western Economic Association International, vol. 50(4), pages 1097-1111, October.
    24. E. Philip Howrey, 2001. "The Predictive Power of the Index of Consumer Sentiment," Brookings Papers on Economic Activity, Economic Studies Program, The Brookings Institution, vol. 32(1), pages 175-216.
    25. Mihaela Craioveanu & Eric Hillebrand, 2012. "Why It Is Ok To Use The Har-Rv(1,5,21) Model," Working Papers 1201, University of Central Missouri, Department of Economics & Finance, revised Aug 2012.
    26. Dacorogna, Michael M. & Muller, Ulrich A. & Nagler, Robert J. & Olsen, Richard B. & Pictet, Olivier V., 1993. "A geographical model for the daily and weekly seasonal volatility in the foreign exchange market," Journal of International Money and Finance, Elsevier, vol. 12(4), pages 413-438, August.
    27. McAleer, Michael & Medeiros, Marcelo C., 2008. "A multiple regime smooth transition Heterogeneous Autoregressive model for long memory and asymmetries," Journal of Econometrics, Elsevier, vol. 147(1), pages 104-119, November.
    28. Bacchiocchi, Emanuele & Bastianin, Andrea & Missale, Alessandro & Rossi, Eduardo, 2020. "Structural analysis with mixed-frequency data: A model of US capital flows," Economic Modelling, Elsevier, vol. 89(C), pages 427-443.
    29. Durlauf, Steven N. & Navarro, Salvador & Rivers, David A., 2016. "Model uncertainty and the effect of shall-issue right-to-carry laws on crime," European Economic Review, Elsevier, vol. 81(C), pages 32-67.
    30. Liang, Qi & Sun, Wenjia & Li, Wenyu & Yu, Fengyan, 2021. "Media effects matter: Macroeconomic announcements in the gold futures market," Economic Modelling, Elsevier, vol. 96(C), pages 1-12.
    31. Zhang, Xinyu & Wan, Alan T.K. & Zou, Guohua, 2013. "Model averaging by jackknife criterion in models with dependent data," Journal of Econometrics, Elsevier, vol. 174(2), pages 82-94.
    32. Andersen, Torben G. & Bollerslev, Tim & Diebold, Francis X. & Ebens, Heiko, 2001. "The distribution of realized stock return volatility," Journal of Financial Economics, Elsevier, vol. 61(1), pages 43-76, July.
    33. Lan, Yueqin & Huang, Yong & Yan, Chao, 2021. "Investor sentiment and stock price: Empirical evidence from Chinese SEOs," Economic Modelling, Elsevier, vol. 94(C), pages 703-714.
    34. Qiu, Yue, 2020. "Forecasting the Consumer Confidence Index with tree-based MIDAS regressions," Economic Modelling, Elsevier, vol. 91(C), pages 247-256.
    35. Souleles, Nicholas S, 2004. "Expectations, Heterogeneous Forecast Errors, and Consumption: Micro Evidence from the Michigan Consumer Sentiment Surveys," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 36(1), pages 39-72, February.
    36. Patton, Andrew J., 2011. "Volatility forecast comparison using imperfect volatility proxies," Journal of Econometrics, Elsevier, vol. 160(1), pages 246-256, January.
    37. Yang, Bo & Sun, Ji & Guo, Jie (Michael) & Fu, Jiayi, 2019. "Can financial media sentiment predict merger and acquisition performance?," Economic Modelling, Elsevier, vol. 80(C), pages 121-129.
    38. Nofer, Michael & Hinz, Oliver, 2015. "Using Twitter to Predict the Stock Market: Where is the Mood Effect?," Publications of Darmstadt Technical University, Institute for Business Studies (BWL) 77140, Darmstadt Technical University, Department of Business Administration, Economics and Law, Institute for Business Studies (BWL).
    39. Benhabib, Jess & Liu, Xuewen & Wang, Pengfei, 2016. "Sentiments, financial markets, and macroeconomic fluctuations," Journal of Financial Economics, Elsevier, vol. 120(2), pages 420-443.
    40. 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.
    41. Philipp Lorenz-Spreen & Bjarke Mørch Mønsted & Philipp Hövel & Sune Lehmann, 2019. "Accelerating dynamics of collective attention," Nature Communications, Nature, vol. 10(1), pages 1-9, December.
    42. Amemiya, Takeshi, 1980. "Selection of Regressors," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 21(2), pages 331-354, June.
    43. Vortelinos, Dimitrios I., 2017. "Forecasting realized volatility: HAR against Principal Components Combining, neural networks and GARCH," Research in International Business and Finance, Elsevier, vol. 39(PB), pages 824-839.
    44. Weinbaum, David, 2009. "Investor heterogeneity, asset pricing and volatility dynamics," Journal of Economic Dynamics and Control, Elsevier, vol. 33(7), pages 1379-1397, July.
    45. Michael Luca & Georgios Zervas, 2016. "Fake It Till You Make It: Reputation, Competition, and Yelp Review Fraud," Management Science, INFORMS, vol. 62(12), pages 3412-3427, December.
    46. Michael Nofer & Oliver Hinz, 2015. "Using Twitter to Predict the Stock Market," Business & Information Systems Engineering: The International Journal of WIRTSCHAFTSINFORMATIK, Springer;Gesellschaft für Informatik e.V. (GI), vol. 57(4), pages 229-242, August.
    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. Müller, Fernanda Maria & Santos, Samuel Solgon & Righi, Marcelo Brutti, 2023. "A description of the COVID-19 outbreak role in financial risk forecasting," The North American Journal of Economics and Finance, Elsevier, vol. 66(C).
    2. He, Mengxi & Wang, Yudong & Zeng, Qing & Zhang, Yaojie, 2023. "Forecasting aggregate stock market volatility with industry volatilities: The role of spillover index," Research in International Business and Finance, Elsevier, vol. 65(C).
    3. Ma, Dan & Zhang, Chuan & Hui, Yarong & Xu, Bing, 2022. "Economic uncertainty spillover and social networks," Journal of Business Research, Elsevier, vol. 145(C), pages 454-467.
    4. Zhang, Zhikai & He, Mengxi & Zhang, Yaojie & Wang, Yudong, 2021. "Realized skewness and the short-term predictability for aggregate stock market volatility," Economic Modelling, Elsevier, vol. 103(C).
    5. Kyriazis, Nikolaos & Papadamou, Stephanos & Tzeremes, Panayiotis & Corbet, Shaen, 2023. "The differential influence of social media sentiment on cryptocurrency returns and volatility during COVID-19," The Quarterly Review of Economics and Finance, Elsevier, vol. 89(C), pages 307-317.
    6. Halil D Kaya & Abhinav Maramraju & Anish Nallapu, 2023. "Social Media, Trading Volume, Volatility And Stock Prices," Annals - Economy Series, Constantin Brancusi University, Faculty of Economics, vol. 6, pages 40-50, December.

    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. Tian Xie, 2019. "Forecast Bitcoin Volatility with Least Squares Model Averaging," Econometrics, MDPI, vol. 7(3), pages 1-20, September.
    2. Francesco Audrino & Yujia Hu, 2016. "Volatility Forecasting: Downside Risk, Jumps and Leverage Effect," Econometrics, MDPI, vol. 4(1), pages 1-24, February.
    3. 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.
    4. Christophe Chorro & Florian Ielpo & Benoît Sévi, 2017. "The contribution of jumps to forecasting the density of returns," Post-Print halshs-01442618, HAL.
    5. Richard T. Baillie & Dooyeon Cho & Seunghwa Rho, 2023. "Approximating long-memory processes with low-order autoregressions: Implications for modeling realized volatility," Empirical Economics, Springer, vol. 64(6), pages 2911-2937, June.
    6. Ji‐Eun Choi & Dong Wan Shin, 2018. "Forecasts for leverage heterogeneous autoregressive models with jumps and other covariates," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 37(6), pages 691-704, September.
    7. Steven F. Lehrer & Tian Xie, 2022. "The Bigger Picture: Combining Econometrics with Analytics Improves Forecasts of Movie Success," Management Science, INFORMS, vol. 68(1), pages 189-210, January.
    8. Chun, Dohyun & Cho, Hoon & Ryu, Doojin, 2023. "Discovering the drivers of stock market volatility in a data-rich world," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 82(C).
    9. Qiu, Yue & Wang, Zongrun & Xie, Tian & Zhang, Xinyu, 2021. "Forecasting Bitcoin realized volatility by exploiting measurement error under model uncertainty," Journal of Empirical Finance, Elsevier, vol. 62(C), pages 179-201.
    10. Christophe Chorro & Florian Ielpo & Benoît Sévi, 2017. "The contribution of jumps to forecasting the density of returns," Université Paris1 Panthéon-Sorbonne (Post-Print and Working Papers) halshs-01442618, HAL.
    11. Yang, Ke & Tian, Fengping & Chen, Langnan & Li, Steven, 2017. "Realized volatility forecast of agricultural futures using the HAR models with bagging and combination approaches," International Review of Economics & Finance, Elsevier, vol. 49(C), pages 276-291.
    12. Yudong Wang & Zhiyuan Pan & Chongfeng Wu, 2017. "Time‐Varying Parameter Realized Volatility Models," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 36(5), pages 566-580, August.
    13. Fengler, Matthias R. & Mammen, Enno & Vogt, Michael, 2013. "Additive modeling of realized variance: tests for parametric specifications and structural breaks," Economics Working Paper Series 1332, University of St. Gallen, School of Economics and Political Science.
    14. Wilms, Ines & Rombouts, Jeroen & Croux, Christophe, 2021. "Multivariate volatility forecasts for stock market indices," International Journal of Forecasting, Elsevier, vol. 37(2), pages 484-499.
    15. Danyan Wen & Mengxi He & Yaojie Zhang & Yudong Wang, 2022. "Forecasting realized volatility of Chinese stock market: A simple but efficient truncated approach," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 41(2), pages 230-251, March.
    16. Cheng, Mingmian & Swanson, Norman R. & Yang, Xiye, 2021. "Forecasting volatility using double shrinkage methods," Journal of Empirical Finance, Elsevier, vol. 62(C), pages 46-61.
    17. Lyócsa, Štefan & Plíhal, Tomáš & Výrost, Tomáš, 2021. "FX market volatility modelling: Can we use low-frequency data?," Finance Research Letters, Elsevier, vol. 40(C).
    18. Andrew J. Patton & Kevin Sheppard, 2015. "Good Volatility, Bad Volatility: Signed Jumps and The Persistence of Volatility," The Review of Economics and Statistics, MIT Press, vol. 97(3), pages 683-697, July.
    19. Pan, Zhiyuan & Liu, Li, 2018. "Forecasting stock return volatility: A comparison between the roles of short-term and long-term leverage effects," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 492(C), pages 168-180.
    20. Hu, Junjie & Kuo, Weiyu & Härdle, Wolfgang Karl, 2019. "Risk of Bitcoin Market: Volatility, Jumps, and Forecasts," IRTG 1792 Discussion Papers 2019-024, Humboldt University of Berlin, International Research Training Group 1792 "High Dimensional Nonstationary Time Series".

    More about this item

    Keywords

    Model averaging; Volatility forecasting; Social media; Big data; Sentiment analysis;
    All these keywords.

    JEL classification:

    • C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • G12 - Financial Economics - - General Financial Markets - - - Asset Pricing; Trading Volume; Bond Interest Rates
    • G17 - Financial Economics - - General Financial Markets - - - Financial Forecasting and Simulation

    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:eee:ecmode:v:102:y:2021:i:c:s0264999321001450. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/inca/30411 .

    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.