Free Essay

A Study on S&P 500 Index Stock Return and Volatility Using Arima and Garch Modeling

In: Science

Submitted By wudi0828
Words 1146
Pages 5
A Study on S&P 500 Index Stock Return and Volatility using ARIMA and GARCH Modeling
Kaiyuan Song, Di Wu Summary
In this project we first checked consistency and seasonality of S&P500 index stock performance by splitting its recent twenty years historical data into ten two year data and built ARIMA and GARCH models for each sub-period. We found that the models are considerably consistent before 2007-2008 sub-period, and there exists some minor seasonality in several subperiods, but no particular pattern can be identified for the whole period. We then tried to predict future return, volatility and VaR using the model we built for the last sub-period based on rolling forecast procedure. Though the fitted values of 10th sub-period model are very acceptable, the predicted values are reasonable yet far from satisfactory. Only some future volatility can be predicted using one-step ahead rolling forecast, and return prediction is not much better than just using historical mean, which is almost 0, to predict. These results suggest that external variables are needed for more accurate predictions, time series models alone are not sufficient.

Data
S&P500 index daily closing price from 1993 to 2012 are obtained from yahoo finance website. It is one of the best measures of current state of U.S. domestic economy, therefore by studying its fluctuations, consistency, seasonality and make predictions, one can determine if it is a good time to invest in U.S. stock market.

Methodology
We first examined the time series plots, ACF plots and PACF plots of whole period and each sub-period. Then ARIMA models for log-returns mean part and GARCH models for the conditional volatility of the log-returns are fitted. After selecting our final models for each subperiod, the final models were compared in order to check for model consistency and potential market seasonality. Finally the model for last period was used to forecast future daily return, volatility and corresponding Value at Risk.

Analysis
By inspecting the time series plot of both the stock price and log-return of entire period, we found that the series is not suitable to analysis as a whole. The underlying trend changed several times throughout the period and the variances were not constant. Therefore we broke the data into ten sub-periods with equal length and fitted models for each period, and tried to build tentative ARIMA+GARCH models for each sub-period. All of our tentative models were selected via standard ARIMA and GARCH model building procedures, all of the ARIMA models were suggested by either ACF, PACF or EACF of log-return data for corresponding time periods. Next we eliminate some models through model diagnosis such as residual ACF, PACF, EACF and Ljung-Box test result checking. Our final models were selected via AIC comparison of remaining models. The GARCH models were built on the residuals of our final ARIMA models, or simply on the averaged log-return if the log-return data for a sub-period is a white noise. All of GARCH(1,1), GARCH(2,1), GARCH(1,2) and ARCH(p), if suggested by PACF of squared residuals, are tried. We kept the model that passed most diagnosis checks as our final GARCH model for each sub-period. The table below shows the order of our final models.

From the table above, we observed that there were strong evidence suggesting that our models were consistent before 2007-2008 period. Most of the mean parts were suggested by ARMA(0,0) and GARCH(1,1) seemed like a common choice for each sub-period. However, after 2007-2008 year, the ARIMA models for mean part became distinguished, especially for the period of 2007- 2008, where ARIMA model goes to an unusual high order. This high order may be caused by the major financial crisis, which interrupted the model consistency as well. At the same time, weak seasonal pattern for several sub-period could be identified, but due to differences in seasonal orders, no seasonal pattern could be confirmed for the whole period. As for goodness of fit of our models, all actual return vs fitted return with fitted volatility plots were checked. All of the fitted returns are very close to zero as expected and all fitted volatilities vary according to fluctuations in actual returns: it goes up when there were large fluctuations and vice versa. Two sample plots are shown below:

Our prediction model, the tenth period model, fitted the data especially well as illustrated below.

Not only the volatility prediction were accurate, the mean part also provides considerably nice fit. With the excellent fit from our prediction model, we expect our predictions to be fairly dependable. Nonetheless, when comparing actual future return with our predicted return and volatility obtained from 5-day ahead rolling forecast procedure, the results were rather unsatisfactory. All of the predicted volatilities were considerably high and did not move along with real fluctuations in return series, which resulted in very significant value at risk. In addition, the return predictions were no much better than just using sample means, which were all very close to zero, to predict future return. The prediction vs actual return plot for 60 days is shown below.

To improve our predictions, particularly for volatility part, one-step ahead rolling predictions were computed, and its prediction vs actual return plot is illustrated below:

Due to the return predictions made by ARIMA were similar to one-step results and not much better than sample mean prediction, we focused on volatility part and found that one-step ahead rolling prediction provided slightly better volatility predictions. In this case the predicted volatility increases a little bit when the fluctuations in actual return series is big.

