The relation between news events and stock price jump: an analysis based on neural network



Similar documents
Neural Networks for Sentiment Detection in Financial Text

Testing for Granger causality between stock prices and economic growth

Prediction Model for Crude Oil Price Using Artificial Neural Networks

Optimization of technical trading strategies and the profitability in security markets

Role of Neural network in data mining

A Prediction Model for Taiwan Tourism Industry Stock Index

Financial Text Mining

Dynamic Relationship between Interest Rate and Stock Price: Empirical Evidence from Colombo Stock Exchange

Is the Forward Exchange Rate a Useful Indicator of the Future Exchange Rate?

6.2.8 Neural networks for data mining

Machine Learning in FX Carry Basket Prediction

Event driven trading new studies on innovative way. of trading in Forex market. Michał Osmoła INIME live 23 February 2016

The Combination Forecasting Model of Auto Sales Based on Seasonal Index and RBF Neural Network

Predictive time series analysis of stock prices using neural network classifier

ANALYSIS OF EUROPEAN, AMERICAN AND JAPANESE GOVERNMENT BOND YIELDS

Analecta Vol. 8, No. 2 ISSN

Department of Economics

Open Access Research on Application of Neural Network in Computer Network Security Evaluation. Shujuan Jin *

Prediction of Stock Performance Using Analytical Techniques

THE U.S. CURRENT ACCOUNT: THE IMPACT OF HOUSEHOLD WEALTH

Examining the Relationship between ETFS and Their Underlying Assets in Indian Capital Market

NEURAL NETWORKS IN DATA MINING

Analysis of Tweets for Prediction of Indian Stock Markets

Data Mining and Neural Networks in Stata

INCORPORATION OF LIQUIDITY RISKS INTO EQUITY PORTFOLIO RISK ESTIMATES. Dan dibartolomeo September 2010

ARTIFICIAL INTELLIGENCE METHODS IN STOCK INDEX PREDICTION WITH THE USE OF NEWSPAPER ARTICLES

A simple application of Artificial Neural Network to cloud classification

Forecasting Stock Prices using a Weightless Neural Network. Nontokozo Mpofu

Forecasting stock markets with Twitter

Relationship between Stock Futures Index and Cash Prices Index: Empirical Evidence Based on Malaysia Data

NEURAL networks [5] are universal approximators [6]. It

Neural Networks and Support Vector Machines

TEMPORAL CAUSAL RELATIONSHIP BETWEEN STOCK MARKET CAPITALIZATION, TRADE OPENNESS AND REAL GDP: EVIDENCE FROM THAILAND

Neural Networks in Data Mining

Forecasting of Indian Rupee (INR) / US Dollar (USD) Currency Exchange Rate Using Artificial Neural Network

On the long run relationship between gold and silver prices A note

Neural Network Applications in Stock Market Predictions - A Methodology Analysis

Performance Based Evaluation of New Software Testing Using Artificial Neural Network

Predict Influencers in the Social Network

Forecasting Of Indian Stock Market Index Using Artificial Neural Network

Neural Networks and Back Propagation Algorithm

2. IMPLEMENTATION. International Journal of Computer Applications ( ) Volume 70 No.18, May 2013

Chapter 12 Discovering New Knowledge Data Mining

Power Prediction Analysis using Artificial Neural Network in MS Excel

degrees of freedom and are able to adapt to the task they are supposed to do [Gupta].

Hong Kong Stock Index Forecasting

Comparing Neural Networks and ARMA Models in Artificial Stock Market

Implied volatility transmissions between Thai and selected advanced stock markets

The effect of Macroeconomic Determinants on the Performance of the Indian Stock Market

Bank Customers (Credit) Rating System Based On Expert System and ANN

Co-movements of NAFTA trade, FDI and stock markets

How To Predict Stock Price With Mood Based Models

Supply Chain Forecasting Model Using Computational Intelligence Techniques

