Forecasting Stock Exchange Movements Using Artificial Neural Network Models and Hybrid Models

Similar documents
DEPARTMENT OF ECONOMICS AND FINANCE COLLEGE OF BUSINESS AND ECONOMICS UNIVERSITY OF CANTERBURY CHRISTCHURCH, NEW ZEALAND

Asymmetry and Leverage in Conditional Volatility Models*

PREDICTION OF HIGH-FREQUENCY DATA: APPLICATION TO EXCHANGE RATES TIME SERIES

CHAPTER 10 VALIDATION OF TEST WITH ARTIFICAL NEURAL NETWORK

DEPARTMENT OF STATISTICS

BOOTSTRAP PREDICTION INTERVALS FOR TIME SERIES MODELS WITH HETROSCEDASTIC ERRORS. Department of Statistics, Islamia College, Peshawar, KP, Pakistan 2

Chapter 5. Heterocedastic Models. Introduction to time series (2008) 1

Volatility. Many economic series, and most financial series, display conditional volatility

Tourism forecasting using conditional volatility models

Management Science Letters

Modeling the Volatility of Shanghai Composite Index

Smooth Transition Autoregressive-GARCH Model in Forecasting Non-linear Economic Time Series Data

Linear Combinations of Volatility Forecasts for the WIG20 and Polish Exchange Rates

Robust estimation based on the first- and third-moment restrictions of the power transformation model

STRUCTURAL CHANGE IN TIME SERIES OF THE EXCHANGE RATES BETWEEN YEN-DOLLAR AND YEN-EURO IN

Testing for a Single Factor Model in the Multivariate State Space Framework

Vectorautoregressive Model and Cointegration Analysis. Time Series Analysis Dr. Sevtap Kestel 1

Which Methodology is Better for Combining Linear and Nonlinear Models for Time Series Forecasting?

FORECASTS GENERATING FOR ARCH-GARCH PROCESSES USING THE MATLAB PROCEDURES

Shiva Akhtarian MSc Student, Department of Computer Engineering and Information Technology, Payame Noor University, Iran

Chapter 15. Time Series: Descriptive Analyses, Models, and Forecasting

Asymmetry and Leverage in Conditional Volatility Models

Kriging Models Predicting Atrazine Concentrations in Surface Water Draining Agricultural Watersheds

Scholars Journal of Economics, Business and Management e-issn

A Specification Test for Linear Dynamic Stochastic General Equilibrium Models

Distribution of Estimates

Financial Econometrics Jeffrey R. Russell Midterm Winter 2009 SOLUTIONS

Computer Simulates the Effect of Internal Restriction on Residuals in Linear Regression Model with First-order Autoregressive Procedures

Granger Causality Among Pre-Crisis East Asian Exchange Rates. (Running Title: Granger Causality Among Pre-Crisis East Asian Exchange Rates)

Modeling Economic Time Series with Stochastic Linear Difference Equations

Wavelet Variance, Covariance and Correlation Analysis of BSE and NSE Indexes Financial Time Series

The Rosenblatt s LMS algorithm for Perceptron (1958) is built around a linear neuron (a neuron with a linear

Air Traffic Forecast Empirical Research Based on the MCMC Method

Solutions to Odd Number Exercises in Chapter 6

Frequency independent automatic input variable selection for neural networks for forecasting

Robust critical values for unit root tests for series with conditional heteroscedasticity errors: An application of the simple NoVaS transformation

Application of a Stochastic-Fuzzy Approach to Modeling Optimal Discrete Time Dynamical Systems by Using Large Scale Data Processing

Introduction D P. r = constant discount rate, g = Gordon Model (1962): constant dividend growth rate.

Georey E. Hinton. University oftoronto. Technical Report CRG-TR February 22, Abstract

Inventory Control of Perishable Items in a Two-Echelon Supply Chain

STATE-SPACE MODELLING. A mass balance across the tank gives:

14 Autoregressive Moving Average Models

NONLINEAR EXTENSION OF ASYMMETRIC GARCH MODEL WITHIN NEURAL NETWORK FRAMEWORK

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

Speaker Adaptation Techniques For Continuous Speech Using Medium and Small Adaptation Data Sets. Constantinos Boulis

A Quantile Regression Neural Network Approach to Estimating. the Conditional Density of Multiperiod Returns. James W. Taylor. Saïd Business School

Forecasting optimally

Air Quality Index Prediction Using Error Back Propagation Algorithm and Improved Particle Swarm Optimization

Predicting Time Series Using Integration of Moving Average and Support Vector Regression

Particle Swarm Optimization Combining Diversification and Intensification for Nonlinear Integer Programming Problems

A unit root test based on smooth transitions and nonlinear adjustment

Applying Genetic Algorithms for Inventory Lot-Sizing Problem with Supplier Selection under Storage Capacity Constraints

On Measuring Pro-Poor Growth. 1. On Various Ways of Measuring Pro-Poor Growth: A Short Review of the Literature

Support Vector Regression Based GARCH Model with Application to Forecasting Volatility of Financial Returns

What Ties Return Volatilities to Price Valuations and Fundamentals? On-Line Appendix

Estimation Uncertainty

Modified Iterative Method For the Solution of Fredholm Integral Equations of the Second Kind via Matrices

Inflation Nowcasting: Frequently Asked Questions These questions and answers accompany the technical working paper Nowcasting U.S.

Computation of the Effect of Space Harmonics on Starting Process of Induction Motors Using TSFEM

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)

