Stochastic Volatility (SV) Models Lecture 9. Morettin & Toloi, 2006, Section 14.6 Tsay, 2010, Section 3.12 Tsay, 2013, Section 4.

Similar documents
Stochastic Volatility Models. Hedibert Freitas Lopes

Simulation-based sequential analysis of Markov switching stochastic volatility models

Bayesian analysis of GARCH and stochastic volatility: modeling leverage, jumps and heavy-tails for financial time series

A potentially useful approach to model nonlinearities in time series is to assume different behavior (structural break) in different subsamples

Statistical Inference and Methods

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

Stochastic Volatility (SV) Models

Some Simple Stochastic Models for Analyzing Investment Guarantees p. 1/36

Bayesian Estimation of the Markov-Switching GARCH(1,1) Model with Student-t Innovations

Modeling skewness and kurtosis in Stochastic Volatility Models

ARCH and GARCH models

Factor stochastic volatility with time varying loadings and Markov switching regimes

TFP Persistence and Monetary Policy. NBS, April 27, / 44

Stochastic Volatility and Jumps: Exponentially Affine Yes or No? An Empirical Analysis of S&P500 Dynamics

Estimating a Dynamic Oligopolistic Game with Serially Correlated Unobserved Production Costs. SS223B-Empirical IO

Estimation Appendix to Dynamics of Fiscal Financing in the United States

Model Estimation. Liuren Wu. Fall, Zicklin School of Business, Baruch College. Liuren Wu Model Estimation Option Pricing, Fall, / 16

BAYESIAN UNIT-ROOT TESTING IN STOCHASTIC VOLATILITY MODELS WITH CORRELATED ERRORS

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

GARCH Models for Inflation Volatility in Oman

Oil and macroeconomic (in)stability

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