Predicting the Stock Market with News Articles

Financial Trading System using Combination of Textual and Numerical Data

Sentiment Analysis of Twitter Feeds for the Prediction of Stock Market Movement

International Journal of Computer Science Trends and Technology (IJCST) Volume 3 Issue 3, May-June 2015

Chapter 2 The Research on Fault Diagnosis of Building Electrical System Based on RBF Neural Network

Price Prediction of Share Market using Artificial Neural Network (ANN)

1. Classification problems

Business cycles and natural gas prices

Lending Decision Model for Agricultural Sector in Thailand

The Orthogonal Response of Stock Returns to Dividend Yield and Price-to-Earnings Innovations

Stock Prediction using Artificial Neural Networks

Working Papers. Cointegration Based Trading Strategy For Soft Commodities Market. Piotr Arendarski Łukasz Postek. No. 2/2012 (68)

Artificial Neural Networks and Support Vector Machines. CS 486/686: Introduction to Artificial Intelligence

THE PRICE OF GOLD AND STOCK PRICE INDICES FOR

DEPARTMENT OF BANKING AND FINANCE

A Proposed Prediction Model for Forecasting the Financial Market Value According to Diversity in Factor

Stock Market Forecasting Using Machine Learning Algorithms

8. Machine Learning Applied Artificial Intelligence

The price-volume relationship of the Malaysian Stock Index futures market

AN APPLICATION OF TIME SERIES ANALYSIS FOR WEATHER FORECASTING

Data Mining using Artificial Neural Network Rules

Learning to Process Natural Language in Big Data Environment

Using Tweets to Predict the Stock Market

Neural network software tool development: exploring programming language options

USING LOGIT MODEL TO PREDICT CREDIT SCORE

Classification algorithm in Data mining: An Overview

AUTOMATION OF ENERGY DEMAND FORECASTING. Sanzad Siddique, B.S.

Network Machine Learning Research Group. Intended status: Informational October 19, 2015 Expires: April 21, 2016

A New Method for Traffic Forecasting Based on the Data Mining Technology with Artificial Intelligent Algorithms

Introduction to Machine Learning and Data Mining. Prof. Dr. Igor Trajkovski

ijcrb.com INTERDISCIPLINARY JOURNAL OF CONTEMPORARY RESEARCH IN BUSINESS AUGUST 2014 VOL 6, NO 4

Econometrics I: Econometric Methods

Stock market interdependence between Australia and its trading partners: does trade intensity matter?

The Relationships between Economic Growth and Environmental Pollution Based on Time Series Data:An Empirical Study of Zhejiang Province

Machine learning for algo trading

Soft Computing In The Forecasting Of The Stock Exchange Of Thailand

A New Approach For Estimating Software Effort Using RBFN Network

Transcription:

20th International Congress on Modelling and Simulation, Adelaide, Australia, 1 6 December 2013 www.mssanz.org.au/modsim2013 The relation between news events and stock price jump: an analysis based on neural network Wanbin (Walter) Wang a, Kin-Yip Ho a, Wai-Man (Raymond) Liu a, Kun (Tracy) Wangb a Research School of Finance, Actuarial Studies and Applied Statistics The Australian National University Canberra, Australia 0200 b Research School of Accounting and Business Information Systems The Australian National University Canberra, Australia 0200 Email: walter.wang@anu.edu.au Abstract: The efficient-market hypothesis states that price movements are extremely efficient in reflecting information flows. Some studies have shown that stock prices are related to news events such as earnings announcements, political events and corporate takeovers, while others have failed to find convincing evidence to relate price changes to news. The aim of this study is to explore the relation between news and abnormal financial market volatility. We first investigate the Granger causality between news and stock returns. Our results show that stock price change is the Granger cause of news volume and news sentiment; news volume is not the Granger cause of stock price change while news sentiment is the Granger cause of stock price change. Moreover, we utilize an artificial neural network model to predict stock market collapses by using different volatility parameters. The findings from this study will further our understanding of stock price movements and the reasons for stock market collapses. Keywords: Stock price jump, News sentiment, Granger causality, Neural network 1406