Nonlinearity Test on Time Series Data

A Meta-Heuristics Based Input Variable Selection Technique for Hybrid Electrical Energy Demand Prediction Models

Orientation. Connections between network coding and stochastic network theory. Outline. Bruce Hajek. Multicast with lost packets

Recursive Modelling of Symmetric and Asymmetric Volatility in the Presence of Extreme Observations *

The electromagnetic interference in case of onboard navy ships computers - a new approach

An Initial Study on the Forecast Model for Unemployment Rate. Mohd Nadzri Mohd Nasir, Kon Mee Hwa and Huzaifah Mohammad 1

RC, RL and RLC circuits

Modal identification of structures from roving input data by means of maximum likelihood estimation of the state space model

Econ Autocorrelation. Sanjaya DeSilva

Dimitri Solomatine. D.P. Solomatine. Data-driven modelling (part 2). 2

An introduction to the theory of SDDP algorithm

Hybridizing Exponential Smoothing and Neural Network for Financial Time Series Predication

The Effect of Nonzero Autocorrelation Coefficients on the Distributions of Durbin-Watson Test Estimator: Three Autoregressive Models

Financial Crisis, Taylor Rule and the Fed

Recent Developments In Evolutionary Data Assimilation And Model Uncertainty Estimation For Hydrologic Forecasting Hamid Moradkhani

Improved Approximate Solutions for Nonlinear Evolutions Equations in Mathematical Physics Using the Reduced Differential Transform Method

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

Stability and Bifurcation in a Neural Network Model with Two Delays

Distribution of Least Squares

Refraction coefficient determination and modelling for the territory of the Kingdom of Saudi Arabia

Lecture 3: Exponential Smoothing

Vehicle Arrival Models : Headway

Navneet Saini, Mayank Goyal, Vishal Bansal (2013); Term Project AML310; Indian Institute of Technology Delhi

ARCH IN SHORT-TERM INTEREST RATES: CASE STUDY USA

Stochastic Model for Cancer Cell Growth through Single Forward Mutation

Lecture 5. Time series: ECM. Bernardina Algieri Department Economics, Statistics and Finance

Ensamble methods: Boosting

Lab 10: RC, RL, and RLC Circuits

Ensamble methods: Bagging and Boosting

2017 3rd International Conference on E-commerce and Contemporary Economic Development (ECED 2017) ISBN:

Section 7.4 Modeling Changing Amplitude and Midline

Forecasting Volatility of Returns for Corn using GARCH Models

Asymmetric Conditional Volatility on the Romanian Stock Market - DISSERTATION PAPER-

ECON 482 / WH Hong Time Series Data Analysis 1. The Nature of Time Series Data. Example of time series data (inflation and unemployment rates)

A Hybrid Neural Network and ARIMA Model for Energy Consumption Forecasting

Exponential Weighted Moving Average (EWMA) Chart Under The Assumption of Moderateness And Its 3 Control Limits

Analysing Trends and Volatility in Atmospheric Carbon Dioxide Concentration Levels

A Shooting Method for A Node Generation Algorithm

Forward guidance. Fed funds target during /15/2017

NETWORK TRAFFIC FORECASTING USING MACHINE LEARNING AND STATISTICAL REGRESSION METHODS COMBINED WITH DIFFERENT TIME LAGS

Transcription:

