a time-frequency analysis of oil price data...a time-frequency analysis of oil price data josselin...

50
A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut Sølna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin Garnier and Knut Sølna Oil price October 3, 2017 1 / 46

Upload: others

Post on 19-Feb-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

A Time-Frequency Analysis of Oil Price Data

Josselin Garnier and Knut Sølna

Ecole Polytechnique and UC Irvine

October 3, 2017

Josselin Garnier and Knut Sølna Oil price October 3, 2017 1 / 46

Page 2: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Purpose and summary

Purpose:

Challenge: to understand oil price dynamics in the long run, but alsoon short scales, in particular, for the recent period (since 2014).

Idea: to adapt and exploit elaborated tools developed for turbulencedata.

Summary:

Oil price data have a rich multiscale structure that may vary overtime.

The monitoring of these variations shows regime switches.

The quantitative analysis is carried out by a wavelet decompositionmethod.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 2 / 46

Page 3: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

The data set

1990 1995 2000 2005 2010 2015 2020

Year

0

50

100

150

Price in $

Raw Pricing Data

BrentWest Texas

Oil price data from 1987 to 2017 for West Texas (red dashed line) andBrent (solid blue line).

Josselin Garnier and Knut Sølna Oil price October 3, 2017 3 / 46

Page 4: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Early history of price modeling

1900: Louis Bachelier “Theorie de la Speculation”:- Modeling of prices and pricing of options.- Analysis of Brownian motion (predates Einstein’s 1905 works).

The price changes over different time intervals [tn, tn+1] are independent,Gaussian, zero-mean, and with variance proportional to tn+1 − tn.

Increments of Brownian motion model “absolute” price changes,essentially:

P(tn+1)− P(tn) = σ(B(tn+1)− B(tn)).

Josselin Garnier and Knut Sølna Oil price October 3, 2017 4 / 46

Page 5: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Standard price model

1960s: Paul A. Samuelson:Increments of Brownian motion model “relative” price changes, essentially:

P(tn+1)− P(tn)

P(tn)= σ(B(tn+1)− B(tn)),

with, in addition, possibly a deterministic drift.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 5 / 46

Page 6: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Standard price model

Price P(t) = a drift d(t) + a diffusion, that can be expressed interms of a Brownian motion B(t) and volatility σt :

dP(t)

P(t)= d(t)dt + σtdB(t)

The Brownian motion B is a Gaussian process with independent andstationary increments:

E[(B(t + ∆t)− B(t))2

]= |∆t|

It is self-similar:

B(at)dist.∼ a1/2B(t) for any a > 0

The volatility is the most important ingredient of the standard model.

I When σt ≡ σ and d(t) ≡ d , this is the Black–Scholes model (1973).I When σt ≡ σ(t,P(t)), this is the local volatility model (Dupire, 1994;

Derman and Kani, 1994).I When σt is a stochastic process, this is the stochastic volatility model

(Hull and White, 1987; Heston, 1993).

Josselin Garnier and Knut Sølna Oil price October 3, 2017 6 / 46

therrese
Cross-Out
Page 7: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Standard price model

Price P(t) = a drift d(t) + a diffusion, that can be expressed interms of a Brownian motion B(t) and volatility σt :

dP(t)

P(t)= d(t)dt + σtdB(t)

The Brownian motion B is a Gaussian process with independent andstationary increments:

E[(B(t + ∆t)− B(t))2

]= |∆t|

It is self-similar:

B(at)dist.∼ a1/2B(t) for any a > 0

The volatility is the most important ingredient of the standard model.I When σt ≡ σ and d(t) ≡ d , this is the Black–Scholes model (1973).I When σt ≡ σ(t,P(t)), this is the local volatility model (Dupire, 1994;

Derman and Kani, 1994).I When σt is a stochastic process, this is the stochastic volatility model

(Hull and White, 1987; Heston, 1993).

Josselin Garnier and Knut Sølna Oil price October 3, 2017 6 / 46

therrese
Cross-Out
Page 8: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

1990 1995 2000 2005 2010 2015 2020

Year

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

Retu

rns

Raw Returns Data

Brent

West Texas

Returns for West Texas (red dashed line) and Brent (solid blue line).

Rn+1 =P(tn+1)− P(tn)

P(tn), tn = n∆t

Josselin Garnier and Knut Sølna Oil price October 3, 2017 7 / 46

Page 9: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Modeling of prices: An alternative approach

1960s: Benoit Mandelbrot:Increments of fractional Brownian motion model “relative” price changes,essentially:

