+ All Categories
Home > Documents > Estimating and Forecasting Volatility using High Frequency...

Estimating and Forecasting Volatility using High Frequency...

Date post: 07-May-2021
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
48
Estimating and Forecasting Volatility using High Frequency Data Asger Lunde CREATES and University of Aarhus, Denmark July 29, 2010 1 / 48
Transcript
Page 1: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Estimating and Forecasting Volatility using HighFrequency Data

Asger Lunde

CREATES and University of Aarhus, Denmark

July 29, 2010

1 / 48

Page 2: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

IntroWhat is High Frequency Data

Different resolutions

t

16:00

t − m

16:00

t + n

16:009:30

t + 1

16:00

Time

︷ ︸︸ ︷

rt,i , i = 1, . . . , Nt

intra-day returns

︷ ︸︸ ︷

rt−1o,1c

overnight return

︸ ︷︷ ︸

rt

Interday return

2 / 48

Page 3: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

IntroWhat is High Frequency Data is Intra-day Data

Second by second transaction prices, bid/ask quotes, depth, tradingvolume, etc.

Transaction price Spread

Prices -

AA

0 5 10 15 20

Minutes elapsed since 15:00 (05-24-2004)

29.90

29.95

30.00

3 / 48

Page 4: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Intro

Easy access to high frequency (HF) financial data has spurred muchactivity in financial economics.

The introduction of empirical estimators of the quadratic variation tomeasure the ex post variation of asset prices is a prime example.

There is now a range of volatility estimators that are computed from highfrequency data, it has become common to refer to such as realizedmeasures.

For the problem of forecasting volatility, high frequency data have beenvaluable in a number of ways.

The main reason that high-frequency data can greatly improve theforecast accuracy is simply that volatility is highly persistent, so that amore accurate measure of current volatility, which high frequency dataprovide, is valuable for forecasting future volatility

4 / 48

Page 5: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

IntroSix ways that HF data have improved volatility forecasting

1 HF data improve our understanding of the dynamic properties ofvolatility which is key for forecasting.

2 Realized measures are valuable predictors of future volatility in reducedform models.

3 Realized measures have enabled the development of new volatilitymodels that provide more accurate forecasts.

4 HF data have improved the evaluation of volatility forecasts in importantways.

5 Realized measures can facilitate and improve the estimation of complexvolatility models (e.g. continuous time models). Less estimation errorimprove predictions based on such models.

6 HF data have improved our understanding of the driving forces ofvolatility. E.g., HF data have enabled a detailed analysis of newsannouncements and their effect on the financial markets.

5 / 48

Page 6: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

IntroOutline of Talk

HF Data and Realized Measures of VolatilityThe underlying continuous time modelQuadratic Variation and Realized VarianceConnecting the PartsRealized Measures of Volatility

Inference about Latent Volatility from Noisy ProxiesInstrumental Variable EstimatorsEmpirical Analysis of Realized MeasuresThe ACF of A Latent Time Series

Reduced Form Volatility ForecastsDistributed Lag, ARFIMA and HAR Models

Model based Volatility ForecastsGARCH and GARCH-X ModelsCompleting the GARCH-X: Realized GARCH

Financial Application: Realized Beta GARCHConclusion

6 / 48

Page 7: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

IntroFurther Reading

Talk is based based on

Forecasting Volatility using High Frequency Data

by

Peter R. Hansen and Asger Lunde

Chapter 19 in OUP Handbook of Economic Forecasting

Forthcoming at Oxford University Press

7 / 48

Page 8: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

HF Data and Realized Measures of VolatilityNotational Framework

Log prices: Y (t)

Daily returns: yt = Y (t)− Y (t − 1),

Intraday returns: yt,i = Y (τi )− Y (τi−1), for i = 1, . . . ,Nt .

Denote the conditional mean and variance of yt by

µt = E [yt |Ft−1] , and σ2t = var [yt |Ft−1] .

The richness of Ft is key for defining σ2t and the forecasting problem.

In the classical approach to volatility forecasting Ft is typically generatedby sparse daily information, such as opening or closing prices.