1. INTRODUCTION The efficient-market hypothesis (Fama, 1970) states that securities markets are extremely efficient in reflecting information about individual stocks and the stock market as a whole. Some studies have shown that stock prices jumps are related to unexpected extreme news (Asgharian et al., 2011), prescheduled earnings announcements (Francis et al., 1992, Skinner, 1994), political events (Kim and Mei, 2001), or corporate takeovers (Pound and Zeckhauser, 1990). However others have failed to find convincing evidence to relate price changes to news (Joulin et al., 2008). Stock market collapses can cause significant loss of investor wealth, and deeply affect listed corporations and the whole economy. Some researchers argue that the reason of stock market collapse is a significant portion of investors revising their expectations on future cash flows (Chen et al., 2013). Zouaoui et al. (2011) examine the influence of investor sentiment on the probability of stock market crises. They find that investor sentiment increases the probability of occurrence of stock market crises within a one-year horizon. It seems natural accordingly to conclude that the information of investors such as news events affect their sentiment. The objectives of this study are to investigate the ability of news events to predict stock price jumps and the occurrence of stock market collapses. To achieve these objectives, we first use causality tests to find factors affecting stock price movements, and then we build an artificial neural network to predict stock price jumps using these factors. The remainder of this paper proceeds as follows. In the second section, we discuss the Granger causality test model and report the results of causality tests for news and stock returns. Causality tests can provide useful information on whether knowledge of company news improves short-run forecasts of current and future movements in stock prices, and vice versa. In the third section, we discuss our artificial neural networks model and report the prediction ability of our model. The last section concludes this study and discusses potential future research directions. 2. THE GRANGER GAUSALITY TEST FOR NEWS AND STOCK RETURNS 2.1. Granger Causality Granger (1969) defines the causality for two scalar-valued, stationary, and ergodic time series { } and { } using a simple model: = + + = + + Where, are two uncorrelated white-noise series. If some is not zero, the knowledge of past Y values helps to predict current and future X valuses, and Y is said to Granger cause X. Similarly, X causes Y if some is not zero. Linear least squares predictors are used in implementing this test. The Granger causality test has been used to find factors causing stock price changes. Hiemstra and Jones (1994) show unidirectional Granger causality from stock returns and percentage volume changes. Ray (2012) report bi-directional causality exist between stock price and foreign exchange reserve, stock price and money supply, stock price and crude oil price, and stock price and whole price index. 2.2. Data and Methodology We use daily closing prices (2004-2012) of the Dow Jones Price Index. We compute stock returns as 100 times the first difference of the natural logarithm of the daily stock price, i.e. 100 ln ( ) and obtain stock price return series {_ }. The news data used in this study are provided by RavenPack Inc., a leading provider of news analytic data. The data in RavenPack database are derived from all news articles and press releases that appeared in the Dow Jones newswire. The database contains a unique observation for every article and includes the date and time each news article was released, a unique firm identifier, and several variables that quantify the content and form of the article. For example, the "relevance" score ranging from 0 to 100 indicates how strongly an entity is related to the underlying news story, and a score of 100 1407