Rn+1 =P(tn+1)− P(tn)

P(tn)= σ(BH(tn+1)− BH(tn)).

→ Returns have “memory”:

ρH =E[Rn+1Rn]

E[R2n ]

= 1− 22H−1.

Thus in general:

E[Rn+1 | Rn] = ρHRn

6= E[Rn+1 | Rn,Rn−1].

Josselin Garnier and Knut Sølna Oil price October 3, 2017 8 / 46

therrese
Inserted Text
add comma: Thus,
Page 10: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Hurst sensitivity of return correlation

0.4 0.45 0.5 0.55 0.6

H

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

ρH

Correlation of Increments

ρH =E[Rn+1Rn]

E[R2n ]

= 1− 22H−1.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 9 / 46

Page 11: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Fractional price model

Price P(t):dP(t)

P(t)= d(t)dt + σtdBH(t)

where BH is a fractional Brownian process with Hurst index H.

BH is a Gaussian process with dependent and stationary increments:

E[(BH(t + ∆t)− BH(t))2

]= |∆t|2H

Properties:I It is self-similar:

BH(at)dist.∼ aHBH(t) for any a > 0

I If H = 1/2: it has uncorrelated increments (standard Brownianmotion).

I If H < 1/2: it has negatively correlated increments (anti-persistence).Trajectories are rough (but continuous).

I If H > 1/2: it has positively correlated increments (persistence).Trajectories are smooth (but not differentiable).

Josselin Garnier and Knut Sølna Oil price October 3, 2017 10 / 46

Page 12: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Radical change of perspective: Hurst coefficient and volatility are thefundamental quantities.Hurst coefficient governs scaling of volatility with time lag.Example: we condition “volatility” to be one at time lag 1 (say inannualized units), then St.dev(σB(t)), t ∈ (0, 2), σ = 1:

01

0.5

2

1

1.5

H

0.5

YEARS

2

1

0 0

Classic case:H = 1/2: independent increments.Limit cases:H → 1: Increments equal: ∆Bn = ∆Bn−1.H → 0: Increments alternate in sign: ∆Bn = −∆Bn−1.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 11 / 46

therrese
Inserted Text
The
therrese
Inserted Text
The
therrese
Inserted Text
the
therrese
Inserted Text
a
therrese
Inserted Text
if (??)
Page 13: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

t

0 0.2 0.4 0.6 0.8 1

Zt

-4

-2

0

2

4

H=0.25

t

0 0.2 0.4 0.6 0.8 1

Zt

-4

-2

0

2

4

H=0.75

t

0 0.2 0.4 0.6 0.8 1

Zt

-4

-2

0

2

4

H=0.5

Ornstein–Uhlenbeck processes

dZ (t) = −Z (t)dt + dBH(t)

Josselin Garnier and Knut Sølna Oil price October 3, 2017 12 / 46

Page 14: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

History

Fractional processes:

Kolmogorov (1940): turbulence (turbulent flow composed by ”eddies”of different sizes).

Hurst (1951): hydrology (fluctuations of the water level in the NileRiver).

Mandelbrot and Van Ness (1968): finance.

Comte and Renault (1998): stochastic volatility.

Gatheral et al (2014): rough stochastic volatility.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 13 / 46

Page 15: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Multi-fractional price model→ Motivated by the data, let increments of multi-fractional Brownianmotion model “relative” price changes, essentially:

Rn+1 =P(tn+1)− P(tn)

P(tn)= σn(BHn(tn+1)− BHn(tn)).

Price P(t):dP(t)

P(t)= d(t)dt + dBH,σ(t)

where BH,σ is a multi-fractional process (Ht and σt aretime-dependent) (Levy-Vehel 1995).

If Ht ≡ H and σt ≡ 1, then BH,σ = BH fractional Brownian motion.

→ Some issues:

Rapid Monte-Carlo simulation of price “paths”.

Estimation of the parameters.↪→ use of wavelets.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 14 / 46

Page 16: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Wavelets

Main context: Signals may have frequency content that varies withtime. Ex: speech.

A Fourier decomposition gives the “global” frequency decomposition.

A wavelet decomposition gives a local characterization of thefrequency contents.

→ To detect changes in the multiscale character of the prices the waveletsare useful.

Cf: Meyer 1984, Mallat, Daubechies...

Josselin Garnier and Knut Sølna Oil price October 3, 2017 15 / 46

Page 17: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Joint estimation of Hurst and volatility