Conclusions and discussions
Our analysis shows that ARIMA and GARCH models for S&P500 index stock return was indeed consistent through the first seven sub-periods, but no particular seasonal pattern can be found. This result indicates that when the stock market is at its normal state, there are regularities exist and can be traced with one model for a relatively long time. As for predictions, our result exemplifies that even a very well fitted model cannot grant reliable forecasts. This may be caused by ARIMA+GARCH model limitations, since often an ARIMA+GARCH model presents excellent fit to a dataset, while provides very poor out of sample predictions. We expect better prediction performance if external factors such as quantified anticipated events are added to our model, as the sudden changes can then be better explained by such factors and therefore error reduction.

References 1. “A Hybrid ARIMA and Support Vector Machines Model in Stock Price Forecasting” in Omega, the International Journal of Management Science. vol. 33, no. 3, 2005.

2. Ruey S. Tsay, “Analysis of Financial Time Series”, Wiley, 2002. ISBN: 0-471-41544-8

Similar Documents

Premium Essay

Weak Form Efficiency Test of Dse

...Weak- Form Market Efficiency of Dhaka Stock Exchange (DSE), Bangladesh ABU TAHER MOLLIK Economics & Finance, Regional School of Business, Faculty of Law and Management, La-Trobe University, Bendigo, VIC 3550, Australia. Email:abumollik@yahoo.com.au; a.mollik@latrobe.edu.au M KHOKAN BEPARI PhD Student School of Commerce and Marketing Faculty of Arts, Business, Informatics and Education Central Queensland University, Australia Email: k.bepari@cqu.edu.au; khokan552@yahoo.com Phone:+610402917968 Weak Form Market Efficiency of Dhaka Stock Exchange (DSE), Bangladesh Abstract This paper examines the weak-form efficiency in Dhaka Stock Exchange (DSE) of Bangladesh adjusting for thin trading problem. Both non-parametric tests and parametric tests are used. The data sets consist of daily DSE General Index (DSE-GEN) and DSE 20 Index for the period ranging from January 1, 2002 to December 31, 2007. The results of the study reveal that DSE return series are not normally distributed. Both the return series are stationary and do not follow a random walk. Overall, the study rejects the weak form efficiency of DSE. Key words: Efficient Market Hypothesis; Dhaka Stock Exchange; Random Walk Model; Weak Form of Efficiency; Return autocorrelation. JEL classification: G14, N25, G 34 Weak Form Market Efficiency of Dhaka Stock Exchange (DSE), Bangladesh 1. Introduction The theory of efficient market hypothesis (EMH) proposed by Fama (1965) was a ‘water...

Words: 7750 - Pages: 31

Premium Essay

Econometrics

...A Guide to Modern Econometrics 2nd edition Marno Verbeek Erasmus University Rotterdam A Guide to Modern Econometrics A Guide to Modern Econometrics 2nd edition Marno Verbeek Erasmus University Rotterdam Copyright  2004 John Wiley & Sons Ltd, The Atrium, Southern Gate, Chichester, West Sussex PO19 8SQ, England Telephone (+44) 1243 779777 Email (for orders and customer service enquiries): cs-books@wiley.co.uk Visit our Home Page on www.wileyeurope.com or www.wiley.com All Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except under the terms of the Copyright, Designs and Patents Act 1988 or under the terms of a licence issued by the Copyright Licensing Agency Ltd, 90 Tottenham Court Road, London W1T 4LP, UK, without the permission in writing of the Publisher. Requests to the Publisher should be addressed to the Permissions Department, John Wiley & Sons Ltd, The Atrium, Southern Gate, Chichester, West Sussex PO19 8SQ, England, or emailed to permreq@wiley.co.uk, or faxed to (+44) 1243 770620. This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. It is sold on the understanding that the Publisher is not engaged in rendering professional services. If professional advice or other expert assistance is required,...

Words: 194599 - Pages: 779

Premium Essay

Econometrics Book Description

...Using gretl for Principles of Econometrics, 4th Edition Version 1.0411 Lee C. Adkins Professor of Economics Oklahoma State University April 7, 2014 1 Visit http://www.LearnEconometrics.com/gretl.html for the latest version of this book. Also, check the errata (page 459) for changes since the last update. License Using gretl for Principles of Econometrics, 4th edition. Copyright c 2011 Lee C. Adkins. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation (see Appendix F for details). i Preface The previous edition of this manual was about using the software package called gretl to do various econometric tasks required in a typical two course undergraduate or masters level econometrics sequence. This version tries to do the same, but several enhancements have been made that will interest those teaching more advanced courses. I have come to appreciate the power and usefulness of gretl’s powerful scripting language, now called hansl. Hansl is powerful enough to do some serious computing, but simple enough for novices to learn. In this version of the book, you will find more information about writing functions and using loops to obtain basic results. The programs have been generalized in many instances so that they could be adapted for other uses if desired. As I learn more about hansl specifically...

Words: 73046 - Pages: 293