Modeling Financial Time Series - cvut.cz

18
INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY Modeling Financial Time Series: Multifractal Cascades and R´ enyi Entropy Petr Jizba and Jan Korbel Faculty of Nuclear Sciences and Physical Engineering Czech Technical University in Prague Interdisciplinary symposium on complex systems, Prague 12. 9. 2013

Transcript of Modeling Financial Time Series - cvut.cz

Page 1: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

Modeling Financial Time Series:Multifractal Cascades and Renyi Entropy

Petr Jizba and Jan KorbelFaculty of Nuclear Sciences and Physical Engineering

Czech Technical University in Prague

Interdisciplinary symposium on complex systems, Prague12. 9. 2013

Page 2: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MOTIVATION

Figure : Multifractals in nature

Page 3: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MOTIVATION

Figure : Multifractals in finance

Page 4: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MOTIVATION

I scaling properties are one of the most importantquantifiers of complexity in many systems, e.g. financialtime series

I presence of scaling exponents points to the inner structureof the system, described through fractal, or multifractalanalysis

I multiscaling systems have a tight relation withGeneralized dimensions and consequently with Renyientropy

I Multiplicative cascades provide a successful approach ofcreating such systems

I aim is to create time series and compare it with realfinancial series trough multifractal analysis

Page 5: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MULTIFRACTAL SPECTRUM

I discrete time series xjNj=1 in RD, j denotes discrete time

moments with specific time lag sI empirical probability of each region Ki ⊂ RD is estimated

as pi =#xj∈Ki

NI probabilities scale with the typical length as pi(s) ∼ sα

I regions with different scalings are identified and PDF ofscaling exponents is assumed in form

p(α)dα = ρ(α)s−f (α)dα

I f (α) - Multifractal spectrum = fractal dimension of thesubset with scaling exponent α

Page 6: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MULTIFRACTAL SPECTRUM OF S&P 500

Figure : Multifractal spectrum of S&P 500

Page 7: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

SCALING FUNCTION AND RENYI ENTROPY

I alternative way of describing multifractality is via“Partition function”: Zq(s) =

∑i pq

i (s) ∼ sτ(q)

I relation to f (α) is provided through Legendre transformf (α(q)) = qα(q)− τ(q)

I Scaling function τ(q) has a tight relation to Generalizeddimension Dq =

τ(q)q−1 and Renyi entropy

Sq(s) =1

q− 1ln∑

i

pqi (s) =

ln Zq(s)q− 1

I multifractality can be measured via estimation of Renyientropy

Page 8: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MULTIFRACTAL DIFFUSION ENTROPY ANALYSIS

(MF-DEA)I methods of multifractal spectrum estimation: Detrended

fluctuation analysis, Wavelets, Generalized Hurstexponent, etc.

I in our case Diffusion entropy analysis method is used; itis based on self-similarity property of PDF - in monofractalcase

p(x, t)dx =1tδ

F( x

tδ)

dx,

where δ is for monofractal Fractional Brownian motionequal to H.

I from relation for Shannon entropy (or more preciselyShannon divergence w.r.t. uniform distribution) we get

S(t) = −∫

dx p(x, t) ln[p(x, t)] = A + δ ln t

Page 9: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MULTIFRACTAL DIFFUSION ENTROPY ANALYSIS

I in multifractal case, whole class of Renyi entropies iscalculated, which gives a class of scaling exponents

Sq(t) = Bq + h(q) ln t

I Scaling function h(q) has a relation to multifractalspectrum and enables to classify multifractality

I PDF is estimated through Fluctuation collectionalgorithm

I all fluctuations over lag s are collected: xs(t) =∑s

i=1 xi+t,and PDF Ps(t) is estimated

Page 10: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MULTIPLICATIVE PROCESSES

I concept of multiplicative processes is based on the ideathat typical quantity of the system is self-similarlycompound of itself, measured at smaller scale

I cascade of scales is defined as rn = r0∏n

i=1 lj;lj - scale multipliers

I if typical quantity E is given by its density ε, aggregatedquantity in the region Ω is measured as