Use wavelet decomposition to localize in time and frequency thedifferent components of the time series.↪→ Wavelet coefficients are indexed by time and frequency.

Consider the decay of the wavelet coefficients as a function offrequency for a fixed time.↪→ The decay has a power-law form.↪→ The parameters of this power law give the local Hurst andvolatility parameters.

Remark: Many methods for Hurst parameter estimation:I Box-count estimator (Hall and Wood, 1993).I Variogram estimator (Constantine and Hall, 1994).I Level crossing estimator (Feuerverger, Hall and Wood, 1994).I Variation estimators (multiscale moments).I First spectral and wavelets estimators (Chan, Hall and Poskitt, 1995).

Statistical characterization of the local Hurst and volatility estimator.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 16 / 46

Page 18: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Joint estimation of Hurst and volatility

Use wavelet decomposition to localize in time and frequency thedifferent components of the time series.↪→ Wavelet coefficients are indexed by time and frequency.

Consider the decay of the wavelet coefficients as a function offrequency for a fixed time.↪→ The decay has a power-law form.↪→ The parameters of this power law give the local Hurst andvolatility parameters.

Remark: Many methods for Hurst parameter estimation:I Box-count estimator (Hall and Wood, 1993).I Variogram estimator (Constantine and Hall, 1994).I Level crossing estimator (Feuerverger, Hall and Wood, 1994).I Variation estimators (multiscale moments).I First spectral and wavelets estimators (Chan, Hall and Poskitt, 1995).

Statistical characterization of the local Hurst and volatility estimator.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 16 / 46

Page 19: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Joint estimation of Hurst and volatility

Use wavelet decomposition to localize in time and frequency thedifferent components of the time series.↪→ Wavelet coefficients are indexed by time and frequency.

Consider the decay of the wavelet coefficients as a function offrequency for a fixed time.↪→ The decay has a power-law form.↪→ The parameters of this power law give the local Hurst andvolatility parameters.

Remark: Many methods for Hurst parameter estimation:I Box-count estimator (Hall and Wood, 1993).I Variogram estimator (Constantine and Hall, 1994).I Level crossing estimator (Feuerverger, Hall and Wood, 1994).I Variation estimators (multiscale moments).I First spectral and wavelets estimators (Chan, Hall and Poskitt, 1995).

Statistical characterization of the local Hurst and volatility estimator.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 16 / 46

Page 20: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Joint estimation of Hurst and volatility

Use wavelet decomposition to localize in time and frequency thedifferent components of the time series.↪→ Wavelet coefficients are indexed by time and frequency.

Consider the decay of the wavelet coefficients as a function offrequency for a fixed time.↪→ The decay has a power-law form.↪→ The parameters of this power law give the local Hurst andvolatility parameters.

Remark: Many methods for Hurst parameter estimation:I Box-count estimator (Hall and Wood, 1993).I Variogram estimator (Constantine and Hall, 1994).I Level crossing estimator (Feuerverger, Hall and Wood, 1994).I Variation estimators (multiscale moments).I First spectral and wavelets estimators (Chan, Hall and Poskitt, 1995).

Statistical characterization of the local Hurst and volatility estimator.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 16 / 46

Page 21: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

1990 1995 2000 2005 2010 2015 2020

Year

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

H

Hurst Exponent

Brent

West Texas

Estimated Hurst exponents Ht .

• There are four periods with a relatively high Hurst exponent, which canbe related to four events, marked with crosses.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 17 / 46

Page 22: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

1990 1995 2000 2005 2010 2015 2020Year

0

50

100

150

Vola

tilit

y

Volatility in % per year

BrentWest Texas

Local volatility estimates relative to the annual time scale σt .

• There are four periods with relatively high volatility, which can berelated to four events, marked with crosses.• Volatility is stable except: four special periods + period 2010-2014(decaying volatility).

Josselin Garnier and Knut Sølna Oil price October 3, 2017 18 / 46

Page 23: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

1990 1995 2000 2005 2010 2015 2020

Year

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7H

Hurst Exponent

Brent

West Texas

1990 1995 2000 2005 2010 2015 2020Year

0

50

100

150

Vola

tilit

y

Volatility in % per year

BrentWest Texas

August 1990: Iraq’s invasion of Kuwait; it initiated a period withhigh volatility and a high Hurst exponent.January 2000: fear of the Y2K bug (?), which never occurred; itended a period with relatively high volatility and Hurst exponent.September 2008: bankruptcy of Lehman Brothers; it initiated aperiod with very high volatility and a high Hurst exponent.July 2014: liquidation of oil-linked derivatives by fund managers; itinitiated a period with a very high Hurst exponent and high volatility.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 19 / 46

