Time series: Variance modelling

Similar documents
Variance clustering. Two motivations, volatility clustering, and implied volatility

Lecture 5a: ARCH Models

ARCH and GARCH models

Chapter 4 Level of Volatility in the Indian Stock Market

Conditional Heteroscedasticity

Volatility Analysis of Nepalese Stock Market

. Large-dimensional and multi-scale effects in stocks volatility m

Financial Econometrics

Oil Price Effects on Exchange Rate and Price Level: The Case of South Korea

Indian Institute of Management Calcutta. Working Paper Series. WPS No. 797 March Implied Volatility and Predictability of GARCH Models

12. Conditional heteroscedastic models (ARCH) MA6622, Ernesto Mordecki, CityU, HK, 2006.

Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay. Midterm

Modeling Volatility of Price of Some Selected Agricultural Products in Ethiopia: ARIMA-GARCH Applications

GARCH Models. Instructor: G. William Schwert

The Great Moderation Flattens Fat Tails: Disappearing Leptokurtosis

Forecasting Volatility of USD/MUR Exchange Rate using a GARCH (1,1) model with GED and Student s-t errors

Modelling Inflation Uncertainty Using EGARCH: An Application to Turkey

Risk Management and Time Series

Modelling Stock Market Return Volatility: Evidence from India

Portfolio construction by volatility forecasts: Does the covariance structure matter?

Actuarial Model Assumptions for Inflation, Equity Returns, and Interest Rates

Final Exam Suggested Solutions

Amath 546/Econ 589 Univariate GARCH Models

Modeling the volatility of FTSE All Share Index Returns

Volatility Clustering of Fine Wine Prices assuming Different Distributions

Steven Trypsteen. School of Economics and Centre for Finance, Credit and. Macroeconomics, University of Nottingham. May 15, 2014.

Research Article The Volatility of the Index of Shanghai Stock Market Research Based on ARCH and Its Extended Forms

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2009, Mr. Ruey S. Tsay. Solutions to Final Exam

Financial Econometrics Lecture 5: Modelling Volatility and Correlation

Empirical Analysis of Stock Return Volatility with Regime Change: The Case of Vietnam Stock Market

Volatility Model for Financial Market Risk Management : An Analysis on JSX Index Return Covariance Matrix

Market Risk Management for Financial Institutions Based on GARCH Family Models

Equity Price Dynamics Before and After the Introduction of the Euro: A Note*

Forecasting Stock Index Futures Price Volatility: Linear vs. Nonlinear Models

RISK SPILLOVER EFFECTS IN THE CZECH FINANCIAL MARKET

INTERNATIONAL JOURNAL OF ADVANCED RESEARCH IN ENGINEERING AND TECHNOLOGY (IJARET)

Modelling Stock Returns Volatility on Uganda Securities Exchange

FINANCIAL ECONOMETRICS PROF. MASSIMO GUIDOLIN

THE INFORMATION CONTENT OF IMPLIED VOLATILITY IN AGRICULTURAL COMMODITY MARKETS. Pierre Giot 1

Lecture 6: Univariate Volatility

Lecture 9: Markov and Regime

GARCH Models for Inflation Volatility in Oman

Volume 29, Issue 2. Measuring the external risk in the United Kingdom. Estela Sáenz University of Zaragoza

International Journal of Business and Administration Research Review. Vol.3, Issue.22, April-June Page 1

Lecture Note of Bus 41202, Spring 2008: More Volatility Models. Mr. Ruey Tsay

The Norwegian State Equity Ownership

Example 1 of econometric analysis: the Market Model

Assicurazioni Generali: An Option Pricing Case with NAGARCH

Assessing Regime Switching Equity Return Models

FINITE SAMPLE DISTRIBUTIONS OF RISK-RETURN RATIOS

The Efficient Market Hypothesis Testing on the Prague Stock Exchange

Lecture 8: Markov and Regime

VOLATILITY. Time Varying Volatility

Lecture 5: Univariate Volatility