E(Ω) =

∫Ωε(x)dx

I multiplicative cascade defines the aggregated quantity atthe scale rn as E(rn) = E0

∏nj=1 Mj

Page 11: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MULTIFRACTAL CASCADES

I there are many models of multiplicative cascades, bothdeterministic and stochastic

I our aim is to use such models that would sufficientlysimulate the multiscaling nature of investigated systems

I this is the case of Multifractal cascades. A few examples:I Binomial cascade (BC) - deterministic model with lj = 1/2

and M•,1 = m1, M•,2 = m2,we demand m1 + m2 = 1 - conservative cascade

I Microcanonical cascade (µCC) - similar to Binomialcascade, but m1 and m2 are randomly shuffled (i.e. withp = 0.5 is M•,1 = m1)- M•,i are not independent.

I Canonical cascade (CC) - we demand the conservation onaverage

∑i〈M•,i〉 = 1, hence in case of i.i.d. variables

〈Mj,i〉 = 1lj

Page 12: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MULTIFRACTAL CASCADE0

.81

.01

.2

n

1st step

0.9

1.1

1.3

n

2nd step

0.6

1.0

1.4

n

3rd step

0.5

1.0

1.5

2.0

4th step

0.5

1.5

2.5

n

sta

[6, ]

6th step

01

23

45

n

sta

[8, ]

8th step

02

46

8

n

sta

[10

, ]

10th step

02

46

81

2

sta

[12

, ]

12th step

Figure : Generation of binomial cascade

Page 13: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

NUMERICAL SIMULATIONS OF VOLATILITY AS A

MULTIFRACTAL CASCADE

I method of multifractal cascades is used in order tosimulate financial time series

I volatility (σt) is a good candidate for a cascade modelingI volatility is modeled as a canonical cascade with dyadic

structure with binomial distribution, normalized such that〈σt〉 = 1

I daily returns can be modeled from the estimated volatilityas rt = σ0σtηt, where ηt is a white noise (or more generallycolored noise)

I when comparing simulated series to real data, statisticalquantities as mean or variance bring us only a fraction ofinformation about the series

I both series are therefore compared by MF-DEA

Page 14: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

SIMULATED VS REAL VOLATILITY SERIES

Page 15: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

MULTIFRACTAL SPECTRUM OF VOLATILITY AND

COMPARISON TO RETURN SPECTRUM

Page 16: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

CONCLUSIONS

I many complex systems physics, economy, etc. can besufficiently well described by multifractals

I self-similarity of these systems can be also modeled bymultiplicative cascades

I interconnection of these two concepts brings a powerfultool in modeling such systems

I in case of financial markets, the volatility can be modeledas multifractal cascade

I there are many open questions in this field that need to beanswered ( spectrum for volatility, relation to othermethods, parameter estimation, . . . )

Page 17: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

BACK TO MOUNTAINS!

Figure : 2D multiplicative smoothed cascade as a terrain model

Page 18: Modeling Financial Time Series - cvut.cz

INTRODUCTION MULTIFRACTAL ANALYSIS MULTIPLICATIVE CASCADES NUMERICAL SIMULATIONS SUMMARY

BIBLIOGRAPHY

B.B. Mandelbrot.Self-affine fractals and fractal dimension.Physica Scripta, 32:257–260, 1985.

H.G.E. Hentschel and I. Procaccia.The infinite number of generalized dimensions of fractals and strange attractors.Physica D, 8(3):435 – 444, 1983.

D Schertzer, S Lovejoy, F Schmitt, Y Chigirinskaya, and D Marsan.Multifractal cascade dynamics and turbulent intermittency.Fractals, 5(03):427–471, 1997.

P. Jizba and T. Arimitsu.The world according to Renyi: thermodynamics of multifractal systems.Annals of Physics, 312(1):17 –59, 2004.

J. Huang et al.Multifractal diffusion entropy analysis on stock volatility in financial markets.Physica A, 391(22):5739 – 5745, 2012.

Thank you for your attention.