Page 24: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

10-2

100

Scale in Years

10-4

10-2

100

102

104

Log R

ela

tive E

nerg

y

Price Power Law

BrentWest Texas

The “global power law” for West Texas data (red dashed line) and Brentdata (blue solid line).

• A global power law (with H = .47) is consistent with a situation inwhich the Hurst exponent and volatility vary over subsegments.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 20 / 46

Page 25: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

1990 1995 2000 2005 2010 2015 2020

Year

0

0.05

0.1

0.15

0.2

Resid

ual

Spectral Residual

Brent

West Texas

Spectral misfits for the West Texas data (red dashed line) and the Brentdata (solid blue line).

• The spectral misfits are low and statistically homogeneous with respectto time.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 21 / 46

Page 26: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Are returns Gaussian?• Standard normalized returns:

R(s)n =

log(P(tn))− log(P(tn−1))

σ|∆t|1/2.

• Multi-fractional normalized returns:

R(m)n =

log(P(tn))− log(P(tn−1))

σn|∆t|Hn.

-3 -2 -1 0 1 2 30

500

1000

1500

Standard Normalized WTI Returns

-3 -2 -1 0 1 2 30

500

1000

1500

Multi-fractional Normalized WTI Returns

Standard normalized returns Multi-fractional normalized returns

Josselin Garnier and Knut Sølna Oil price October 3, 2017 22 / 46

Page 27: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Comparison with standard model

1990 1995 2000 2005 2010 2015 2020Year

0

50

100

150

Vola

tilit

y

Volatility in % per year with H=0.5

BrentWest Texas

Estimated volatilities when we condition on H = 1/2 to enforceuncorrelated returns.

• The four special periods do not appear so clearly; beyond these specialperiods, the standard volatility experiences somewhat strong variations.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 23 / 46

Page 28: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Comparison with standard model

1990 1995 2000 2005 2010 2015 2020

Year

0

0.05

0.1

0.15

0.2

Re

sid

ua

l

Spectral Residual H-fixed

Brent

West Texas

1990 1995 2000 2005 2010 2015 2020

Year

0

0.05

0.1

0.15

0.2

Re

sid

ua

l

Spectral Residual

Brent

West Texas

Spectral misfitsLeft when we condition on H = 1/2 to enforce uncorrelated returns.

Right with the multi-fractional model.

• With H fixed the spectral misfits are relatively high; they also varysignificantly during the special periods.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 24 / 46

therrese
Inserted Text
, fixed,
Page 29: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Conclusions so far

Oil data contain multiscale fluctuations different from (log) normaldiffusions.

Special periods with Ht > 1/2 can be identified.

Standard volatility estimates are not appropriate during the specialperiods when Ht > 1/2.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 25 / 46

Page 30: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

On classic and real markets

→ In “classic” financial markets (with no arbitrage), the conditionalexpectation of the returns are zero.

→ In “real” markets, we see deviations from the “ideal classical” context.

→ For H 6= 1/2, the market is not efficient and pricing and hedgingbecome challenging.

In what follows: different markets.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 26 / 46

Page 31: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Natural gas price

2000 2005 2010 2015Year

0

5

10

15

20

Price in $

Raw Pricing Data

Henry Hub

Henry Hub natural gas spot price.

Some events:– 2001: California energy crisis;– 2003: cold winter;– end of 2005: hurricanes Katrina and Rita and volatile weather;– 2008: price increase corresponding to a high oil price.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 27 / 46

therrese
Inserted Text
a
Page 32: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Natural gas price

10-2

100

Scale in Years

10-4

10-2

100

102

104

Lo

g R

ela

tive

En

erg

yPrice Power Law

Henry Hub

10-2

100

Scale in Years

10-4

10-2

100

102

104

Lo

g R

ela

tive

En

erg

y

Price Power Law

Henry Hub

Left: Scale spectrum for Henry Hub natural gas for the period1997–2009. The estimated Hurst exponent is H = .37. The estimatedvolatility is σ = 49%. The red dotted line is the fitted spectrum and fitswell the data up to an outer scale of more than one year.Right: Scale spectrum for Henry Hub natural gas for the period2009–2016. The estimated Hurst exponent is H = .40. The estimatedvolatility is σ = 43%.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 28 / 46

