seminar psu 21.10.2013 financial bubble diagnostics based on log-periodic power law model

36
Financial bubble diagnostics based on log- periodic power law model Perm State National Research University Arbuzov V. [email protected] Perm R group r-group.mifit.ru ITE.LAB “MathEconomics” Open Course Russia, Perm, 21 November 2013

Upload: arbuzov1989

Post on 06-May-2015

976 views

Category:

Business


3 download

TRANSCRIPT

Page 1: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Financial bubble diagnostics based on log-periodic power

law model

Perm State National Research University

Arbuzov [email protected]

Perm R groupr-group.mifit.ru

ITE.LAB “MathEconomics” Open Course

Russia, Perm, 21 November 2013

Page 2: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

A situation in which prices for securities, especially stocks, rise far above their actual value. This trend continues until investors realize just how far prices have risen, usually, but not always, resulting in a sharp decline.

Thefreedictionary.com

About financial bubbles

2

It was very difficult to definitively identify a bubbleuntil after the fact—that is, when it is bursting we confirm its existence.

Mr. Greenspan

An upward price movement over an extended range that then implodes.Charles Kindleberger, MIT

A speculative bubble exists when the price of something does not equal its market fundamentals for some period of time for reasons other than random shocks.

Professor J.Barley Rosser, James Madison University

Page 3: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Tulipomania

3

• 1585 – 1650 Netherlands• Creating futures and options on the tulips• The fall is 100 times

Page 4: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Crash 1929. Dow Jones

4

Page 5: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

The crisis in October 1987. S&P 500

5

Page 6: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

The crisis in October 1997. Index Hang Seng

6

Page 7: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

The collapse of the RTS in 1997

7

Page 8: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Crash of index NASDAQ in 2000

8

Page 9: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Crash of index Dow Jones. 2007

Page 10: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Crash of index RTS in 2008

Page 11: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

11

What is common???

Page 12: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Log Periodic Power Law (LPPL)

12

Authors

A.Johansen, O.Ledoit, D.Sornette (JLS)

First publicationLarge financial crashes (1997)

Famous bookDidier SornetteWhy Stock Markets Crash (2004)

Page 13: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

13

𝑙𝑛 [𝑝 (𝑡 ) ]=𝐴+𝐵(𝑡𝑐−𝑡)𝑚

Power law?

𝑡𝑐

Page 14: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

14

𝐶 (𝑡𝑐− 𝑡)𝑚𝑐𝑜𝑠 [𝜔𝑙𝑜𝑔 (𝑡𝑐− 𝑡 )−𝜑 ]

Log Periodic ?

Page 15: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

LPPL = log periodic + power law

15

+

Page 16: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

What is m?

16

m = 0.3m = 0.01

m = 0.9 m = 1.7

+𝑙𝑛 [𝑝 (𝑡)]

Page 17: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

What is ?

17

= 3 = 7

= 30 = 15

+

𝑡𝑐−𝑡

𝑡𝑐−𝑡

𝑡𝑐−𝑡 𝑡𝑐−𝑡

𝑡𝑐−𝑡

Page 18: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

What is ?

18

= 7 = 9.5

+

Page 19: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Critical time estimation

19

For each log periodic curve we fixed:- start time of the bubble - critical time when bubble crash orchange to another regime

𝑡𝑐1 𝑡𝑐2

Sample of

First model

Second model

Page 20: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

With four parameters I can fit an elephant, and with five I can make him wiggle his trunk.

John von Neumann

20

Page 21: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Estimation of parameters

21

1

2

2

ln

ln

ln

i i i

i i i i i i

i i i i i i

A N f g p

B f f g f p f

C g f g g p g

+

B f(t)+

Page 22: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

22

• Splitting the tolerance values on the grid

• Finding the grid parameters providing a minimum sum of squared

residuals

• Optimizing found on the grid parameters using the Newton-Gauss

Estimation of parameters

Page 23: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Various sections of the cost function

23

Page 24: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

New method for estimating the parameters

24

+

V.Filimonov and D.SornetteA Stable and Robust Calibration Schemeof the Log-Periodic Power Law Model(29 aug 2011)

Page 25: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

25

+ +

B f(t)+

𝑚 , 𝑡𝑐 ,𝜔

New method for estimating the parameters

Page 26: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

The most important results

26

• Dimensionality of the nonlinear optimization problem is reduced from a 4-dimensional space to a 3-dimensional space

• The proposed modification eliminates the quasi-periodicity of the cost function due to subordination of the phase parameter as a part of and to angular log-frequency parameter .

Page 27: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Various sections of the cost function after transformation

27

Page 28: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Estimation of parameters

28

The procedure for estimation of parameters

0t

ct

m

ABln[ ( )]p t

Filter

+ +

𝐶1

𝐶2

Page 29: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Models selection

29

• Main filtration (0<m<1, B<0)

• Residuals stationarity tests (ADF test, Phillips–Perron test)

• Lomb spectral analysis (or )

0 10 20 30 40

050

100

150

LOMB PERIODOGRAM

omega

P(omega)

m

Page 30: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Lomb spectral analysis

30

𝜏= 12𝜔

arctan (∑

𝑗

𝑠𝑖𝑛 2𝜔𝑡 𝑗

∑𝑗

𝑐𝑜𝑠2𝜔𝑡 𝑗

)

Page 31: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

The evolution of the bubble …

31

Page 32: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

The Crash Lock-In Plot (CLIP)

32

D.Fantazzini, P.Geraskin, Everything You Always Wanted to Know about Log Periodic Power Laws for Bubble Modelling but Were Afraid to Ask (2011)

Page 33: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

33

Page 34: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

P.S. prediction of the date of avalanches

34

Page 35: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

The practical task № 6. Estimate LPPL model

Commands to help :

help(nsl)

TASK :a. Download Nikkei Index Data(ticker: “^N225”) from June 2012 to

June 2013b. Estimate parameters of model LPPL

MODEL LPPL:

+

Page 36: Seminar psu 21.10.2013   financial bubble diagnostics based on log-periodic power law model

Q&A

[email protected]