indicates the article is highly relevant. For a news story with a relevance score of 100, the "ENS-Event Novelty Score" represents how novel this news story is. The first story reporting a categorized event receives a novel score of 100. The novelty scores of subsequent stories about the same event following a decay function (i.e. 100 75 56 42 32 24 18 13 10 8 6 4 3 2 2 1 1 1 1 0 ). The "ESS Event Sentiment Score" represents the news sentiment for a given entity, ranging from 0 to 100, where 0 indicates extremely negative news, 50 indicates neutral news, and 100 indicates extremely positive news. During 2004-2012, there are 20,354,107 news articles in RavenPack database. Among them, there are 856,071 (4.21%) news articles whose relevance score is 100, and 342,098 (1.68%) news articles whose event novelty score is 100. Among news articles with novelty score of 100, the number of positive news articles, negative news articles and neutral news articles are 151,309 (44.23%), 150,458 (43.98%) and 40,331(11.79%) respectively. In this study, we explore the relation between stock return with news volume and the relation between stock returns and news sentiment. We calculate the number of news in a trading day and obtain time series {_ }. The news sentiment series {_ } are calculated as the ( 50) in a trading day, i.e. the sum of the event sentiment score minus 50. We examine whether there exists any causal linkage between stock prices and news by conducting the Granger causality test. 2.3. Empirical Results We first conduct Dickey-Fuller tests (Dickey and Fuller, 1979) to examine whether there a unit root present in the three time series {_ },{_ } and {_ }. The results indicate that the null hypothesis of a unit root is rejected for all three series. Table 1 reports the results of our Granger causality tests for stock price returns, news volume, and news sentiments. It shows that at 5% significance level, stock price change is the Granger cause of news volume and news sentiment. News volume is not the Granger causality of stock price change while news sentiment is the Granger cause of stock price change. Table 1. The results of Granger causality tests Null hypothesis Stock return does not Granger cause news volume Stock return does not Granger cause news sentiment News volume does not Granger cause stock return News sentiment does not Granger cause stock return Significance level Results 0.05 Reject 0.01 Accept 0.05 Reject 0.01 Accept 0.05 Accept 0.01 Accept 0.05 Reject 0.01 Reject 3. THE ANN MODEL TO PREDICT STOCK PRICE JUMPS 3.1. Artificial Neural Network The Artificial Neural networks (ANN) mimic the human brain and nervous system. Neural networks have been used to solve complicated practical problems in various fields, such as character recognition, machine faults diagnosis, etc. A neural network consists of a set of fundamental processing elements (called neurons) and processes information using a connectionist approach to computation. Most neural networks contain three types of layers: input, hidden, and output (as shown in Figure 1). Each neuron in a hidden layer receives the input data attributes from each of the neurons in an input layer and the attributes are added through applied weights and converted to an output value by an activation function (u). Then, the output is passed to neurons in the next layer, providing a feed forward path to the output layer (z). 1408

x 1 w 1 x 2 w 2 u Activation function z w m x m Figure 1. The structure of a neuron with its summation node. Input 1 Input 2 Output Input N Input Layer Hidden Layer Output Layer Figure 2. The structure of a neuron network. In general, the activation function is a nonlinear function. Activation functions that are commonly used include the threshold function, the piecewise-linear function and the sigmoid function. A neural network is an adaptive system that changes its weights based on external or internal information that flows through the network during the learning phase. These learning rules include supervised learning, unsupervised learning, reinforcement learning. In supervised learning the network is trained by being provided with input and matching output patterns. In this study, the PNN (probabilistic neural network) is implemented using the MATLAB Neural Network Toolbox, where the network structures were set to the default. A probabilistic neural network is based on the classical Bayesian classifier, whose goal is to statistically minimize the risk of misclassifications. PNN creates a two-layer network. The first layer has radial basis network neurons, and calculates its weighted inputs by vector distance between its weight vector and the input vector, multiplied by the bias. The second layer has competitive transfer function neurons, and calculates its weighted input with dot product weight function and its network inputs with the sum of network inputs. 3.2. Data and Methodology In this study we define stock price "jumps" as stock price change bigger than 2% in one trading day, i.e., ( ) >2%. We use whether stock prices "jump" or not as our training patterns. Figure 3 shows our neural network classification framework for the prediction of stock price jumps. The neural network model is trained on the training data and subsequently tested to measure its performance on the testing data. In this study, we employ 80% of the data from the data set as the training set; the remaining 20% as the testing set. Given these preparations, this study uses stock price returns in the last three trading days (i.e.,_, _, _ ) and news sentiments in the last trading days 1409