SHORT-RUN DEVIATIONS AND TIME-VARYING HEDGE RATIOS: EVIDENCE FROM AGRICULTURAL FUTURES MARKETS TAUFIQ CHOUDHRY

FIW Working Paper N 58 November International Spillovers of Output Growth and Output Growth Volatility: Evidence from the G7.

MODELING EXCHANGE RATE VOLATILITY OF UZBEK SUM BY USING ARCH FAMILY MODELS

Asian Economic and Financial Review A REGRESSION BASED APPROACH TO CAPTURING THE LEVEL DEPENDENCE IN THE VOLATILITY OF STOCK RETURNS

Financial Times Series. Lecture 8

Optimal Hedge Ratio and Hedging Effectiveness of Stock Index Futures Evidence from India

Volatility in the Indian Financial Market Before, During and After the Global Financial Crisis

IS INFLATION VOLATILITY CORRELATED FOR THE US AND CANADA?

Modelling house price volatility states in Cyprus with switching ARCH models

Recent analysis of the leverage effect for the main index on the Warsaw Stock Exchange

The Impact of Falling Crude Oil Price on Financial Markets of Advanced East Asian Countries

ANALYSIS OF THE RELATIONSHIP OF STOCK MARKET WITH EXCHANGE RATE AND SPOT GOLD PRICE OF SRI LANKA

Financial Econometrics Review Session Notes 4

ARCH modeling of the returns of first bank of Nigeria

Jaime Frade Dr. Niu Interest rate modeling

Modeling Exchange Rate Volatility using APARCH Models

Financial Time Series Analysis (FTSA)

Monetary and Fiscal Policy Switching with Time-Varying Volatilities

Experience with the Weighted Bootstrap in Testing for Unobserved Heterogeneity in Exponential and Weibull Duration Models

A market risk model for asymmetric distributed series of return

Modelling the stochastic behaviour of short-term interest rates: A survey

Seasonality at The Oslo Stock Exchange

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2016, Mr. Ruey S. Tsay. Solutions to Midterm

State Ownership at the Oslo Stock Exchange. Bernt Arne Ødegaard

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2014, Mr. Ruey S. Tsay. Solutions to Midterm

Quantitative Finance Conditional Heteroskedastic Models

Stock Price Volatility in European & Indian Capital Market: Post-Finance Crisis

SPATIAL AUTOREGRESSIVE CONDITIONAL HETEROSCEDASTICITY MODEL AND ITS APPLICATION

A joint Initiative of Ludwig-Maximilians-Universität and Ifo Institute for Economic Research

Modelling volatility - ARCH and GARCH models

STAT758. Final Project. Time series analysis of daily exchange rate between the British Pound and the. US dollar (GBP/USD)

Forecasting Value at Risk in the Swedish stock market an investigation of GARCH volatility models

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2013, Mr. Ruey S. Tsay. Final Exam

Estimation of High-Frequency Volatility: An Autoregressive Conditional Duration Approach

University of Toronto Financial Econometrics, ECO2411. Course Outline

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Midterm

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2013, Mr. Ruey S. Tsay. Midterm

Vladimir Spokoiny (joint with J.Polzehl) Varying coefficient GARCH versus local constant volatility modeling.

Economics 424/Applied Mathematics 540. Final Exam Solutions

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2010, Mr. Ruey S. Tsay. Solutions to Midterm

Does the interest rate for business loans respond asymmetrically to changes in the cash rate?

List of tables List of boxes List of screenshots Preface to the third edition Acknowledgements

Applied Econometrics with. Financial Econometrics

MODELING VOLATILITY OF US CONSUMER CREDIT SERIES

Chapter 1. Introduction

State Ownership at the Oslo Stock Exchange

Transcription:

Time series: Variance modelling Bernt Arne Ødegaard 5 October 018 Contents 1 Motivation 1 1.1 Variance clustering.......................... 1 1. Relation to heteroskedasticity.................... 3 1.3 Second motivation: implied volatility................ 3 1.4 Uses of ARCH processes....................... 4 1.5 Testing for ARCH........................... 4 1.6 Estimation of ARCH type processes................. 5 1.7 Extensions to ARCH......................... 8 Summary 8 3 Formal definitions 8 4 Literature 9 Introduction The simplest assumption for time series is that variance is constant. Unfortunately that assumption is often violated in actual data. In this lecture we look at the implications of time varying conditional variance, or ARCH (Autoregressive Conditional Heteroscedasticity). 1 Motivation Two motivations, volatility clustering, and implied volatility 1.1 Variance clustering Exercise 1. Collect data for the S&P 500. Use data between 1990 and 000. 1. Calculate daily returns R m,t. Plot the time series of returns.. Calculate the squared daily returns R m,t. Plot the time series of squared returns returns. 3. Are there signs of volatility clustering? Solution to Exercise 1. 1. Plotting daily returns 1

SP500 Returns 0.10 0.00 0.05 0.10 1990 1995 000 005 010 Year. Plotting squared daily returns. SP500 Squared Residuals 0.000 0.004 0.008 0.01 1990 1995 000 005 010 Year 3. Volatitility is the standard deviations of returns. Under a constant mean this is estimated as (the square root of)

the squared return. Clustering is when similar volatility patterns are close in time, sometimes low volatility, other times high volatility. From the pictures it certainly looks like there is some volatility clustering. The example of S&P 500 daily returns and their squares is a clear illustration of variance clustering 1. Relation to heteroskedasticity Relative to what we have seen before this is heteroskedasticity in the errors, when considering the time series. Simply put, due to the time series nature of the data, the heteroskedasticity is related to time. If we could identify the structure of the variance-covariance matrix Ω, we would use it in a GLS estimation ˆb gls = (X Ω 1 X) 1 X Ω 1 y The challenge is to find a way of modelling the dependence between time and volatility. One obvious way to start is to model the time t variance σt as an autoregressive processes, using past values of σt to predict the next. Suppose we have a time series estimation Y t = β 0 + β 1 Y t 1 + γ 1 X t 1 + u t Two well known examples: ARCH(p) (AutoRegressive Conditional Heteroskedasticity of order p) (Engle, 198) σ t = σ 0 + α 1 u t 1 + α u t + + α p u t p and GARCH(p, q) (Generalized AutoRegressive Conditional Heteroskedasticity of order (p, q).) (Bollerslev, 1986) σ t = σ 0 + α 1 u t 1 + α u t + + α p u t p + φ 1 σ t 1 + φ σ t + + φ p σ t p Note that an ARCH is analogous to a distributed lag model, and an GARCH is analogous to an ADL model. This is the econometric motivation for working with ARCH/GARCH processes, to alleviate problems of heteroskedasticity in estimation. Here the (G)ARCH estimation is just nuisance parameters that help us improving precision of estimates. However, predictability of variances (and covariances) is something that is of interest in itself, in particular in finance applications, where so much relies on these measures of variability. 1.3 Second motivation: implied volatility Let us look at another motivation for why (G)ARCH is important for finance, and look at options pricing. Exercise. Consider pricing of options. The price of any option is a function of the following five inputs: Current price of underlying. Exercise price of the option. Current risk free interest rate. Time to maturity of the option. Volatility of the underlying. OptPrice t = f(s t, K, r t, (T t), σ t ) All of these except the volatility of the underlying are observables. Given an observed market price of the option, this equation can be reversed, by asking what volatility would have given the observed option market price. This is called the implied volatility. 3

Calculate the implied volatility of options on the Norwegian OBX stock market index in the period July 001 to November 001, and plot the time series. Does the implied volatility change over time? Solution to Exercise. 0.8 0.7 0.6 0.5 0.4 0.3 0. 0.1 001 001 001 001 001 001 001 001 001 001 001 The implied volatility is after the fact, what one ideally want to look at is ways of predicting the volatility, and use it as inputs to option pricing. 1.4 Uses of ARCH processes The previous points out two the two most important uses of ARCH type processes. Correcting for ARCH effects in errors to improve estimation (ARCH as nuisance parameters) Using ARCH models to forecast variance. 1.5 Testing for ARCH ARCH type of effects involves variance as a function of time. Testing for ARCH is then mainly a matter of running time series models on the estimated errors, and testing whether we find predictability. Exercise 3. ARCH is time varying conditional variance. We want to test for its presence in the returns r m of a stock market index. The null hypothesis of no ARCH effects involve a constant mean and variance r mt (E[r m ], σ m) Estimating the mean and variance, testing for ARCH effects can be done using the residuals and running the regression û t = b 0 + u t = r mt E[r m ] p b i û t i + residual, where p is the number of lags in the ARCH/GARCH formulation. 4