therrese
Cross-Out
therrese
Inserted Text
well
Page 33: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Natural gas price

2000 2005 2010 2015Year

0

0.1

0.2

0.3

0.4

0.5

0.6

H

Hurst Exponent

Henry Hub

2000 2005 2010 2015Year

0

20

40

60

80

100

Vola

tilit

y

Volatility in % per year

Henry Hub

Left: Estimated Hurst exponents Ht for the Henry Hub natural gas spotprice.Right: Estimated volatility σt for the Henry Hub natural gas spot price.Crosses:January 2000: Y2K bug (?); September 2008: bankruptcy of LehmanBrothers; July 2014: liquidation of oil-linked derivatives by fund managers.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 29 / 46

Page 34: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Natural gas price

2000 2005 2010 2015Year

0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

0.18

Resid

ual

Spectral Residual

Henry Hub

2000 2005 2010 2015Year

0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

0.16

0.18

Resid

ual

Spectral Residual H-fixed

Henry Hub

Left: Spectral misfits for Henry Hub natural gas.Right: Spectral misfits for Henry Hub natural gas when we condition onH = 1/2 to enforce uncorrelated returns.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 30 / 46

Page 35: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Gold

1970 1980 1990 2000 2010 2020

Year

200

400

600

800

1000

1200

1400

1600

1800

2000

Price in $

Raw Pricing Data

Gold

Daily gold prices.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 31 / 46

Page 36: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Gold multi-fractal character

1980 1990 2000 2010 2020

Year

0

0.1

0.2

0.3

0.4

0.5

0.6

H

Hurst Exponent

Gold

Daily gold prices.

Blue crosses:- Black Monday, October 19, 1987.- Mexican peso crisis, December 1994Red crosses as above, but now associated with a rough epoch.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 32 / 46

therrese
Inserted Text
. 1994.
therrese
Cross-Out
therrese
Inserted Text
period
Page 37: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Foreign exchangeConsider the daily closing of yen-per-dollar price:

1970 1980 1990 2000 2010 2020

Year

50

100

150

200

250

300

350

400

Rate

Raw FEX USD-JPY

USD-JPY

The price process corresponding to the daily closing of yen-per-dollar price.

• Does the exchange rate possess a multiscale structure?Josselin Garnier and Knut Sølna Oil price October 3, 2017 33 / 46

Page 38: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

USD–JPY scale spectrum

10-4

10-2

100

102

Scale in Years

10-6

10-4

10-2

100

102

104

Lo

g R

ela

tive

En

erg

y

Price Power Law

Scale spectrum for the full data set.

→ Efficiency on the grand scale with estimated H = .51.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 34 / 46

Page 39: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

USD–JPY volatility

1970 1980 1990 2000 2010 2020Year

0

5

10

15

20

25

30

Vo

latilit

y

Volatility in % per year

USD-JPY

– January 1973: A series of events led to the first oil crisis that hit inOctober 1973;– January 1978: A series of events led to the Iranian revolution of 1979and the second oil crisis;– September 1985: The Plaza Accord. This was a signed agreementbetween major nations affirming that the dollar was overvalued.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 35 / 46

Page 40: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

USD–JPY volatility

1970 1980 1990 2000 2010 2020Year

0

5

10

15

20

25

30

Vola

tilit

y

Volatility in % per year

USD-JPY

– April 1995: The yen briefly hit a peak of under 80 yen per dollar afterUS–Japanese trade frictions sparked heavy selling of the dollar.– October 1998: Near collapse of the hedge fund Long-Term CapitalManagement.– September 2008: Lehman Brothers collapsed.– April 2013: The Bank of Japan announced the expansion of its AssetPurchase program.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 36 / 46

Page 41: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

USD–JPY Hurst

1970 1980 1990 2000 2010 2020

Year

0.2

0.3

0.4

0.5

0.6

0.7

H

Hurst Exponent

USD-JPY

– January 1973: A series of events led to the first oil crisis that hit inOctober 1973.– January 1978: A series of events led to the Iranian revolution of 1979and the second oil crisis.– September 1985: The Plaza Accord: This was a signed agreementbetween major nations affirming that the dollar was overvalued.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 37 / 46

Page 42: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

USD–JPY Hurst

1970 1980 1990 2000 2010 2020

Year

0.2

0.3

0.4

0.5

0.6

0.7

H

Hurst Exponent

USD-JPY

