Analyzing almost 10 million tweets, research finds public mood can predict Dow days in advance

October 19, 2010

Research via Twitter finds public mood can predict Dow days in advance

Enlarge

A graph of Dow Jones Industrial Average values (center, blue) and tweets identified with a "calm" mood during a time series (bottom, red) running three days prior are overlaid in the top graph to show gray areas of significant overlap.

Measurements of the collective public mood derived from millions of tweets can predict the rise and fall of the Dow Jones Industrial Average up to a week in advance with an accuracy approaching 90 percent, Indiana University information scientists have found.

Researchers at IU Bloomington's School of Informatics and Computing found the correlation between the value of the Dow Jones Industrial Average (DJIA) and public sentiment after analyzing more than 9.8 million tweets from 2.7 million users during 10 months in 2008.

Using two mood-tracking tools to analyze the text content of the large-scale collection of feeds, Associate Professor Johan Bollen and Ph.D. candidate Huina Mao were able to measure variations in public mood and then compare them to closing stock market values.

One tool, OpinionFinder, analyzed the tweets to provide a positive or negative daily time series of public mood. The second tool, Google-Profile of Mood States (GPOMS), measured the mood of tweets in six dimensions: calm, alert, sure, vital, kind, and happy. Together, the two tools provided the researchers with seven public mood time series that could then be set against a similar daily time series of Dow Jones closing values.

The researchers then correlated the two sets of values -- Dow Jones and public mood -- and used a self-organizing network model to test a hypothesis that predicting stock market closing values could be improved by including public mood measurements.

"We were not interested in proposing an optimal Dow Jones prediction model, but rather to assess the effects of including public mood information on the accuracy of the baseline prediction model," Bollen said. "What we found was an accuracy of 87.6 percent in predicting the daily up and down changes in the closing values of the Dow Jones Industrial Average."

By implementing a called a Self-Organizing Fuzzy Neural Network (SOFFNN) similar to one already used to successfully forecast electrical load needs, the researchers were able to demonstrate that public mood had the ability to significantly improve the accuracy of the most basic models currently in use to predict Dow Jones closing values. Bollen described this particular SOFFNN as a five-layer hybrid neural network with the ability to self-organize its own neurons during a learning process that included information of past Dow Jones and public mood time series values.

"Given the performance increase for a relatively basic model such as the SOFNN, we are hopeful to find equal or better improvements for more sophisticated market models that may in fact include other information derived from news sources and a variety of relevant economic indicators," he said.

The researchers found the OpinionFinder positive/negative sentiment input had no effect on prediction accuracy, while the Calm and the Calm-Happy combination of the GPOMS had the highest prediction accuracy.

"In fact, the calmness index appears to be a good predictor of whether the goes up or down between two and six days later," Bollen said.

The odds of the prediction accuracy rate of 87.6 percent being sheer chance were then calculated for a random period of 20 days and determined to be just 3.4 percent.

More information: The research paper is available for download here.

Provided by Indiana University search and more info website

Filter


Move the slider to adjust rank threshold, so that you can hide some of the comments.


Display comments: newest first

SincerelyTwo
Oct 19, 2010

Rank: not rated yet
Ah, of course, the solution to the recession is making people happy!

... but how do we make them happy? By giving people more money. But on the road through a recession there are fewer jobs available... less money to give. Crap taco.
ErickS
Oct 19, 2010

Rank: 4 / 5 (1)
Ah, this is a prediction algorithm system based upon a variant of the wisdom of the crowds concept. Usually systems like this only work during a specific time interval since all kinds of feedback loops kick in after a certain amount of time.
CarolinaScotsman
Oct 19, 2010

Rank: not rated yet
I still like the one that says the Dow rises and falls with hem lines. Gives me an excuse to look.
droid001
Oct 19, 2010

Rank: not rated yet
"can predict the Dow Jones Industrial Average with an accuracy approaching 90 percent"
So Indiana University scientists already millionaires?
Quantum_Conundrum
Oct 19, 2010

Rank: not rated yet
"can predict the Dow Jones Industrial Average with an accuracy approaching 90 percent"
So Indiana University scientists already millionaires?


Being able to predict the average wouldn't necessarily allow you to make money, except possibly by buying and selling Gold repeatedly.