(i.e., _ ) as input features in the probabilistic neural network. Totally this approach comes to 4 indices. So there will be 4 input nodes and one output node. We do not normalize the data because neural networks are able to recognize the high-level feature. Training Phase Input Features (stock return, news sentiment) Training Patterns (Price jump or not) Testing Phase Input Features (stock return, news sentiment) Probabilistic Neural Trained Probabilistic Neural Network Predicted Patterns (Price jump or not) Figure 3. The probabilistic neural network classification framework for the prediction of stock price jumps 3.3. Empirical Results For the application of binary classification, sensitivity and specificity are used to measure the performance. In this study, we define the pattern as: "price jumps" and "price not jumps". Then we calculate = = = " " " "+Number of false " " " " " + " " " " + " " Table 2 shows the performance characteristics of our PNN prediction model. The specificity is good but the sensitivity is not good enough to predict stock price jump. Table 2. Performance Characteristics of the PNN prediction model Sensitivity Specificity Prediction rate PNN 37.04% 89.25% 84.66% 4. CONCLUSION AND FUTURE WORKS This study applies Granger causality tests and the PNN forecast model to investigate the predictability of stock price jumps. The Granger causality tests show that news sentiment is the Granger cause of stock price change, and stock price change is the Granger cause of news volume and news sentiment. The results of our PNN forecast model is promising. Estimating stock market volatility has received considerable attention by both academics and practitioners. There is much work to improve the prediction accuracy of our model, especially the sensitivity of our predictions. One possible direction is the use of high frequency data of stock price and news in the forecast model. 1410

REFERENCES Asgharian, H., Holmfeldt, M. & Larson, M. 2011. An event study of price movements following realized jumps. Quantitative Finance, 11, 933-946. Chen, L., Da, Z. & Zhao, X. 2013. What Drives Stock Price Movements? Review of Financial Studies, 26, 841-876. Dickey, D. A. & Fuller, W. A. 1979. Distribution of the estimators for autoregressive time series with a unit root. Journal of the American statistical association, 74, 427-431. Fama, E. F. 1970. Efficient capital markets: A review of theory and empirical work. Journal of Finance, 25, 383-417. Francis, J., Pagach, D. & Stephan, J. 1992. The stock market response to earnings announcements released during trading versus nontrading periods. Journal of Accounting Research, 30, 165-184. Granger, C. W. 1969. Investigating causal relations by econometric models and cross-spectral methods. Econometrica: Journal of the Econometric Society, 424-438. Hiemstra, C. & Jones, J. D. 1994. Testing for Linear and Nonlinear Granger Causality in the Stock Price Volume Relation. The Journal of Finance, 49, 1639-1664. Joulin, A., Lefevre, A., Grunberg, D. & Bouchaud, J. P. 2008. Stock price jumps: news and volume play a minor role. Arxiv Preprint Arxiv:0803.1769. Kim, H. & Mei, J. 2001. What makes the stock market jump? An analysis of political risk on Hong Kong stock returns. Journal of International Money and Finance, 20, 1003-1016. Pound, J. & Zeckhauser, R. 1990. Clearly heard on the street: The effect of takeover rumors on stock prices. Journal of Business, 63, 291-308. Ray, S. 2012. Testing Granger Causal Relationship between Macroeconomic Variables and Stock Price Behaviour: Evidence from India. Advances in Applied Economics and Finance, 3, 470-481. Skinner, D. 1994. Why firms voluntarily disclose bad news. Journal of Accounting Research, 32, 38-60. Zouaoui, M., Nouyrigat, G. & Beer, F. 2011. How Does Investor Sentiment Affect Stock Market Crises? Evidence from Panel Data. Financial Review, 46, 723-747. 1411