– April 1995: The yen briefly hit a peak of under 80 yen per dollar afterUS–Japanese trade frictions sparked heavy selling of the dollar.– October 1998: Near collapse of the hedge fund Long-Term CapitalManagement.– September 2008: Lehman Brothers collapsed.– April 2013: The Bank of Japan announced the expansion of its AssetPurchase program.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 38 / 46

Page 43: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Some further issues

“High-frequency” data.

Periodicities.

Cross-commodity correlations and derivatives.

Interest rate.

Consequences for speculation and risk management.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 39 / 46

Page 44: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Final remarks

Multi-fractal behavior can be observed in various markets.

We have developed a theory for the performance of the estimator.→ The Haar wavelets are partly superior.

Multi-fractal modeling means a departure from classic financialmodeling.

Power-law modeling potentially important for regime shift detection,prediction, pricing, hedging,...

Viewing the market and prices through the lens of both roughnessand magnitude scaling (H, σ) gives “complementary” (economic)insight about the market.

Claim: As in physics, H is a defining parameter. H < 1/2 gives amodification of the efficient market situation, while H > 1/2 changesthe problem in a more fundamental way.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 40 / 46

Page 45: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Appendix: The case of dyadic Haar wavelets

Denote the approximation coefficients at level zero (the data) by:

X = (a0(1), a0(2), ..., a0(2M)).

Then, at the scale j (corresponding to frequence 2−j), define theapproximation and difference coefficients by:

aj(n) =1√2

(aj−1(2n) + aj−1(2n − 1))

dj(n) =1√2

(aj−1(2n)− aj−1(2n − 1)) , for n = 1, 2, ..., 2M−j

for j = 1, ...,M.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 41 / 46

Page 46: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Appendix: Coefficients from the continuumIf a0(n) =

∫ nn−1 Y (t)dt, then the detail coefficients at level j can

alternatively be expressed as:

dj(n) = 2−j/2

∫ ∞−∞

ψ(t2−j − n)Y (t)dt

for Y , the (quasi-continuous) data, and with the mother wavelet definedby

ψ(x) =

−1 if − 1 ≤ x < −1/21 if − 1/2 ≤ x < 00 otherwise

.

→ The difference coefficients correspond to probing the process atdifferent scales and locations, with n representing the location and j thescale.

• From the self-similarity of fractional Brownian motion, it follows that forY (t) = BH(t):

E [dj(n)2] ∝ 2j(2H+1).

Josselin Garnier and Knut Sølna Oil price October 3, 2017 42 / 46

Page 47: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Appendix: Scale spectrum

The scale spectrum of X, relative to the Haar wavelet basis, is thesequence Sj defined by:

Sj =1

2M−j

2M−j∑n=1

(dj(n))2 , j = 1, 2, ...,M.

For fractional Brownian motion, the log of the scale spectrum isapproximately linear in the scale j , with the slope determined by H.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 43 / 46

Page 48: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Appendix: The relation to the scale spectrum

• If the underlying process has the correlation structure of fractionalBrownian motion, the log-scale spectrum is affine in scale:

E[log(Sj)] = c0(σ,H) + (2H + 1)j .

Some issues:

What are precision-of-parameter estimates?

What is the role of the wavelets?

What is the role of the scales and the shifts used?

How should the regression be carried out?

Josselin Garnier and Knut Sølna Oil price October 3, 2017 44 / 46

Page 49: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Appendix: Analysis of precision

Different wavelets (Daubechies) can be used as well.

A detailed analysis of the biases and variances of the volatility andHurst parameter estimators is possible when the underlying process isfractional Brownian motion.

The decomposition with Haar wavelets gives the most efficientestimator (as long as H is below .7).

Josselin Garnier and Knut Sølna Oil price October 3, 2017 45 / 46

Page 50: A Time-Frequency Analysis of Oil Price Data...A Time-Frequency Analysis of Oil Price Data Josselin Garnier and Knut S˝lna Ecole Polytechnique and UC Irvine October 3, 2017 Josselin

Appendix: On the parameter processes

Assume that the underlying process is fractional Brownian motion.

It is possible to study the estimators H(c) and log2(σ2)(c) seen asprocesses indexed by the right end points c for moving time windowsof equal length.

The estimators H(c) and log2(σ2)(c), as processes indexed by c , havestationary Gaussian distributions with a covariance structure that isuniversal.

→ It is possible to implement a filter to estimate more accurately theHurst and volatility parameters.

Josselin Garnier and Knut Sølna Oil price October 3, 2017 46 / 46

therrese
Comment on Text
should this have a hyphen: right-end"?