Forecasing Sock Exchange Movemens Using Arificial Neural Nework Models and Hybrid Models Erkam GÜREEN and Gülgün KAYAKUTLU Isanbul Technical Universiy, Deparmen of Indusrial Engineering, Maçka, 34367 Isanbul, Turkey. erkamguresen@gmail.com kayakulu@iu.edu.r Absrac: Forecasing sock exchange raes is an imporan financial problem ha is receiving increasing aenion. During he las few years, a number of neural nework models and hybrid models have been proposed for obaining accurae predicion resuls, in an aemp o ouperform he radiional linear and nonlinear approaches. This paper evaluaes he effeciveness of neural nework models; recurren neural nework (RNN), dynamic arificial neural nework (DAN) and he hybrid neural neworks which use generalized auoregressive condiional heeroscedasiciy (GARCH) and exponenial generalized auoregressive condiional heeroscedasiciy (EGARCH) o exrac new inpu variables. The comparison for each model is done in wo view poins: MSE and MAD using real exchange daily rae values of Isanbul Sock Exchange (ISE) index XU10). 1. Inroducion The financial ime series models expressed by financial heories have been he basis for forecasing a series of daa in he wenieh cenury. Ye, hese heories are no direcly applicable o predic he marke values which have exernal impac. The developmen of muli layer concep allowed ANN (Arificial Neural Neworks) o be chosen as a predicion ool besides oher mehods. Various models have been used by researchers o forecas marke value series by using ANN (Arificial Neural Neworks). Engle (198) suggesed he ARCH(p) (Auoregressive Condiional Heeroscedasiciy) model, Bollerslev (1986) generalized he ARCH model and proposed he GARCH (Generalized ARCH) model. By considering he leverage effec limiaion of he GARCH model, he EGARCH (Expo-

130 Erkam GÜREEN and Gülgün KAYAKUTLU nenial GARCH) model was proposed (Nelson 1991). Despie he populariy and implemenaion of he ANN models in many complex financial markes direcly, shorcomings are observed. The noise ha caused by changes in marke condiions, i is hard o reflec he marke variables direcly ino he models wihou any assumpions (Roh 007). During he las few years research is focused on improving he ANN s predicion performance. The objecive of his sudy is o compare classical ANN models and new ANN mehodologies wih hybrid ANN models, such as GARCH-ANN and EGARCH- ANN models. The mehods are compared by using MSE (Mean Square Error), MAD (Mean Absolue Deviaion) and % MAD (Mean Absolue % Deviaion). The remaining secions of his paper are organized as follows: Secion provides a brief review of relaed sudies. Secion 3 inroduces he models used in his sudy and Secion 4 provides resuls of each model using daily exchange raes of Isanbul Sock Exchange (ISE) index XU100. Final secion concludes he sudy wih fuure researches.. Brief review of research on ime series ANN models have been used by researchers. A brief lieraure survey is given in Table 1. This survey clearly shows ha ANN mehods ouperform he classical mehods. Hybrid mehods ha use boh classical mehods wih ANN have poenial o avoid deficiencies in classical mehods. Many researchers poined ha hybrid mehods are promising for fuure sudies and wih using hybrid mehods advanages of each mehod can combine.

Forecasing Sock Exchange Movemens 131 Table 1. Financial Time Series Researches (ANN and Hybrid Models)

13 Erkam GÜREEN and Gülgün KAYAKUTLU 3. ANN and Hybrid ANN Models 3.1. Mulilayer Percepron (MLP) This model uses las four values of a ime series as inpus and generaed by using NeuroSoluions 5.06 sofware. MLP has wo layers using anh neurons. The number of neurons in each layer and learning rae are calculaed by geneic algorihm using he same sofware. 3.. Lagged Time Series (LTS) This model is generaed by using NeuroSoluions 5.06 sofware o use lagged values of he financial ime series. LTS has layers wih anh neurons and each layer have lagged connecions. The number of neurons in each layer and learning rae are calculaed by geneic algorihm using he same sofware. 3.3. Recurren Neural Nework (RNN) This model is generaed by using NeuroSoluions 5.06 sofware o have layers wih anh neurons and each layer consising of recurren connecions. The number of neurons in each layer and learning rae are calculaed by geneic algorihm using he same sofware. 3.4. Dynamic Archiecure for Arificial Neural Neworks (DAN) This model is developed by Ghiassi and Saidane (Ghiassi and Saidane 005) and compared wih he classical ANN models using a known ime series (Ghiassi e al. 005). Figure 1 shows he srucure of DAN. DAN uses all inpu daa a a ime o rain he nework. Training begins wih a special F 0 node capures he lineariy using classical linear regression. The raining process sops when a desired level of accuracy is reached. Each ime a nonlinear relaion is hi, a new hidden layer is added. Each hidden layer has 4 nodes: one C node, one CAKE node (in Figure 1, F nodes) and wo CURNOLE nodes (in Figure 1, G and H nodes). A CAKE (Curren Accumulaed Knowledge Elemen) node capures he previous layers using he CAKE node a he previous layer.

