Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf ·...

67
Introduction to nonlinear time series analysis tools Cristina Masoller Universitat Politecnica de Catalunya, Physics Department Terrassa, Barcelona, Spain [email protected] www.fisica.edu.uy/~cris BE-OPTICAL Second School Torun, Poland, May 2017

Transcript of Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf ·...

Page 1: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Introduction to nonlinear time

series analysis tools

Cristina Masoller Universitat Politecnica de Catalunya, Physics Department

Terrassa, Barcelona, Spain

[email protected]

www.fisica.edu.uy/~cris

BE-OPTICAL Second School

Torun, Poland, May 2017

Page 2: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Univariate time-series analysis

Ordinal analysis

Information theory measures

Bivariate time-series analysis

Applications

Outline

06/05/2017 2

Page 3: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Many methods have been developed to test for determinism,

nonlinearity and correlations in data generated from complex

systems (biomedical, geoscience, socio-economical, etc).

The appropriateness of the method depends on the data

− short or long;

− stationary or not;

− more or less noisy;

− multi or single channel measurements,

− discrete or continuous values,

− etc.

Different methods provide complementary information.

Nonlinear time-series analysis

06/05/2017 3

Page 4: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

First step: Look at the data. Examine simple properties:

auto correlation, Fourier spectrum, return map (xi vs x i+),

histogram, etc.

Visual inspection

06/05/2017 4

Optical spikes Neuronal spikes

Similar type of processes generate these output signals?

Page 5: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Threshold crossings

Event-like description of a signal

06/05/2017 5

0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000-5

-4

-3

-2

-1

0

1

2

Extreme values

Bin counting

… and many others.

Time intervals between events can be statistically independent

(renewal) or not statistically independent (non-renewal process).

Positive slope crossing in a fixed α level

Page 6: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

A. Longtin et al, PRL 67 (1991) 656

Optical ISI distribution, data

collected in our lab

Neuron inter-spike interval (ISI)

distribution

when a sinusoidal signal is

applied to the laser current

Histogram analysis of response to

periodic stimulation

Page 7: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

06/05/2017 7

A. Longtin IJBC 3 (1993) 651

Optical ISIs Neuronal ISIs

A. Aragoneses et al, Opt. Exp. (2014)

Return maps: Ti vs. Ti+1

when a sinusoidal signal is

applied to the laser current

Page 8: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Inter-spike-intervals

serial correlation coefficients

06/05/2017 8

HOW TO INDENTIFY TEMPORAL STRUCTURES?

RECURRENT / INFREQUENT PATTERNS?

iii ttI 1

Page 9: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Several approaches to identify patterns and temporal

ordering in the sequence

Phase-space reconstruction methods

- Time-delay coordinates

- Derivative coordinates

Symbolic methods

Mapping the time series into a network

They allow for model verification, forecasting, classification

of different types of behaviors, noise reduction, etc.

Next step: detect hidden structures

06/05/2017 9

Page 10: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Reconstruction using delay

coordinates

06/05/2017 10

A problem: finding good embedding (lag , dimension d)

Bradley and Kantz, CHAOS 25, 097610 (2015)

Page 11: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Read more

06/05/2017 11

CHAOS VOLUME 9, 1999

Page 12: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

The time series {x1, x2, x3, …} is transformed (using an appropriated rule)

into a sequence of symbols {s1, s2, …}

taken from an “alphabet” of possible symbols {a1, a2, …}.

Then consider “blocks” of D symbols (“patterns” or “words”).

All the possible words form the “dictionary”.

Then analyze the “language” of the sequence of words

- the probabilities of the words,

- missing/forbidden words,

- transition probabilities,

- information measures (entropy, mutual information, etc).

Symbolic analysis

06/05/2017 12

Page 13: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

if xi > xth si = 0; else si =1

transforms a time series into a sequence of 0s and 1s, e.g.,

{011100001011111…}

Considering “blocks” of D letters gives the sequence of

words. Example, with D=3:

