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

Preview:

Citation preview

Financial bubble diagnostics based on log-periodic power

law model

Perm State National Research University

Arbuzov V.arbuzov@prognoz.ru

Perm R groupr-group.mifit.ru

ITE.LAB “MathEconomics” Open Course

Russia, Perm, 21 November 2013

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

Tulipomania

3

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

Crash 1929. Dow Jones

4

The crisis in October 1987. S&P 500

5

The crisis in October 1997. Index Hang Seng

6

The collapse of the RTS in 1997

7

Crash of index NASDAQ in 2000

8

Crash of index Dow Jones. 2007

Crash of index RTS in 2008

11

What is common???

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)

13

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

Power law?

𝑡𝑐

14

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

Log Periodic ?

LPPL = log periodic + power law

15

+

What is m?

16

m = 0.3m = 0.01

m = 0.9 m = 1.7

+𝑙𝑛 [𝑝 (𝑡)]

What is ?

17

= 3 = 7

= 30 = 15

+

𝑡𝑐−𝑡

𝑡𝑐−𝑡

𝑡𝑐−𝑡 𝑡𝑐−𝑡

𝑡𝑐−𝑡

What is ?

18

= 7 = 9.5

+

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

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

John von Neumann

20

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)+

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

Various sections of the cost function

23

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)

25

+ +

B f(t)+

𝑚 , 𝑡𝑐 ,𝜔

New method for estimating the parameters

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 .

Various sections of the cost function after transformation

27

Estimation of parameters

28

The procedure for estimation of parameters

0t

ct

m

ABln[ ( )]p t

Filter

+ +

𝐶1

𝐶2

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

Lomb spectral analysis

30

𝜏= 12𝜔

arctan (∑

𝑗

𝑠𝑖𝑛 2𝜔𝑡 𝑗

∑𝑗

𝑐𝑜𝑠2𝜔𝑡 𝑗

)

The evolution of the bubble …

31

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)

33

P.S. prediction of the date of avalanches

34

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:

+

Q&A

arbuzov@prognoz.ru