Predictive Regressions: A Present-Value Approach (van Binsbe. (van Binsbergen and Koijen, 2009)

Using MCMC and particle filters to forecast stochastic volatility and jumps in financial time series

FE570 Financial Markets and Trading. Stevens Institute of Technology

Linda Allen, Jacob Boudoukh and Anthony Saunders, Understanding Market, Credit and Operational Risk: The Value at Risk Approach

Posterior Inference. , where should we start? Consider the following computational procedure: 1. draw samples. 2. convert. 3. compute properties

A New Class of Discrete-time Stochastic Volatility Model with Correlated Errors

Forecasting jumps in conditional volatility The GARCH-IE model

Short-selling constraints and stock-return volatility: empirical evidence from the German stock market

Chapter 5 Univariate time-series analysis. () Chapter 5 Univariate time-series analysis 1 / 29

Estimating Macroeconomic Models of Financial Crises: An Endogenous Regime-Switching Approach

Calibration of Interest Rates

Components of bull and bear markets: bull corrections and bear rallies

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

Decomposing the Volatility Structure of Inflation

Expected Inflation Regime in Japan

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

Implied Volatility Correlations

1. You are given the following information about a stationary AR(2) model:

Thailand Statistician January 2016; 14(1): Contributed paper

The Pennsylvania State University The Graduate School BAYESIAN ANALYSIS OF MULTIVARIATE REGIME SWITCHING COVARIANCE MODEL

9th Financial Risks International Forum

Lecture 9: Markov and Regime

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

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

Dynamic Asset Pricing Models: Recent Developments

Impact of Calendar Effects. in the Volatility of Vale Shares

Idiosyncratic risk, insurance, and aggregate consumption dynamics: a likelihood perspective

Regret-based Selection

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

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

Models with Time-varying Mean and Variance: A Robust Analysis of U.S. Industrial Production

An Introduction to Bayesian Inference and MCMC Methods for Capture-Recapture

Risk Management and Time Series

Identifying Long-Run Risks: A Bayesian Mixed-Frequency Approach

Chapter 6 Forecasting Volatility using Stochastic Volatility Model

Course information FN3142 Quantitative finance

Lecture Note 9 of Bus 41914, Spring Multivariate Volatility Models ChicagoBooth

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

Lecture 8: Markov and Regime

A Compound-Multifractal Model for High-Frequency Asset Returns

CS340 Machine learning Bayesian statistics 3

Estimation of the CEV and the CEVJ Models on Returns and Options

Jump and Volatility Risk Premiums Implied by VIX

Bivariate Birnbaum-Saunders Distribution

Dependence Structure and Extreme Comovements in International Equity and Bond Markets

Lecture 23 The New Keynesian Model Labor Flows and Unemployment. Noah Williams

Bayesian Filtering on Realised, Bipower and Option Implied Volatility

Volatility around the clock: Bayesian modeling and forecasting of intraday volatility in the financial crisis

Bayesian Dynamic Linear Models for Strategic Asset Allocation

Online Appendix (Not intended for Publication): Federal Reserve Credibility and the Term Structure of Interest Rates

Asset Pricing Models with Underlying Time-varying Lévy Processes

GARCH-Jump Models with Regime-Switching Conditional Volatility and Jump Intensity

The Extended Liu and West Filter: Parameter Learning in Markov Switching Stochastic Volatility Models

Regime-dependent Characteristics of KOSPI Return

Financial Econometrics Jeffrey R. Russell. Midterm 2014 Suggested Solutions. TA: B. B. Deng

1 Bayesian Bias Correction Model

Common Drifting Volatility in Large Bayesian VARs

How Persistent is Volatility? An Answer with Stochastic Volatility Models with Markov Regime Switching State Equations

Particle Learning for Fat-tailed Distributions 1

Estimation of Stochastic Volatility Models : An Approximation to the Nonlinear State Space Representation

Optimal Portfolio Choice under Decision-Based Model Combinations

Pricing Variance Swaps under Stochastic Volatility Model with Regime Switching - Discrete Observations Case

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

Analyzing Oil Futures with a Dynamic Nelson-Siegel Model

Understanding Tail Risk 1

SYSM 6304 Risk and Decision Analysis Lecture 2: Fitting Distributions to Data

GRANULARITY ADJUSTMENT FOR DYNAMIC MULTIPLE FACTOR MODELS : SYSTEMATIC VS UNSYSTEMATIC RISKS

The Pennsylvania State University The Graduate School REGIME SWITCHING STOCHASTIC VOLATILITY AND ITS EMPIRICAL ANALYSIS

4.1 Additive property of Gaussian Random Variable

Evaluating structural models for the U.S. short rate using EMM and optimal filters

Technical Appendix: Policy Uncertainty and Aggregate Fluctuations.

A Bayesian Method for Foreign Currency Portfolio Optimization of Conditional Value-at-Risk

Cross-Sectional Distribution of GARCH Coefficients across S&P 500 Constituents : Time-Variation over the Period

Analysis of the Bitcoin Exchange Using Particle MCMC Methods

STAT 425: Introduction to Bayesian Analysis

Changing Probability Measures in GARCH Option Pricing Models

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER

Oil Price Volatility and Asymmetric Leverage Effects

Transcription:

Stochastic Volatility (SV) Models Lecture 9 Morettin & Toloi, 2006, Section 14.6 Tsay, 2010, Section 3.12 Tsay, 2013, Section 4.13

Stochastic volatility model The canonical stochastic volatility model (SV-AR(1), hereafter), is a state-space model where the state variable is the log-volatility: r t h t N(0, exp{h t }) h t h t 1 N(µ + φ(h t 1 µ), σ 2 ) where µ R, β < 1, σ 2 > 0 and h 0 N(µ, σ 2 /(1 φ 2 )). µ: unconditional mean of log-volatility. σ 2 /(1 φ 2 ): unconditional variance of log-volatility. σ 2 : conditional variance of log-volatility. β < 1: log-volatility follows a stationary process. 2

Nonlinear dynamic model Noticing that r t h t N(0, exp{h t }) is equivalent to the model can be rewritten as r t = exp{h t /2}ε t. log r 2 t = h t + log ε 2 t h t = α + φh t 1 + ση t which looks like a standard dynamic linear model, for α = µ(1 φ). Observational error, log ε 2 t, is no longer Gaussian! In fact, log ε 2 t log χ 2 1, where E(log ε 2 t ) = 1.27 V (log ε 2 t ) = π2 2 = 4.935 3

Normal approximation Let z t = log r 2 t + 1.27 and ω 2 = π 2 /2. Then, the normal DLM approximation to the SV-AR(1) model is: z t = h t + ωv t h t = α + φh t 1 + ση t, so the Kalman filter and smoother can then be easily implemented. The parameters (µ, φ, τ) can estimated either via maximum likelihood or via Bayesian inference. Main issue: Normal approximation is usually quite poor! 4

A bit of Bayesian inference A commonly used prior set up is Prior for µ: µ N(b µ, Bµ) 2 Prior for φ: so that φ + 1 2 Beta(a 0, b 0 ), E(φ) = 2a 0 a 0 + b 0 1 and V (φ) = Prior for σ 2 : so that E(σ 2 ) = B σ. σ 2 Gamma(1/2, 1/(2B σ )), 4a 0 b 0 (a 0 + b 0 ) 2 (a 0 + b 0 + 1) 5

R package stochvol Efficient Bayesian Inference for SV Models: stochvol runs an MCMC scheme for burnin + draws iterations from the posterior distribution p(h 1,..., h n, µ, φ, σ y 1,..., y n ). svsample(y,draws=10000,burnin=1000,priormu=c(-10,3), priorphi=c(5,1.5),priorsigma=1,thinpara=1, thinlatent=1,thintime=1,quiet=false, startpara,startlatent,expert,...) where priormu= (b µ, B µ ), priorphi= (a 0, b 0 ) and priorsigma= B σ. Only draws/thinpara draws are kept for (µ, φ, σ). Only draws/thinlatent draws are kept for (h 1, h 2,..., h n ). Kastner and Frühwirth-Schnatter (2013) Ancillarity-sufficiency interweaving strategy for boosting MCMC estimation of stochastic volatility models. 6

Example Simulating a time series with n = 500 observations: sim = svsim(500,mu=-10,phi=0.99,sigma=0.2) Running the MCMC scheme: draws = svsample(sim$y,draws=200000,burnin=1000, thinpara=100,thinlatent=100, priormu=c(-10,1), priorphi=c(20,1.2), priorsigma=0.2) 7

sim=svsim(500,mu=-10,phi=0.99,sigma=0.2) Standard deviations 0.000 0.005 0.010 0.015 0.020 0 100 200 300 400 500 Time Log returns 0.04 0.02 0.00 0.02 0 100 200 300 400 500 Time 8

Posterior of µ, φ and σ µ φ σ Density 0.0 0.1 0.2 0.3 0.4 0.5 0.6 Density 0 20 40 60 80 100 Density 0 2 4 6 8 10 13 12 11 10 9 8 0.970 0.975 0.980 0.985 0.990 0.995 1.000 0.10 0.15 0.20 0.25 0.30 0.35 9

Standard deviations 0.000 0.005 0.010 0.015 0.020 0.025 0 100 200 300 400 500 Time 10

Petrobrás Log returns 0.2 0.1 0.0 0.1 0.2 8/10/00 7/18/03 6/19/06 5/21/09 4/20/12 3/26/15 days 11

Posterior of µ, φ and σ µ φ σ Density 0.0 0.5 1.0 1.5 2.0 2.5 3.0 Density 0 20 40 60 80 Density 0 5 10 15 20 8.0 7.5 7.0 6.5 6.0 0.95 0.96 0.97 0.98 0.99 1.00 0.10 0.12 0.14 0.16 0.18 0.20 0.22 12

Standard deviations 0.00 0.05 0.10 0.15 8/10/00 7/18/03 6/19/06 5/21/09 4/20/12 3/26/15 days 13

GARCH(1,1) vs SV-AR(1) MAXIMUM LIKELIHOOD ESTIMATION Estimate Std. Error omega 0.00001473 0.00000315 alpha1 0.07196618 0.00804195 beta1 0.91000140 0.01009689 BAYESIAN ESTIMATION mu phi sigma 1st Qu. -7.464 0.9779 0.1359 Median -7.371 0.9816 0.1464 Mean -7.371 0.9811 0.1480 3rd Qu. -7.282 0.9847 0.1585 14

GARCH(1,1) vs SV-AR(1) Standard deviation 0.00 0.05 0.10 0.15 SV AR(1) GARCH(1,1) abs(y) 8/10/00 7/18/03 6/19/06 5/21/09 4/20/12 3/26/15 Days 15

Brazilian market: Jan 2nd 2003 - Feb 9th 2015 Bradesco.ON Bradesco.PN Bradespar.PN Brasil.ON Braskem.PNA Cemig.ON Cemig.PN Copel.PNB Eletrobras.ON Eletrobras.PNB Embraer.ON Gerdau.PN Gerdau.Met.PN Itausa.PN ItauUnibanco.PN Klabin.S.A.PN Light.S.A.ON Lojas.Americ.PN Marcopolo.PN Oi.PN P.Acucar.Cbd.PN Petrobras.ON Petrobras.PN Sabesp.ON Sid.Nacional.ON Souza.Cruz.ON Telef.Brasil.ON Telef.Brasil.PN Tim.Part.S.A.ON Tractebel.ON Tran.Paulist.PN Unipar.PNB Usiminas.PNA Vale.ON Vale.PNA 16

Returns Bradesco.ON Bradesco.PN Bradespar.PN Brasil.ON Braskem.PNA Cemig.ON Cemig.PN Copel.PNB Eletrobras.ON Eletrobras.PNB Embraer.ON Gerdau.PN Gerdau.Met.PN Itausa.PN ItauUnibanco.PN Klabin.S.A.PN Light.S.A.ON Lojas.Americ.PN Marcopolo.PN Oi.PN P.Acucar.Cbd.PN Petrobras.ON Petrobras.PN Sabesp.ON Sid.Nacional.ON Souza.Cruz.ON Telef.Brasil.ON Telef.Brasil.PN Tim.Part.S.A.ON Tractebel.ON Tran.Paulist.PN Unipar.PNB Usiminas.PNA Vale.ON Vale.PNA 17

Volatility persistance φ 0.80 0.85 0.90 0.95 1.00 0 5 10 15 20 25 30 35 Asset 18

Lopes and Salazar (2006) 1 We extend the SV-AR(1) where y t N(0, exp{h t }) to accommodate a smooth regime shift, i.e. where h t N(α 1t + F (γ, κ, h t d )α 2t, σ 2 ) α it = µ i + φ i h t 1 + δ i h t 2 i = 1, 2 F (γ, κ, h t d ) = 1 1 + exp (γ(κ h t d )) such that γ > 0 drives smoothness and c is a threshold. 1 Time series mean level and stochastic volatility modeling by smooth transition autoregressions: a Bayesian approach, In Fomby, T.B. (Ed.) Advances in Econometrics: Econometric Analysis of Financial and Economic Time Series/Part B, Volume 20, 229-242. 19

Modeling S&P500 returns Data from Jan 7th, 1986 to Dec 31st, 1997 (3127 observations) Models AIC BIC DIC AR(1) 12795 31697 7223.1 AR(2) 12624 31532 7149.2 LSTAR(1,d=1) 12240 31165 7101.1 LSTAR(1,d=2) 12244 31170 7150.3 LSTAR(2,d=1) 12569 31507 7102.4 LSTAR(2,d=2) 12732 31670 7159.4 20

Modeling S&P500 returns Models Parameter AR(1) AR(2) LSTAR(1,1) LSTAR(1,1) LSTAR(2,1) LSTAR(2,1) Posterior mean (standard deviation) µ 1-0.060-0.066 0.292-0.354-4.842-6.081 (0.184) (0.241) (0.579) (0.126) (0.802) (1.282) φ 1 0.904 0.184 0.306 0.572-0.713-0.940 (0.185) (0.242) (0.263) (0.135) (0.306) (0.699) δ 1-0.715 - - -1.018-1.099 (0.248) (0.118) (0.336) µ 2 - - -0.685 0.133 4.783 6.036 (0.593) (0.092) (0.801) (1.283) φ 2 - - 0.794 0.237 0.913 1.091 (0.257) (0.086) (0.314) (0.706) δ 2 - - - - 1.748 1.892 (0.114) (0.356) γ - - 118.18 163.54 132.60 189.51 (16.924) (23.912) (10.147) (0.000) κ - - -1.589 0.022-2.060-2.125 (0.022) (0.280) (0.046) (0.000) σ 2 0.135 0.234 0.316 0.552 0.214 0.166 (0.020) (0.044) (0.066) (0.218) (0.035) (0.026) 21

Carvalho and Lopes (2007) 2 We extend the SV-AR(1) to accommodate a Markovian regime shift, i.e. h t N(µ st + φh t 1, σ 2 ) and for Pr(s t = j s t 1 = i) = p ij α st = γ 1 + for i, j = 1,..., k.x k γ j I jt where I jt = 1 if s t j and zero otherwise, γ 1 R and γ i > 0 for i > 1. j=1 2 Simulation-based sequential analysis of Markov switching stochastic volatility models, Computational Statistics and Data Analysis, 51, 4526-4542. 22

Modeling IBOVESPA returns We analyzed IBOVESPA returns from 01/02/1997 to 01/16/2001 (1000 observations) based on a 2-regime model. 07/02/1997 Thailand devalues the baht by as much as 20%. 08/11/1997 IMF and Thailand set a rescue agreement. 10/23/1997 Hong Kong s stock index falls 10.4%. South Korea Won starts to weaken. 12/02/1997 IMF and South Korea set a bailout agreement. 06/01/1998 Russia s stock market crashes. 06/20/1998 IMF gives final approval to a loan package to Russia. 08/19/1998 Russia officially falls into default. 10/09/1998 IMF and World Bank joint meeting to discuss the global economic crisis. The Fed cuts interest rates. 01/15/1999 The Brazilian government allows its currency, the real, to float freely by lifting exchange controls. 02/02/1999 Arminio Fraga is named president of Brazil s Central Bank. Model 95% credible interval E(φ D T ) SV (0.9325;0.9873) 0.9525 MSSV (0.8481;0.8903) 0.8707 Also, E(p 11 D T ) = 0.993 and E(p 11 D T ) = 0.964. 23

Ibovespa 0.1 0.0 0.1 0.2 0.3 1/2/97 7/2/97 9/8/97 12/2/97 6/1/98 8/19/98 1/15/99 1/13/00 1/15/01 Index Predicted Regime (On line) 0.0 0.2 0.4 0.6 0.8 1.0 1/2/97 7/2/97 9/8/97 12/2/97 6/1/98 8/19/98 1/15/99 1/13/00 1/15/01 time Predicted Log Volatility (On line) 9 8 7 6 5 1/2/97 7/2/97 9/8/97 12/2/97 6/1/98 8/19/98 1/15/99 1/13/00 1/15/01 Index 24

Abanto, Migon and Lopes (2009) 3 We use a modied mixture model with Markov switching volatility specfication to analyze the relationship between stock return volatility and trading volume, i.e. y t h t t ν (0, exp{h t }) v t h t Poisson(m 0 + m 1 exp{h t }) h t N(µ + γs t + φh t 1, τ 2 ) with s t = 0 or s t = 1, µ R and γ < 0. 3 Bayesian modeling of financial returns: a relationship between volatility and trading volume. Applied Stochastic Models in Business and Industry, 26, 172-193 25

Lopes and Polson (2010) 4 The stochastic volatility with correlated jumps (SVCJ) model of Eraker, Johannes and Polson (2003) can be written as y t+1 = y t + µ + v t ɛ y t+1 + Jy t+1 v t+1 = v t + κ(θ v t ) + σ v vt ɛ v t+1 + J v t+1 where both ɛ y t+1 and ɛv t+1 follow N(0, 1) with corr(ɛy t+1, ɛv t+1 ) = ρ; and jump components Usually, = 1. J y t+1 = ξ y t+1 N t+1 J v t+1 = ξ v t+1n t+1 ξ v t+1 Exp(µ v ) ξ y t+1 ξv t+1 N(µ y + ρ J ξ v t+1, σ 2 y ) Pr(N t+1 = 1) = λ 4 Extracting SP500 and NASDAQ volatility: The credit crisis of 2007-2008. Handbook of Applied Bayesian Analysis. 26

Credit crisis of 2007 SV model: µ = J y t+1 = Jv t+1 = 0 and v t = 1 in the evolution equation. SP500 Mean StDev 2.5% 97.5% κθ -0.0031 0.0029-0.0092 0.0022 1 κ 0.9949 0.0036 0.9868 1.0011 σv 2 0.0076 0.0026 0.0041 0.0144 SVJ model: µ = J v t+1 = ξv t+1 = 0 and v t = 1 in the evolution equation. SP500 Mean StDev 2.5% 97.5% κθ -0.0117 0.0070-0.0262 0.0014 1 κ 0.9730 0.0084 0.9551 0.9886 σv 2 0.0432 0.0082 0.0302 0.0613 λ 0.0025 0.0017 0.0003 0.0066 µ y -2.7254 0.1025-2.9273-2.5230 σy 2 0.3809 0.2211 0.1445 0.9381 27

Volatility index - VIX VIX is a trademarked ticker symbol for the Chicago Board Options Exchange (CBOE) Market Volatility Index, a popular measure of the implied volatility of S&P 500 index options. The VIX is quoted in percentage points and translates, roughly, to the expected movement in the S&P 500 index over the upcoming 30-day period, which is then annualized. Sources: http://en.wikipedia.org/wiki/vix http://www.cboe.com/micro/vix/vixwhite.pdf 28

S&P 500 returns vs VIX SP500 returns 0.10 0.00 0.05 0.10 1/2/90 4/22/96 8/21/02 12/18/08 4/23/15 days VIX 10 30 50 70 1/2/90 4/22/96 8/21/02 12/18/08 4/23/15 days 29

VIX vs model-based volatility VIX Implied volatility 10 30 50 70 1/2/90 4/22/96 8/21/02 12/18/08 4/23/15 Days Model based volatility Standard deviation 0.01 0.03 1/2/90 4/22/96 8/21/02 12/18/08 4/23/15 Days 30