Under a null of no ARCH effects all the coefficients b i for i > 0 are jointly zero. This is the basis for testing for ARCH effects. Under the null T times the R of the regression has a χ (p) distribution. (T is the number of observations). Alternatively, the usual F test can be applied. Perform the test on the S&P 500 index using daily data for the period 1990 011. Use p =. Solution to Exercise 3. > library(zoo) > SP500 <- read.zoo("../../../data/usa/us_equity_indices/sp500_daily.csv", format="%y-%m-%d",sep=",",header=true) > sp500 <- SP500[,6] > # the post 1990 period > sp500 <- sp500[10055:length(sp500),] > dsp500 <- diff(log(sp500)) > u <- dsp500 - mean(dsp500) > u <- u^ > data <- merge(u,lag(u,-1),lag(u,-),all=false) > u <- data[,1] > ulag1 <- data[,] > ulag <- data[,3] > arch <- lm(u~ulag1+ulag) > summary(arch) Call: lm(formula = u ~ ulag1 + ulag) -0.003956-0.0000951-0.0000700-0.000009 0.009809 Coefficients: (Intercept) 7.37e-05 6.017e-06 1.5 <e-16 *** ulag1 1.396e-01 1.63e-0 11.05 <e-16 *** ulag 3.348e-01 1.63e-0 6.50 <e-16 *** --- Signif. codes: 0 *** 0.001 ** 0.01 * 0.05. 0.1 1 Residual standard error: 0.0004171 on 5564 degrees of freedom Multiple R-squared: 0.151,Adjusted R-squared: 0.1509 F-statistic: 495.5 on and 5564 DF, p-value: <.e-16 1.6 Estimation of ARCH type processes Note that both u t and σ t are unobservable. Estimation of ARCH type models is therefore subject to the same problems as estimation of MA parameters. For now, let me just state that ARCH type effects can be estimated using Maximum Likelihood and/or GMM, Usually we just leave it to the computer. Exercise 4. Consider daily returns on the S&P 500. Testing shows signs of ARCH effects. Using data for 1995 006, estimate five different specifications: ARCH(1), ARCH(), GARCH(1,1), GARCH(,). What are the different parameters? Solution to Exercise 4. Estimation of ARCH(1) 5

Call: garch(x = as.matrix(dsp500), order = c(0, 1)) Model: GARCH(0,1) -9.04915-0.44568 0.04755 0.5139 9.16175 Coefficient(s): a0 1.009e-04 1.63e-06 79.91 <e-16 *** a1 3.008e-01 1.396e-0 1.54 <e-16 *** --- Signif. codes: 0 *** 0.001 ** 0.01 * 0.05. 0.1 1 Diagnostic Tests: Jarque Bera Test data: Residuals X-squared = 14046.71, df =, p-value <.e-16 Box-Ljung test data: Squared.Residuals X-squared = 3.109, df = 1, p-value = 0.07815 Estimation of ARCH() Model: GARCH(0,) -6.51078-0.47933 0.05438 0.5541 6.6735 Coefficient(s): a0 6.631e-05 1.388e-06 47.76 <e-16 *** a1 1.844e-01 1.345e-0 13.71 <e-16 *** a 3.486e-01 1.473e-0 3.66 <e-16 *** --- Signif. codes: 0 *** 0.001 ** 0.01 * 0.05. 0.1 1 Diagnostic Tests: Jarque Bera Test data: Residuals X-squared = 170.18, df =, p-value <.e-16 Box-Ljung test 6