Forecasing Sock Exchange Movemens 133 Wih a linear combinaion of CURNOLE (Curren Residual Nonlinear Elemen) nodes, C node and previous CAKE node, exising CAKE node provides he resuls. Unil he desired level of accuracy reached new hidden layers coninue o be added o he model. Afer he special linear layer (F 0 ) DAN uses i s where i is he angle beween he observaion vecor i and a defined reference vecor. DAN uses he rigonomeric ransfer funcions o capure he nonlineariy. Each G and H nodes a layer k uses he given formula: G k (X i ) = Cosine( i i ), H k (X i )=Sine( i i ) [1] Using he given formula of G k (X i ) and H k (X i ) we can use he following formula for F nodes: F k (X i ) = a k + b k F k-1 (X i ) + c k Cosine( i i ) + d k Sinse( i i ) [] Fig. 1. The DAN Nework Archiecure (Ghiassi and Saidane 005)

134 Erkam GÜREEN and Gülgün KAYAKUTLU 3.5. GARCH - ANN Models Mos of he financial series models are known o be easily modelled by GARCH(1,1), so his research uses he exraced variables from GARCH(1,1) as Roh suggess (Roh 007). The GARCH(1,1) has he following formula: = 0 + 1-1 + 1-1 [3] Where is volailiy a, 0 is he non-condiional volailiy coefficien, -1 residual a -1, -1 is he variance a -1. The newly exraced variables are as follows (Roh 007): = 1-1 -1 = 1-1 We use hese new variables as addiional inpus for every ype of ANN given above. 3.6. EGARCH - ANN Models EGARCH has he leverage effec wih he following formula: ln ln 1 1 1 [4] 1 1 Where is he non-condiional variance coefficien, ln is he log value of variance a -1, ( -1 / -1 - (/) ) is he asymmeric shock by leverage effec, and ( -1 / -1 ) is he leverage effec. The newly exraced variables are as follows (Roh 007): ln = ln -1 LE (leverage effec) =( -1 / -1 - (/) ) L(leverage) = ( -1 / -1 ) 4. Forecasing ISE XU100 Index In his research daily sock exchange raes of ISE index XU100 from January 003 o March 008 are used. Graph of he daa is given in figure. Firs 113

Forecasing Sock Exchange Movemens 135 days are used for raining and cross validaion and las 160 used for esing. For hybrid models also new variables exraced from GARCH and EGARCH are calculaed using MS Excel. For MLP, LTS, RNN, GARCH-MLP, GARCH-LTS, GARCH-RNN, EGARCH-MLP, EGARCH-LTS and EGARCH-RNN NeuroSoluions 5.06 sofware is used. For calculaing DAN, GARCH-DAN and EGARCH-DAN MS Excel is used. Resuls are given in able. GARCH-DAN have he smalles raining MSE and MAD, followed by EGARCH-DAN and DAN. In all he oher hybrid models, raining MSE and MAD values are increased. However, GARCH-DAN and EGARCH-DAN have smaller raining MSE and MAD, DAN has smaller esing MSE and MAD. DAN based neural neworks ouperformed he oher neural neworks. Hybrid RNN models decrease he raining error bu increase he esing errors. Fig.. ISE XU100 closing values from January 003 o March 008