{011 100 001 011 111 …}

The number of words (patterns) grows as 2D

More thresholds allow for more letters in the “alphabet”

(and more words in the dictionary). Example:

if xi > xth1 si = 0;

else if xi < xth2 si =2;

else (xth2 <x i < xth1) si =1.

Threshold transformation

(phase space partition)

06/05/2017 13

Page 14: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Ordinal transformation:

if xi > xi-1 si = 0; else si =1

also transforms a time-series into a sequence of 0s and 1s

without using a threshold

“words” of D letters are formed by considering the order

relation between sets of D values {…xi, xi+1, xi+2, …}.

The number of patterns grows as D!

Alternative symbolic rule

06/05/2017 14

Page 15: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Example: the logistic map

06/05/2017 15

x(i+1)=r x(i)[1-x(i)]

0 10 20 30 40 500

0.5

1r=3.3

i

x(i

)

0 10 20 30 40 500

0.5

1 r=3.5

i

x(i

)

0 10 20 30 40 500

0.5

1

r=3.9

i

x(i

)

0 10 20 30 40 500

0.5

1r=2.8

i

x(i

)

x0=f(x0)

0 1 2 30

100

200

300

400

Histogram r=4 Rule:

if (xi < xi+1) si = 1 ;

else si =2

Page 16: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Logistic map: symbolic dynamics

characterized with D=3 words

1 2 3 4 5 60

50

100

150

200

0 0.2 0.4 0.6 0.8 10

10

20

30

40

50

0 100 200 300 400 500 6000

0.2

0.4

0.6

0.8

1

550 555 560 565 570 575 580 585 590 595 6000

0.2

0.4

0.6

0.8

1

Time series Detail

Histogram Patterns Histogram x(t)

forbidden

Take home message: ordinal analysis can yield information about

more expressed (and/or missing) patterns in the data.

Page 17: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Proposed in 2002 (Bandt and Pompe PRL 88, 174102).

It has been successfully applied to the analysis of signals

- Financial

- Biological, life sciences

- Geosciences, climate

- Physics, chemistry, etc

Used to:

- Distinguish stochasticity and determinism

- Classify different types of dynamical behaviors (pathological, healthy)

- Quantify complexity

- Identify coupling and directionality, etc.

Ordinal analysis

06/05/2017 17

Page 18: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

D=3: correlations among 3 inter-spike-intervals (ISIs).

210

The number of patterns

grows as D!

012

How to quantify the information?

‒ Permutation entropy (more

latter)

How to select optimal D?

depends on:

─ The length of the data.

─ The length of the correlations

iip pps log

Page 19: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Read more

06/05/2017 19

Recent Progress in Symbolic Dynamics and Permutation Complexity Ten

Years of Permutation Entropy

The European Physical Journal Special Topics

Volume 222 / No 2 (June 2013)

Special Issue

Page 20: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Threshold transformation:

if xi > xth si = 0; else si =1

Advantage: keeps information

about the magnitude of the

values.

Drawback: how to select an

adequate threshold (“partition”

of the phase space).

2D

Ordinal transformation:

if xi > xi-1 si = 0; else si =1

Advantage: no need of

threshold; keeps information

about the temporal order in

the sequence of values

Drawback: no information

about the actual data values

D!

06/05/2017 20

comparison

2 4 6 8 1010

0

102

104

106

108

D

2D

D!

Page 21: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Example: climatological data (assuming monthly sampled data)

− Consecutive months:

− One year:

− Consecutive years:

− etc