If the DOW average is expected to be up, then normally Gold would be expected to be down. If the average is expected to be down, then Gold would normally be expected to be up.

Else, they might profit marginally by investing equally in all DOW companies if they think it is supposed to rise.

You can predicte the average based on mob mentality, but you can't necessarily predict changes in indiviual companies.
madrespek
Nov 14, 2010

Rank: not rated yet
@conundrum

you can just buy an ETF for the Dow Jones, or S&P 500, whichever index you prefer. An ETF is similar to an ordinary share, but represents holding all the companies in a given index with the weights prescribed by that index. So in effect, you can buy the Dow very easily.
pokerdice1
Nov 15, 2010

Rank: 1 / 5 (1)
and what about Doe futures?
pokerdice1
Nov 15, 2010

Rank: 1 / 5 (1)
Having looked at the charts above, I think that, the chief difficulty would be in sizing and timing exits... as usual.
Rank 4 /5 (15 votes)
Relevant PhysicsForums posts
  • I feel like a dunce. I can't find the error...
    created1 hour ago
  • Solving for variable inside summations
    created6 hours ago
  • ((e^(i*pi))^x)-((e^(-i*pi))^x)=0? how?
    created9 hours ago
  • End of Geometry - Algebra II next year
    created10 hours ago
  • simple geometry problem
    created13 hours ago
  • Numerical differentiation of a dataset
    created22 hours ago
  • More from Physics Forums - General Math

More news stories

Relatively speaking: Researchers identify principles that shape kinship categories across languages

Different languages refer to family relationships in different ways. For example, English speakers use two terms — grandmother and grandfather — to refer to grandparents, while Mandarin Chinese uses four terms. ...

Other Sciences / Social Sciences

created 8 hours ago | popularity 4 / 5 (2) | comments 0 | with audio podcast

Psychologists examine how race affects juvenile sentencing

When it comes to holding children accountable for crimes they commit, race matters.

Other Sciences / Social Sciences

created 6 hours ago | popularity 5 / 5 (1) | comments 0

Social welfare cuts ultimately come with heavy price, researchers say

(Phys.org) -- Slashing government funding for Medicaid, food stamps and other programs that serve the poor – while politically popular with some lawmakers and many conservatives – may do more harm ...

Other Sciences / Social Sciences

created 15 hours ago | popularity 4.3 / 5 (6) | comments 27

Oldest art even older

New dates from Geißenklösterle Cave in Southwest Germany document the early arrival of modern humans and early appearance of art and music.

Other Sciences / Archaeology & Fossils

created 3 hours ago | popularity 5 / 5 (1) | comments 0

CWRU class earns Science magazine prize for innovation

Science magazine has awarded a prize for Inquiry-Based Instruction to a Case Western Reserve University class that melds biology, computer modeling, mathematical analysis and writing.

Other Sciences / Social Sciences

created 8 hours ago | popularity not rated yet | comments 0


Is a classical electrodynamics law incompatible with special relativity?

(Phys.org) -- The laws of classical electromagnetism that were developed in the 19th century are the same laws that scientists use today. They include Maxwell’s four equations along with the Lorentz la ...

HyperSolar shows dirty water no barrier to power world

(Phys.org) -- The Santa Barbara, California, company, HyperSolar, is set to transparently share the ups and downs of its research experiences toward the company’s ultimate vision, successfully producing ...

Organic carbon from Mars, but not biological

Molecules containing large chains of carbon and hydrogen--the building blocks of all life on Earth--have been the targets of missions to Mars from Viking to the present day. While these molecules have previously ...

Asteroid nudged by sunlight: Most precise measurement of Yarkovsky effect

Scientists on NASA's asteroid sample return mission, Origins, Spectral Interpretation, Resource Identification, Security, Regolith Explorer (OSIRIS-REx), have measured the orbit of their destination asteroid, ...

In nanorod crystal growth, nanoparticles seen as artificial atoms

In the growth of crystals, do nanoparticles act as "artificial atoms" forming molecular-type building blocks that can assemble into complex structures? This is the contention of a major but controversial theory ...

First direct observation of oriented attachment in nanocrystal growth

Berkeley Lab researchers have reported the first direct observation of nanoparticles undergoing oriented attachment, the critical step in biomineralization and the growth of nanocrystals. A better understanding ...