136 Erkam GÜREEN and Gülgün KAYAKUTLU Table. Resuls of ANN and Hybrid Models Training Tes MSE MAD MAD % MSE MAD MAD % MLP 33,11.4 431.074.0378 5,540,545.9,04.031 3.87061 LTS 4,040,90. 1,70.136 8.091805 4,053,666. 3,114.716 6.0167 RNN,15,589. 1,073.56 6.18388 30,78,867.0 4,748.948 8.847816 DAN 6,130.4 370.661 1.40897 1,176,015.7 840.700 1.67989 GARCH- MLP 468,83. 514.5.67341 7,14,780.4,317.443 4.38835 EGARCH- MLP 450,787. 51.06.705861 8,651,756.5,547.34 4.797743 GARCH- LTS 4,793,11.9 1,344.516 7.01188 8,679,183.4 8,59.680 15.56614 EGARCH- LTS 7,68,783.3 1,771.43 9.80969 86,388,074.0 8,383.7 15.77058 GARCH- RNN 1,588,036.6 839.538 4.413098 40,95,40.9 5,61.619 10.5457 EGARCH- RNN,331,406.0 806.84 4.5458 46,95,7.1 5,970.485 11.158 GARCH- DAN 61,378.6 370.18 1.4039 1,178,80.5 84.373 1.68031 EGARCH- DAN 61,918. 370.416 1.405955 1,177,07.3 841.188 1.680164 5. Conclusion This sudy is in search for reducing he shorcomings of using ANN in predicing he marke values. Wih his aim Hybrid models are developed and invesigaed. In order o presen he differences in accuracy of predicion, all he models are applied on he same se of daa rerieved from Isanbul Sock exchange. This sudy shows ha DAN is powerful neural nework archiecure. Hybrid models using GARCH and EGARCH can decrease he raining error bu do no guaranee a decrease in esing errors. The lowes error is achieved by DAN based hybrid model, which also shows ha DAN has greaer noise olerance. The achieved resuls indicae ha DAN model is o be focused in he fuure sudies o improve he noise olerance. More aenion is o be given o he hybrid models in defining he hybridizaion procedure clearly.

Forecasing Sock Exchange Movemens 137 References 1. Bollerslev, T., Generalized auoregressive condiional heeroscedasiciy, Journal of Economerics, vol 31, 1986, p. 307-37.. Celik A. E., Karaepe Y., Evaluaing and forecasing banking crises hrough neural nework models: An applicaion for Turkish banking secor, Exper sysems wih Applicaions, vol. 33, 007, p. 809-815. 3. Engle R. F., Auoregressive condiional heeroscedasiciy wih esimaor of variance of Unied Kingdom inflaion, Economerica, 198, 50(4), p. 987-1008. 4. Ghiassi M., Saidane H., A dynamic archiecure for arificial neural neworks, Neurocompuing, vol. 63, 005, p. 397-413. 5. Ghiassi M., Saidane H., Zimbra D.K., A dynamic arificial neural nework model for forecasing ime series evens, Inernaional Journal of Forecasing, vol. 1, 005, p. 341-36. 6. Hassan M. R., Nah B., Kirley M., A fusion model of HMM,ANN and GA for sock marke forecasing, Exper Sysems wih Applicaions, vol. 33, 007, p. 171-180. 7. Kumar P. R., Ravi V., Bankrupcy predicion in banks and firms via saisical and inelligen echniques A rewiev, European Journal of Operaional Research, vol. 180, 007, p. 1-8. 8. Menezes L. M., Forecasing wih geneically programmed polynomial neural neworks, Inernaional Journal of Forecasing, vol., 006, p. 49-65. Nelson D. B., Condiional heerosdasiciy in asse reurns: a new approach, Economerica, 1991, 59(), p. 347-370. 9. Pekkaya M., Hamzaçebi C., Yapay sinir aları ile döviz kuru ahmini üzerine bir uygulama, YA/EM 7. Naional Congress, Izmir 007, p. 973-978. 10. Preminger A., Raphael F., Forecasing exchange raes: A robus regression approach, Inernaional Journal of Forecasing, vol. 3, 007, p. 71-84. 11. Roh T. H., Forecasing he volailiy of sock price index, Exper Sysems wih Applicaions, vol. 33, 007, p. 916-9. 1. Zhang Y., Wan X., Saisical fuzzy inerval neural neworks for currency exchange rae ime series predicion, Applied Sof Compuing, vol. 7, 007, p.1149-1156. A ANN (Arificial Neural Neworks), D Dynamic Archiecure for Arificial Neural Neworks (DAN), 4 E EGARCH, EGARCH - ANN Models, 6 G GARCH, GARCH - ANN Models, 6 H Hybrid ANN Models, 4 L Lagged Time Series (LTS), 4 M Mulilayer Percepron (MLP), 4 R Recurren Neural Nework (RNN), 4