Recent improvements is where Ft also comprises HF information (e.g.intraday transaction prices, quotes, trading volume and depth).

8 / 48

Page 9: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

HF Data and Realized Measures of VolatilityThe underlying continuous time model

Let us make the connection to the underlying continuous time model (Itoprocess), that is

dY (t) = µ(t)dt + σ(t)dW (t),

This is also known as a stochastic volatility (SV) model.

It has some very convenient properties, in particular,

yt |µt , IV t ∼ N(µt , IV t ),

where

µt ≡∫ t

t−1µ(s)ds and IV t ≡

∫ t

t−1σ2(s)ds.

So in this framework the integrated variance, IV t , is the populationmeasure of actual return variance.

9 / 48

Page 10: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

HF Data and Realized Measures of VolatilityQuadratic Variation and Realized Variance

Y (t) could look like this over a unit interval:

0.0

0.0

5

0.1

0

0.1

5

0.2

0

0.2

5

0.3

0

0.3

5

0.4

0

0.4

5

0.5

0

0.5

5

0.6

0

0.6

5

0.7

0

0.7

5

0.8

0

0.8

5

0.9

0

0.9

5

1.0

0

The quadratic variation of a stochastic process over [t − 1, t ] is given by

QV t ≡ plimN→∞

N

∑j=1{Y (τj )− Y (τj−1)}2,

where maxj∣∣τj − τj−1

∣∣→ 0 as N → ∞.

10 / 48

Page 11: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

HF Data and Realized Measures of VolatilityQuadratic Variation and Realized Variance

The empirical counter part of QV t is called the realized variance whichis simply the sum of the squared observed intraday returns,

RV t ≡Nt

∑j=1

y2t,j .

RV t consistently estimates the corresponding QV t for allsemimartingales, and

for SV models it holds that QV t = IV t .

So for SV models the population measure, IV t , is also consistentlyestimated by RV t .

11 / 48

Page 12: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

HF Data and Realized Measures of VolatilityConnecting the Parts

We have the following relation

σ2t = var [rt |Ft−1] ≈ E [RV t |Ft−1] ≈ E [IV t |Ft−1] .

so we can build models for volatility forecasting directly on the time seriesof realized variances.

The literature has evolved to a higher level of generality than this.

Due to various measurement issues, known as market microstructurenoise, several alternative estimators of IV t have been suggested.

We refer to such estimators as realized measures, RM t .

These measures are key for obtaining more precise forecasts and forperformance evaluation among different forecasting methods.

12 / 48

Page 13: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

HF Data and Realized Measures of VolatilityRealized Measures of Volatility

Merton (1980); in a noiseless environment the variance of returns canbe estimated much more precisely from realized returns than theexpected return.

Barndorff-Nielsen & Shephard (2002) extend this insight to the SV

model and show that RV t convergence stably in law, “Ls→”,

n1/2(RV n − IV )Ls→ MN(0,2IQ),

Integrated Quarticity

IQ ≡∫ 1

0σ4

u du

implies a joint convergence, so that

n1/2(RV n − IV )√2IQ

L→ N(0,1).

Jacod (1994), Jacod & Protter (1998), Barndorff-Nielsen & Shephard(2002), Mykland & Zhang (2006) and Goncalves & Meddahi (2005).

13 / 48

Page 14: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

HF Data and Realized Measures of VolatilityRealized Measures of Volatility

Merton (1980) also wrote: “in practice, the choice of an even-shorterobservation interval introduces another type of error which will ‘swamp’the benefit [...] long before the continuous limit is reached”.

Transaction price Spread

Prices -

AA

0 5 10 15 20

Minutes elapsed since 15:00 (05-24-2004)

29.90

29.95

30.00

14 / 48

Page 15: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

HF Data and Realized Measures of VolatilityRealized Measures of Volatility

