HackerPapers

arXiv:1010.3003cs.CE

Twitter mood predicts the stock market

Johan Bollen, Huina Mao, Xiao-Jun Zeng

Abstract

Behavioral economics tells us that emotions can profoundly affect individual behavior and decision-making. Does this also apply to societies at large, i.e., can societies experience mood states that affect their collective decision making? By extension is the public mood correlated or even predictive of economic indicators? Here we investigate whether measurements of collective mood states derived from large-scale Twitter feeds are correlated to the value of the Dow Jones Industrial Average (DJIA) over time. We analyze the text content of daily Twitter feeds by two mood tracking tools, namely OpinionFinder that measures positive vs. negative mood and Google-Profile of Mood States (GPOMS) that measures mood in terms of 6 dimensions (Calm, Alert, Sure, Vital, Kind, and Happy). We cross-validate the resulting mood time series by comparing their ability to detect the public's response to the presidential election and Thanksgiving day in 2008. A Granger causality analysis and a Self-Organizing Fuzzy Neural Network are then used to investigate the hypothesis that public mood states, as measured by the OpinionFinder and GPOMS mood time series, are predictive of changes in DJIA closing values. Our results indicate that the accuracy of DJIA predictions can be significantly improved by the inclusion of specific public mood dimensions but not others. We find an accuracy of 87.6% in predicting the daily up and down changes in the closing values of the DJIA and a reduction of the Mean Average Percentage Error by more than 6%.

arXiv comments
Journal reference
Journal of Computational Science, 2(1), March 2011, Pages 1-8
DOI
doi:10.1016/j.jocs.2010.12.007
Subjects
cs.CEComputational Engineering, Finance, and Science cs.CLComputation and Language cs.SISocial and Information Networks physics.soc-phPhysics and Society

On Hacker News

Linked by 7 identifiable commenters in 8 comments across 8 threads, from Oct 2010 to Mar 2014. Found in 4 HN submissions from Oct 2010 to May 2011. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments8 threads

    • No, actually, I am referring to real time sentiment analysis of any kind - services such as http://www.dataminr.com/ or http://www.infotrie.com/ do this today mostly using online chatter, which you correctly point out probably would not be possible 5 years ago. However, real…

      izydaView on HNParent context

  1. Twitter is a tragic tale 1 comment
    • Twitter Mood Predicts the Stock Market http://www.sciencedirect.com/science/article/pii/S1877750311... (and also in the arXiv http://arxiv.org/abs/1010.3003 )

      Anon84View on HNParent context

  2. MongoDB is the New MySQL 1 comment
    • where we agree then, i think, is the fact that Twitter's just another datapoint. and from a statistical perspective, it cannot be considered representative of the wider population for any number of reasons, not least the fact that it's observational rather than a random sample.…

      sogradyView on HNParent context

    • Well sentiment analysis for news seems to have gained mainstream acceptance, with major providers like Reuters offering apps in that space. For twitter, etc. it's still a relatively new field. There's a paper on it at http://arxiv.org/abs/1010.3003

      ig1View on HNParent context

    • Here is the original paper - http://arxiv.org/pdf/1010.3003v1. The paper claims their code and data is open, but the link is broken and I was unable to find it by browsing their site...which seems to consist of mostly blank pages.

      CagedView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.