Constructing longer words

)...]24( ),...12( ),...([... txtxtx iii

)...]2( ),1( ),([... txtxtx iii

Solution: a lag allows considering long time-scales without

having to use words of many letters

06/05/2017 21

)...]5( ),4(),3(),2(),1( ),( [... txtxtxtxtxtx

),...]4(),2(),( [... txtxtx

But long time series will be required to estimate the probabilities

of the fast growing number of words in the dictionary (D!).

)...]8( ),...4( ),...([... txtxtx iii

Page 22: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

06/05/2017 22

a: One minute of data without artefacts.

b: Mean absolute flow for each 30 seconds of 24 hours measurement.

c: persistence as a function of lag d, shows structure, needs no calibration.

C. Bandt, arXiv:1411.3904v2

Nose breathing of a healthy

volunteer in normal life

Page 23: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Assuming that we have a suitable symbolic

description of the time series.

What information can we obtain from the

sequence of “words”?

How much information is in a time-series?

Analogy with deciphering a foreign text.

Next?

06/05/2017 23

Page 24: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

The time-series is described by a set of probabilities

Shannon entropy:

Interpretation: “quantity of surprise one should feel upon

reading the result of a measurement” K. Hlavackova-Schindler et al, Physics Reports 441 (2007)

Simple example: a random variable takes values 0 or 1 with

probabilities: p(0) = p, p(1) = 1 − p.

H = −p log2(p) − (1 − p) log2(1 − p).

p=0.5: Maximum unpredictability.

Information theory measure:

Shannon entropy

i

ii ppH 2log

11

N

i

ip

06/05/2017 24 0 0.5 10

0.2

0.4

0.6

0.8

1

p

HShannon entropy computed from ordinal

probabilities: Permutation Entropy

Page 25: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Permutation entropy and

Lyapunov exponent

Bandt and Pompe

Phys. Rev. Lett. 2002

06/05/2017 25

Entropy per symbol:

x(i+1)=r x(i)[1-x(i)]

Robust to noise

Entropy: measures unpredictability or disorder.

Complexity?

Page 26: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

H = 0

C = 0

H ≠ 0

C ≠ 0

H = 1

C = 0

Order Disorder Chaos

We would like to find a quantity “C” that measures complexity,

as the entropy, “H”, measures unpredictability, and, for low-

dimensional systems, the Lyapunov exponent measures chaos.

Page 27: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Feldman, McTague and Crutchfield, Chaos 2008

A useful complexity measure needs to do more

than satisfy the boundary conditions of vanishing

in the high- and low-entropy limits.

Maximum complexity occurs in the region

between the system’s perfectly ordered state

and the perfectly disordered one.

Page 28: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Shannon entropy Tsallis entropy Renyi entropy etc

i

iiS ppPSPI ln][][

i

q

i

q

T pq

PSPI 11

1][][

i

q

i

q

R pq

PSPI ln1

1][

Information measures

Assuming that we know the probability distribution

P=[pi, i=1,N] that characterizes a given system, we

can use one of the following information measures

Page 29: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

max

][][

I

PIPH

where

Pe being the equilibrium probability distribution (that

maximizes the information measure).

Example: if I[P] = Shannon entropy

then Pe = [pi=1/N for i=1,N]

and Imax = ln(N)

][max ePII

1][0 PH

Normalized entropy

Page 30: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Measures the “distance“ from P to the equilibrium

distribution, Pe

where Qo is a normalization constant such that

1][0 PQ

ePPDQPQ ,][ 0

Disequilibrium Q

Page 31: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

i

iEeeE NpPPPPD2

/1],[

i

ieW NpPPD2/12/11 /1cos],[

PIPIPPKPPD eeeK ][],[

2

],[PPKPPK

PPDee

eJ

Euclidean Wootters Kullback relative entropy

Jensen divergence

Distance between P and Pe

Read more: S-H Cha: Comprehensive Survey on Distance/Similarity Measures

between Probability Density Functions, Int. J of. Math. Models and Meth. 1, 300 (2007)

Page 32: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

A family of complexity measures

can be defined as:

where

A = S, T, R (Shannon, Tsallis, Renyi)

B = E, W, K, J (Euclidean, Wootters, Kullback, Jensen)

][][][ PQPHPC BA

][][][ PQPHPC JSMPR

][][][ PQPHPC ESLMC Lopez-Ruiz, Mancini & Calbet, Phys. Lett. A (1995). Celia Anteneodo & Plastino, Phys. Lett. A (1996).

Martín, Plastino & Rosso, Phys. Lett. A (2003).

Statistical complexity measure C

Page 33: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Many complexity measures have

proposed in the literature

06/05/2017 33

Page 34: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Are characterized by a “fractal” dimension that measures

roughness.

Fractal objects: each part of the object

is like the whole object but smaller

Video: http://www.ted.com/talks/benoit_mandelbrot_fractals_the_art_of_roughness#t-149180

Romanesco broccoli

D=2.66

Human lung

D=2.97 Coastline of Ireland

D=1.22

Page 35: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

The complexity of an object is a measure of the

computability resources needed to specify the object.

Kolmogorov Complexity

Example: Let’s consider 2 strings of 32 letters:

abababababababababababababababab

4c1j5b2p0cv4w1x8rx2y39umgw5q85s7

The first string has a short description: “ab 16 times”.

The second one has no obvious simple description:

complex or random?

Page 36: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

The complexity of the Logistic Map

06/05/2017 36

x(i+1)=r x(i)[1-x(i)]

Lempel & Zip complexity Kaspar and Schuster,

Phys Rev. A 1987 Martín, Plastino, & Rosso, Physica A 2006

Euclidian

distance

Jensen

distance

Page 37: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Read more

06/05/2017 37

Page 38: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Applications

Page 39: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

06/05/2017 39

Page 40: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Can be adapted to the analysis

of 2D images

06/05/2017 40

Page 41: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Classifying ECG-signals according

to the frequency of words

06/05/2017 41

(the probabilities are normalized with respect to the

smallest and the largest value occurring in the data set)

Perm (i,D,lag)

Time series of inter-beat intervals x(t) versus interval number t for a typical

person with congestive heart failure (right) and a healthy subject (left).

Page 42: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Transition to optical complexity

10

01

Consistent with stochastic

dynamics at low pump current,

signatures of determinism at

higher pump currents. 06/05/2017 42

1010, 1001

0110, 0101

video

Page 43: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Mapping a time series into a

complex network

Page 44: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Networks = Graphs = vertices

(nodes) + edges (links)

06/05/2017 44 Strogatz, Nature 2001

Degree (number of links of a node) distributions:

Page 45: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

The number of patterns

increases as D!

Opportunity: turn a time-series into

a network by using the patterns as

the “nodes” of the network.

Page 46: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

The network nodes are the “ordinal

patterns”, and the links?

Adapted from M. Small (The University of Western Australia)

• The links are defined in

terms of the probability of

pattern “” occurring after

pattern “”.

• Weighs of nodes: the

probabilities of the

patterns (i pi=1).

• Weights of links: the

probabilities of the

transitions (j wij=1 i).

Weighted and

directed network

Page 47: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Three network-based

diagnostic tools

• Entropy computed from the weights of the nodes (permutation

entropy)

• Entropy computed from weights of the links (transition

probabilities, ‘01’→ ‘01’, ‘01’→ ‘10’, etc.)

• Asymmetry coefficient: normalized difference of transition

probabilities, P(‘01’→ ‘10’) - P(‘10’→ ’01’), etc.

iip pps log

(0 in a fully symmetric network;

1 in a fully directed network)

Page 48: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

06/05/2017 48

x(i+1)=r x(i)[1-x(i)]

C. Masoller et al, NJP 2015

Page 49: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

C. Masoller et al, New J. Phys. 17 (2015) 023068

Empirical data

Slightly different optical

feedback conditions

result in PS or no PS.

Analysis done with

D=3, error bars

computed with 1000

time series L=500.

Page 50: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

A time-series is represented as a graph, where each data point is a node

Another way to turn a time-series into a

network: horizontal visibility graph (HVG)

HVG method: B. Luque et al, PRE 80, 046103 (2009)

Unweighted and undirected graph

Number of links

Ordinal pattern

D=3

• Rule: data points i and j are connected if there is “visibility”

between them: Imax,i and Imax,j > Imax,n for all n, i<n<j

intensity peaks

above Th = 2

Page 51: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

The obtained graph

How to characterize this graph?

Intensity of a fiber laser Low -- High pump power

Page 52: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Degree distribution for

various pump powers

using Th=2.

HVG analysis

Entropy of the degree

distribution (normalized to the

entropy of Gaussian white noise)

Degree Distribution (distribution of the number of links)

sharp transition detected.

Aragoneses et al, PRL 116, 033902 (2016)

Page 53: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Sharp transition also seen

with ordinal analysis

Threshold vs not threshold

06/05/2017 53

sharp transition

not seen.

Th=0 Th=1 Th=2

But with raw data

Page 54: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Space-time representation

of a time-series

all data points, no threshold used

Sharp variations at the transition

not captured.

Pump power below, at,

and above the transition.

index i (time in units of dt)

Different

“spatial “

structures

uncovered

with different

lags (sampling

times).

Tim

e in u

nits o

f

Color: Ii

III

III

III

...

...

...

............

21

221

32212

Space-time

representation

Page 55: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Bi-variate time-series analysis

Page 56: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Two time series X, Y:

Cross-correlation analysis

06/05/2017 56

Detects linear relationships

Source: wikipedia

Page 57: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Brain functional network

06/05/2017

Eguiluz et al, PRL 2005

Chavez et al, PRE 2008

Page 58: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Joint entropy:

Statistical similarity measure:

mutual information

06/05/2017 58

If X and Y are independent: H(X,Y) = H(X) + H(Y)

Mutual Information: MI(X,Y) = H(X) + H(Y) – H(X,Y)

It reflects the reduction in uncertainty of one variable by knowing

the other one.

X and Y are independent MI(X,Y) = 0.

However, computing probabilities from histograms give MI values

that fluctuate or are systematically overestimated.

X Ym

i

m

j ji

ji

jiypxp

yxpyxpYXMI

1 1 )()(

),(log),(),(

X Ym

i

m

j

jiji yxpyxpYXH1 1

),(log),(),(

Page 59: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Problem with mutual

information

06/05/2017 59 R. Steuer et al, Bioinformatics 18, suppl 2, S231 (2002).

The statistical

significance of

CC and MI

values needs

to carefully

analyzed.

Page 60: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Read more

06/05/2017 60

Page 61: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Beyond bi-variate analysis

Page 62: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

06/05/2017 62 arXiv: 1704.07599v1

Page 63: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

06/05/2017 63

Page 64: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Electroencephalographic index of human consciousness.

PCI is calculated by

‒ perturbing the cortex with transcranial magnetic

stimulation (TMS) to engage distributed interactions in the

brain (integration) and

‒ compressing the spatiotemporal pattern of these

electrocortical responses to measure their algorithmic

complexity (information).

Perturbational complexity index (PCI)

06/05/2017 64

Page 65: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Conclusions

Page 66: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

Take home messages:

• Symbolic analysis, network representation, spatiotemporal

representation, etc., are useful tools for investigating

complex signals.

• Different techniques provide complementary information.

What did we learn?

“…nonlinear time-series analysis has been used to great

advantage on thousands of real and synthetic data sets

from a wide variety of systems ranging from roulette wheels

to lasers to the human heart. Even in cases where the data

do not meet the mathematical or algorithmic requirements,

the results of nonlinear time-series analysis can be helpful

in understanding, characterizing, and predicting dynamical

systems…” Bradley and Kantz, CHAOS 25, 097610 (2015)

Page 67: Introduction to nonlinear time series analysis toolscris/Talk/charla_torun_beoptical_2017.pdf · Introduction to nonlinear time series analysis tools Cristina Masoller Universitat

<[email protected]>

THANK YOU FOR YOUR

ATTENTION !

Papers at http://www.fisica.edu.uy/~cris/