Market microstructure effects cause the observed price to deviate fromthe efficient price (that has the semi-martingale property.

So if Y (t) is the latent true price process. Then for estimating IV t we willobserve:

X (τj ) = Y (τj ) + U(τj ).

We think of U as noise that can be due to, for example, liquidity effects,bid/ask bounce and misrecordings.

See Roll (1984), Zhou (1996), Hansen & Lunde (2006), Li & Mykland(2007) and Diebold & Strasser (2007).

See Hansen & Lunde (2006) for a comprehensive analysis of the statisticalproperties of U.

15 / 48

Page 16: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

HF Data and Realized Measures of VolatilityRealized Measures of Volatility

Several methods have been developed for estimating the IV and QV inthe presence of noise.

Leading references include Zhou (1996), Andersen, Bollerslev, Diebold &Labys (2000), Bandi & Russell (2008), Zhang, Mykland & Aı̈t-Sahalia(2005), Zhang (2006), Jacod, Li, Mykland, Podolskij & Vetter (2009),Barndorff-Nielsen, Hansen, Lunde & Shephard (2008) and Hansen & Horel(2009).

For instance the realized kernel estimator of BNHLS (2008) takes theform

RK t =H

∑h=−H

k(

hH

)γh, γh =

n

∑j=|h|+1

xjxj−|h|, xj = X (τj )− X (τj−1)

where k(x) is a kernel weight function, such as the Parzen kernel.BNHLS (2009); details about implementation .BNHLS (2010); extension to multivariate price processes.

16 / 48

Page 17: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Inference about Latent Volatility from Noisy Proxies

Observed volatility time series are naturally viewed as proxies for theunderlying population quantities.

Consider a time series of daily realized variances.

Each element of this time series can be viewed as a noisy estimate ofthe latent volatility.

Much progress has recently been made in estimating financial volatilityfrom high-frequency data using realized measures, such as the realizedvariance.

Despite this progress, it is important to discriminate between therealized measure of volatility and the underlying population quantity .

17 / 48

Page 18: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Even for the most accurate estimators of daily volatility the standard error for asingle estimate is rarely less than 10% of the point estimate, see Barndorff-Nielsen,

Hansen, Lunde & Shephard (2008).

Estim

ate

s o

f [Y

]

0.0

0.5

1.0

1.5

2.0

2.5

3.0

Confidence band (Realised Variance)

1 2 3 4 5 8 9 10 11 12 15 16 17 18 19 22 23 24 29 30

Days in November 2004 (GE)

Estim

ate

s o

f [Y

]

0.0

0.5

1.0

1.5

2.0

2.5

3.0

Confidence band (Realised Variance)

1 2 3 4 5 8 9 10 11 12 15 16 17 18 19 22 23 24 29 30

Days in November 2004 (GE)

Confidence band (Realised Variance) Confidence band (Realised Kernel)

18 / 48

Page 19: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Inference about Latent Volatility from Noisy Proxies

The analysis draws on the paper:Hansen & Lunde (2010) “Estimating the Persistence and the ACF of a TimeSeries that is Measured with Error”

Consider for simplicity an unvariate ARMAp,q specification:

ϕ(L)(yt − δ) = θ(L)εt , xt = yt + ξ + ηt ,

where

exp(yt ) = is the latent volatility

exp(xt ) = RAt is the observed volatility

ηt is the measurement error

Thenϕ(L) (xt − δ− ξ) = θ(L)εt + ϕ(L)ηt .

So xt is an ARMA process with the exact same autoregressive polynomial, (noted by Barndorff-Nielsen

& Shephard (2002) and Meddahi (2003) for the ARMA1,1 case).

19 / 48

Page 20: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Inference about Latent Volatility from Noisy Proxies

A key parameter is the persistence parameter (z∗1 , . . . , z∗p are the rootsof ϕ(z)):

π = maxi=1,...,p

1|z∗i |

,

For π = 1 when ϕ(z) has a unit root and for persistent processes we haveπ ≈ ϕ• ≡ ϕ1 + · · ·+ ϕp.

We have a classical errors-in-variable problem. So in general theestimates, φ̂i , we get from estimating

xt =p

∑i=1

φixt−i + εt

will be biased and inconsistent for autoregessive parameters of thelatent volatility process

20 / 48

Page 21: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Inference about Latent Volatility from Noisy ProxiesInstrumental Variable Estimators

IV estimators of the persistence parameter π, that have the form

π̂IVz =∑n

t=1 ztxt+1

∑nt=1 ztxt

,

where zt is the instrument. Fx lagged values of xt .

Includes the 2SLS estimator, which is based on,

Z̃t = (xt−J1 − x̄J1 , . . . , xt−J2 − x̄J2)′ with 0 ≤ J1 ≤ J2.

with

zt = Z̃′t α̂TSLS, where α̂TSLS =

(n

∑t=1

Z̃t Z̃′t

)−1 n

∑t=1

Z̃txt .

21 / 48

Page 22: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Inference about Latent Volatility from Noisy ProxiesThe Empirical and Latent Acfs: Volatility for BA

Stocks in the Dow (DJIA). Realized variance and the realized kernel.sample period: Jan 3, 2002 to Jul 31, 2009 gives 1,907 obs. per stock.

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200

ACFRK

ACFRK

*

ACFRV

ACFRV

*

Conventional ACFs are quite different ... the two ACF∗s are in agreement.

22 / 48

Page 23: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Inference about Latent Volatility from Noisy ProxiesThe Empirical and Latent Acfs: Volatility for MRK

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200

ACFRK

ACFRK

*

ACFRV

ACFRV

*

Again the two ACF∗-estimates are in agreement.

23 / 48

Page 24: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Empirical AnalysisSquared or Absolute Returns

1 10 20 30 40 50 60 70 80 90 100

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

Squared returns

Lag length (DJ)

1 10 20 30 40 50 60 70 80 90 100

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

Absolute returns

Lag length (DJ)

1 10 20 30 40 50 60 70 80 90 100

0.05

0.15

0.6

0.7

0.8

0.9

1.0

log(absolute returns)

Lag length (DJ)

ACF-LS ACF-2SLS

24 / 48

Page 25: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Empirical AnalysisSquared or Absolute Returns

The new estimation of the autocorrelation of the underlying process,ACF∗x , reveals that the choice between long memory and unit root is lessclear-cut than is suggested by the conventional autocorrelation functionfor the observed process, ACFx .

25 / 48

Page 26: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Reduced Form Volatility Forecasts

Methods are quite similar in terms of the forecasts they produce.

can be viewed as flexible extensions of the simple exponential smoothingforecast.

Not surprising because volatility is known to be highly persistent (closeto unit root) and a realized measure is simply a noisy measurement ofthe underlying population volatility.

Since, the MSE optimal forecast within the local level model (randomwalk with noise) is given by exponential smoothing, we should not besurprised to see the reduced form forecasts yield point forecasts thatclosely resembles that of exponential smoothing.

26 / 48

Page 27: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Reduced Form Volatility ForecastsDistributed Lag Models

Generalized in Ghysels, Santa-Clara & Valkanov (2006) that considervolatility (MIDAS) regressions such as

RV t,h = µ + φK

∑k=0

b(k , θ)X̃t−k + εt ,

where RV t,h = RV t + · · ·+ RV t+h.

Idea: X̃t−k , can be sampled at any frequency that seems relevant forpredicting IV t ,h.

X̃t−k : daily RV, 5 minute or daily squared/absolute returns, the daily rangeand the daily sum of intraday absolute returns.

27 / 48

Page 28: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Reduced Form Volatility ForecastsARFIMA Models

The idea of fitting ARFIMA models to realized measures was put forth in1999 and later published as Andersen, Bollerslev, Diebold & Labys(2003).

They fit a trivariate long-memory Gaussian VAR:

Φ(L)(1− L)d (yt − µ) = εt

The dependent variable, yt , is a vector with log(RV t )/2 components forDM/$, U/$ and U/DM exchange rates. They found d̂ = 0.401.

A general finding of empirical studies with ARFIMA models in thiscontext, is that this framework produces volatility forecasts that dominatethose of conventional GARCH models that are based on daily returns.

28 / 48

Page 29: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Reduced Form Volatility ForecastsHAR Models

Corsi (2009) proposes the a (HAR-RV) model of different volatilitycomponents designed to mimic the actions of different types of marketparticipants.

It is a predictive model for the daily integrated volatility√RV t+1 = c + β(d)

√RV t + β(w)

√RV t−5,5 + β(m)

√RV t−22,22 + εt+1.

Predicts future volatility using a daily, a weekly and a monthlycomponent.

The HAR model is found to be very successful in practice, and iscomparable to the ARFIMA models.

29 / 48

Page 30: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Model based Volatility ForecastsGARCH and GARCH-X Models

Recallµt = E [rt |Ft−1] , and σ2

t = var [rt |Ft−1] .

where Ft comprises all variables that are available for prediction at times t .

Conventional GARCH models provide a specification for a conditionalvariance that is defined with a simpler filtration, which is generatedexclusively by past returns, F r

t = σ(rt , rt−1, . . .).

Realized measures are useful additions to GARCH models because

var (rt |F rt−1) 6= var (rt |F r ,RM

t−1 ),

where F r ,RMt = σ(RM t , rt ,RM t−1, rt−1, . . .).

The difference tends to be more pronounced after a sudden change inthe conditional variance.

30 / 48

Page 31: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Model based Volatility ForecastsGARCH and GARCH-X Models

Illustrating var (rt |F rt−1) and var (rt |F r ,RM

t−1 ),

t

16:00

t − m

16:00

t + n

16:009:30

t + 1

16:00

Time

︷ ︸︸ ︷

RV t,1o

Realized variance

based on

intra-day returns

︷ ︸︸ ︷

rt−1o,1c

overnight return

︸ ︷︷ ︸

rt

Interday return

31 / 48

Page 32: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Model based Volatility ForecastsGARCH and GARCH-X Models

Distinguish between the true conditional variance,

σ2t = var (rt |Ft−1)

and the model-based equivalent

hGt = var (rt |F r

t−1), and hGXt = var (rt |F r ,RM

t−1 ),

The simplest GARCH(1,1) model is given by

rt =√

hGt zt ,

hGt = ω + αr2

t−1 + βhGt−1,

where zt ∼ iid(0,1).

So squared returns, r2t−1, defines the dynamic of the conditional variance

β ' 0.95 and α ' 0.05 in practice.

32 / 48

Page 33: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Model based Volatility ForecastsGARCH and GARCH-X Model

r2t−1 can be viewed as a noisy measure of volatility

Realized measures, such as the Realized Variance,provide more accurate measurements of volatility.

Engle (2002), and many others

hGXt = ω + αr2

t−1 + βhGXt−1 + γRM t−1.

RM t−1 is a realized measure of volatility (e.g. RV)

Typicallyγ̂ ' 0.4

α̂ ' 0 (ARCH parameter becomes insignificant)

Huge improvement in the empirical fit.

33 / 48

Page 34: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Model based Volatility ForecastsGARCH and GARCH-X Models: Intuition

Value of introducing realized measures of volatility into GARCH models?

How well does hGt or hGX

t approximate σ2t in various circumstances?

Simple example (Hansen, Huang & Shek (2009)). Suppose that volatility isσt = 20% for t < T and then jumps to σt = 40% for t ≥ T ,

−10 0 10 20 30 40 50 60

20

25

30

35

40

45

Days

σ: vola

tility

(%

)

Old volatility

New volatility

34 / 48

Page 35: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Model based Volatility ForecastsGARCH is Slow

Suppose that r2t and RM t are both unbiased estimates of σ2

t .

Let ω = 0, β = 0.95, and α = 0.05 as typical for a GARCH(1,1)

The implication is that for k ≥ 0

E(hGT+k ) = (1− βk )(40%)2 + βk (20%)2

−10 0 10 20 30 40 50 60

20

25

30

35

40

45

Days

σ: vola

tility

(%

)

Old volatility

New volatility

GARCH

35 / 48

Page 36: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Model based Volatility ForecastsGARCH-X is Fast

ω = α = 0, β = 0.5, and γ = 0.5, are in line with typical GARCH-Xestimates:

−10 0 10 20 30 40 50 60

20

25

30

35

40

45

Days

σ: vola

tility

(%

)

Old volatility

New volatility

GARCH

GARCH−X

It takes 3 months for hGt to get slightly above 39% (on average)

It takes just four days for the GARCHX model to bring hGXt up to date.

36 / 48

Page 37: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Model based Volatility ForecastsCompleting the GARCH-X

The GARCH-X is an incomplete model in the sense that it makes noattempt to model the realized measure, RM t .

For predicting volatility one-period ahead there is not necessary tospecify a model for RM t .

However, for predicting the volatility a longer horizons a specification forRM t is needed to “complete” the model.

Engle & Gallo (2006) and Shephard & Shephard (2010) among othersuse parallel GARCH structures where RM t is effectively being modeledanalogously to the way r2

t is modeled in the GARCHX model.

37 / 48

Page 38: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Model based Volatility ForecastsCompleting the GARCH-X: Realized GARCH

The Realized GARCH model by Hansen, Huang & Shek (2009)introduces a measurement equation that ties RM t to ht .

For instance, the measurement equation could take the form (zt = rt /ht )

RM t = ξ + ϕht + τ(zt ) + ut , where ut ∼ iid(0, σ2u )

τ(zt ) : dependence between shocks to returns and shocks to volatility(leverage)

it should beensured that E [τ(zt )] = 0 whenever E [zt ] = 0 and Var [zt ] = 1.

An implication of the measurement equation is that

E(RM t |Ft−1) = ξ + ϕht ,

since ϕ may be less than one, we can have RM t computed over a periodthat is shorter than the period that the return, rt , spans.

Important in practice: For modelling of close-to-close returns, theavailability of HF data is often limited to the open-to-close period.

38 / 48

Page 39: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Financial Application: Realized Beta GARCHNotation and Modelling Strategy

Based on Hansen, Lunde and Voev (2010) ... work in progressr0,t : denotes the market return.x0,t : realized measure of market volatility.r1,t : denotes the return on the individual asset.x1,t : realized measure of the individual asset volatility.x̃01,t : realized covariance measurey1,t =

x̃01,t√x0,t x1,t

: realized correlation. From a psd 2× 2 realized covariancematrix, ensuring y1,t ∈ (−1,1).

The information set is thus given by

Ft = σ(r0,t , r1,t , x0,t , x1,t , y1,t , r0,t−1, r1,t−1, x0,t−1, x1,t−1, y1,t−1, . . .).

In our modelling we utilize the following decomposition of the jointconditional density,

f (r0,t , x0,t , r1,t , x1,t , y1,t |Ft−1) =

f (r0,t , x0,t |Ft−1)f (r1,t , x1,t , y1,t |r0,t , x0,t ,Ft−1).39 / 48

Page 40: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Financial Application: Realized Beta GARCHModel for Market Returns Realized EGARCH

A Realized EGARCH model for market returns and realized measures ofvolatility (f (r0,t , x0,t |Ft−1)) is used

r0,t = µ0 +√

h0,tz0,t ,

log h0,t = a0 + b0 log h0,t−1 + c0 log x0,t−1 + τ0(z0,t−1)

log x0,t = ξ0 + ϕ0 log h0,t + δ0(z0,t ) + u0,t ,

where we model z0,t ∼ iidN(0,1), u0,t ∼ iidN(0, σ2u ).

Note that we do not follow the conventional GARCH notation, becausewe want to reserve the notation “β” for

βt = cov(r1,t , r0,t |Ft−1)/var (r0,t |Ft−1),

We are particularly interested in the dynamic properties of β1,t .

40 / 48

Page 41: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Financial Application: Realized Beta GARCHIndvidual Asset Returns, Volatility, and Covolatility

Model f (r1,t , x1,t , y1,t |r0,t , x0,t ,Ft−1)... conditional on contemporary“market” variables.

Further decomposition

f (r1,t , x1,t , y1,t |r0,t , x0,t ,Ft−1) =

f (r1,t |r0,t , x0,t ,Ft−1)f (x1,t , y1,t |r1,t , r0,t , x0,t ,Ft−1).

The first two have an Realized EGARCH structure for the individualasset,

r1,t = µ1 +√

h1,tz1,t ,

log h1,t = a1 + b1 log h1,t−1 + c1 log x1,t−1 + d1 log h0,t + τ1(z1,t−1).

41 / 48

Page 42: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Financial Application: Realized Beta GARCHIndvidual Asset Returns, Volatility, and Covolatility

A conditional covariance capture the dependence between market andindividual returns

ρt = cov(z0,t , z1,t |Ft−1),

note that ρt is the conditional correlation between r0,t and r1,t .

Need to specify the dynamic properties of ρt

z(ρt ) = a01 + b01z(ρt ) + c01z(y1t ).

Fisher transformation, z(ρ) = 12 log 1+ρ

1−ρ , mapping (−1,1) into R.

Finally, the model is completed using more two measurement equations:

log x1,t = ξ1 + ϕ1 log h1,t + δ1(z1,t ) + u1,t ,

andz(y1t ) = ξ01 + ϕ01z(ρt ) + v1t .

Estimation using quasi maximum likelihood, for details see Hansen,Lunde and Voev (2010).

42 / 48

Page 43: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Financial Application: Realized Beta GARCHConditional Beta

The implied beta is now given by

βt =ρt√

h1,th0,t

h0,t= ρt

√h1,t

h0,t.

Because volatility is usually rather persistent, weexpect βt to “inherit” this persistence.

43 / 48

Page 44: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Financial Application: Realized Beta GARCHA look at the Data

close SPY

2007 2008 2009 2010

100

200close SPY close SPY close CVX

2007 2008 2009 2010

100

200close SPY close CVX close SPY close CVX

2007 2008 2009 2010

100

200close SPY close CVX

RK SPY

2007 2008 2009 2010

0.1

10

RK SPY

close SPY close CVX

2007 2008 2009 2010

100

200close SPY close CVX

RK SPY RK CVX

2007 2008 2009 2010

0.1

10

RK SPY RK CVX

close SPY close CVX

2007 2008 2009 2010

100

200close SPY close CVX

RK SPY RK CVX

2007 2008 2009 2010

0.1

10

RK SPY RK CVX

RCorr SPY−CVX

2007 2008 2009 2010

0.0

0.5

1.0RCorr SPY−CVX

44 / 48

Page 45: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Financial Application: Realized Beta GARCHEstimation Results: Latent Volatilities

RK CVX

2007 2008 2009 2010

1

2

3

10

20

30

100

200 RK CVX

RK SPY

2007 2008 2009 2010

0.1

0.2

1

2

10

20

100RK SPY

RK CVX hCVX ,t

2007 2008 2009 2010

1

2

3

10

20

30

100

200 RK CVX hCVX ,t

RK SPY hSPY ,t

2007 2008 2009 2010

0.1

0.2

1

2

10

20

100RK SPY h

SPY ,t

45 / 48

Page 46: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Financial Application: Realized Beta GARCHEstimation Results: Latent Correlation and Beta

realized correlation

2007 2008 2009 2010

0.00

0.25

0.50

0.75

1.00

realized correlation

realized beta

2007 2008 2009 2010

0.0

0.5

1.0

1.5

2.0 realized beta

realized correlation model correlation

2007 2008 2009 2010

0.00

0.25

0.50

0.75

1.00

realized correlation model correlation

realized beta model beta

2007 2008 2009 2010

0.0

0.5

1.0

1.5

2.0 realized beta model beta

46 / 48

Page 47: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

ConclusionSeven ways that HF data have improved volatility forecasting

1 HF data improve our understanding of the dynamic properties ofvolatility which is key for forecasting.

2 Realized measures are valuable predictors of future volatility in reducedform models.

3 Realized measures have enabled the development of new volatilitymodels that provide more accurate forecasts.

4 HF data have improved the evaluation of volatility forecasts in importantways.

5 Realized measures can facilitate and improve the estimation of complexvolatility models (e.g. continuous time models). Less estimation errorimprove predictions based on such models.

6 HF data have improved our understanding of the driving forces ofvolatility.

7 Deliver much more precise estimates and forecast of an assets beta.47 / 48

Page 48: Estimating and Forecasting Volatility using High Frequency Datasbfin.org.br/files/x-ebfin-asger-lunde.pdf · 2017. 12. 17. · Intro What is High Frequency Data is Intra-day Data

Andersen, T. G., Bollerslev, T., Diebold, F. X. & Labys, P. (2000), ‘Great realizations’, Risk 13(3), 105–108.

Andersen, T. G., Bollerslev, T., Diebold, F. X. & Labys, P. (2003), ‘Modeling and forecasting realized volatility’, Econometrica 71(2), 579–625.

Bandi, F. M. & Russell, J. R. (2008), ‘Microstructure noise, realized variance, and optimal sampling’, Review of Economic Studies . forthcoming.

Barndorff-Nielsen, O. E., Hansen, P. R., Lunde, A. & Shephard, N. (2008), ‘Designing realised kernels to measure the ex-post variation of equity prices inthe presence of noise’, Econometrica 76, 1481–1536.

Barndorff-Nielsen, O. E. & Shephard, N. (2002), ‘Econometric analysis of realised volatility and its use in estimating stochastic volatility models’, Journal ofthe Royal Statistical Society B 64, 253–280.

Corsi, F. (2009), ‘A simple long memory model of realized volatility’, Journal of Financial Econometrics 7, 174–196.

Diebold, F. & Strasser, G. (2007), On the correlation structure of microstructure noise in theory. and practice. Unpublished paper: University ofPennsylvania.

Engle, R. F. & Gallo, G. M. (2006), ‘A multiple indicators model for volatility using intra-daily data’, Journal of Econometrics 131, 3–27.

Ghysels, E., Santa-Clara, P. & Valkanov, R. (2006), ‘Predicting volatility: getting the most out of return data sampled at different frequencies’, Journal ofEconometrics 131, 59–95.

Hansen, P. R. & Horel, G. (2009), ‘Quadratic variation by markov chains’, working paper, Stanford University .

Hansen, P. R., Huang, Z. & Shek, H. H. (2009), ‘Realized garch: A complete model of returns and realized measures of volatility’, working paper, StanfordUniversity .

Hansen, P. R. & Lunde, A. (2006), ‘Realized variance and market microstructure noise’, Journal of Business and Economic Statistics 24, 127–218. The2005 Invited Address with Comments and Rejoinder.

Jacod, J., Li, Y., Mykland, P. A., Podolskij, M. & Vetter, M. (2009), ‘Microstructure noise in the continuous case: the pre-averaging approach’, StochasticProcesses and Their Applications 119, 2249–2276.

Li, Y. & Mykland, P. (2007), ‘Are volatility estimators robust to modelling assumptions?’, Bernoulli 13, 601–622.

Meddahi, N. (2003), ‘ARMA representation of integrated and realized variances’, The Econometrics Journal 6, 334–355.

Merton, R. C. (1980), ‘On estimating the expected return on the market: An exploratory investigation’, Journal of Financial Economics 8, 323–361.

Roll, R. (1984), ‘A simple implicit measure of the effective bid-ask spread in an efficient market’, Journal of Finance 39, 1127–1139.

Shephard, N. & Shephard, K. (2010), ‘Realising the future: Forecasting with high frequency based volatility (HEAVY) models’, Journal of AppliedEconometrics .

Zhang, L. (2006), ‘Efficient estimation of stochastic volatility using noisy observations: a multi-scale approach’, Bernoulli 12, 1019–1043.

Zhang, L., Mykland, P. A. & Aı̈t-Sahalia, Y. (2005), ‘A tale of two time scales: Determining integrated volatility with noisy high frequency data’, Journal ofthe American Statistical Association 100, 1394–1411.

Zhou, B. (1996), ‘High-frequency data and volatility in foreign exchange rates’, Journal of Business & Economic Statistics 14(1), 45–52.

48 / 48


Recommended