data: Squared.Residuals X-squared = 3.871, df = 1, p-value = 0.06983 Estimation of GARCH(1,1) Model: GARCH(1,1) -6.8596-0.564 0.06148 0.680 4.3953 Coefficient(s): a0 9.43e-07 1.43e-07 7.588 3.4e-14 *** a1 7.300e-0 4.474e-03 16.315 < e-16 *** b1 9.0e-01 4.980e-03 184.789 < e-16 *** --- Signif. codes: 0 *** 0.001 ** 0.01 * 0.05. 0.1 1 Diagnostic Tests: Jarque Bera Test data: Residuals X-squared = 956.433, df =, p-value <.e-16 Box-Ljung test data: Squared.Residuals X-squared = 3.3017, df = 1, p-value = 0.0691 Garch (,) > summary(res) Call: garch(x = as.matrix(dsp500), order = c(, )) Model: GARCH(,) -6.74479-0.5896 0.0615 0.63680 4.9440 Coefficient(s): a0 1.796e-06 NA NA NA a1.943e-0 NA NA NA a 1.011e-01 NA NA NA b1.833e-01 NA NA NA b 5.78e-01 NA NA NA 7

Diagnostic Tests: Jarque Bera Test data: Residuals X-squared = 835.064, df =, p-value <.e-16 Box-Ljung test data: Squared.Residuals X-squared = 0.4195, df = 1, p-value = 0.517 1.7 Extensions to ARCH There is a whole alphabet soup of extensions to the basic ARCH/GARCH models. Most of them are motivated by a better fit to observed features of data series For example, the exponential GARCH models the log of the variance instead of the variance, which guarantees that the estimated variance is positive, and also a formulation that allows for asymmetry, negative shocks may have different effects from positive shocks. Another example is a GARCH in mean, where the GARCH process is allowed to affect the mean of the underlying variable. Summary Modelling volatility Empirical observations: Volatility clustering. Time series of implied volatility. ARCH(p) GARCH(p, q) σ t = σ 0 + α 1 u t 1 + α u t + + α p u t p σt = σ 0 + α 1 u t 1 + α u t + + α p u t p + φ 1 σt 1 + φ σt + + φ p σt p Uses of ARCH processes. Correcting for ARCH effects in errors to improve estimation (ARCH as nuisance parameters) Using ARCH models to forecast variance. Extensions to ARCH 3 Formal definitions Generic relation ɛ t = z t σ t z t iid E[z t ] = 0 var(z t ) = 1 8

Estimation by ML log likelihood function Since ɛ t = y t g(x t 1 ; b), estimate by ˆb = arg max b Typical representations, univariate ARCH(q): GARCH(p,q): EGARCH(p,q): log σ t = ω + L(θ) = T t=1 σ t = ω + y t = g(x t 1 ; b) + ɛ t ɛ t f( ) T [log f(ɛ t σt 1 ) log σ t t=1 log f((y t g(x t 1 ; b))σt 1 ) log σ t σ t = ω + q α i ɛ t i q α i ɛ t i + p β i σt i q α i (τz t i + γ[ z t i E[z t i ]] + Of course also vector representations. where Ω is a covariance matrix vector GARCH(p,q) W : N(N+1) 1 matrix A,B : N(N+1) N(N+1) matrix 4 Literature vech(ω t ) = W + ɛ t = z t Ω 1 t q A i vech(ɛ t i ɛ t i) + p β i log σt i p B i vech(ω t i ) For a survey of volatility modelling, including ARCH, see Andersen, Bollerslev, and Diebold (010) References Torben G Andersen, Tim Bollerslev, and Francis X Diebold. Parametric and nonparametric volatility estimation. In Yacine Ait-Sahalia and Lars Peter Hansen, editors, Handbook of Financial Econometrics. North-Holland, 010. Tim Bollerslev. Generalized autoregressive conditional heteroskedasticity. Journal of Business, pages 307 37, 1986. Robert F Engle. Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica, 50:987 1007, 198. 9