lecture 6 nonlinear univariate characteristics

36
Lecture 6 Nonlinear Univariate Characteristics Digital Signal Processing and Analysis in Biomedical Systems

Upload: others

Post on 16-Oct-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 6 Nonlinear Univariate Characteristics

Lecture 6

Nonlinear Univariate Characteristics

Digital Signal Processing and Analysis in Biomedical Systems

Page 2: Lecture 6 Nonlinear Univariate Characteristics

Contents

- Nonlinear Univariate Analysis

- Cepstral analysis

- Autocorrelation

- Entropy Characteristics

- Chaotic Analysis- Detrended Fluctuation Analysis

- Complexity measures

2

Page 3: Lecture 6 Nonlinear Univariate Characteristics

Signal Analysis approaches

- Linear / non-linear

- Univariate / multivariate

3

Page 4: Lecture 6 Nonlinear Univariate Characteristics

Non-linear Univariate analysis

The superposition principle does not hold for the nonlinear analysis:

- The analysis results are not proportional to the input signals.

- The results for sum of the signals are not the sum of initial parameters.

4

Page 5: Lecture 6 Nonlinear Univariate Characteristics

Human hearing and speech recognition using cepstral analysis

Human hearing is linear only to 1000 Hz, and non-linear (logarithmic) on higher

frequencies.

5

Page 6: Lecture 6 Nonlinear Univariate Characteristics

Application to speech recognition

6

Page 7: Lecture 6 Nonlinear Univariate Characteristics

Cepstral analysis – 2

7

Page 8: Lecture 6 Nonlinear Univariate Characteristics

Cepstrum

8

Page 9: Lecture 6 Nonlinear Univariate Characteristics

9

Page 10: Lecture 6 Nonlinear Univariate Characteristics

LIFTering in CEPSTral domain

10

Page 11: Lecture 6 Nonlinear Univariate Characteristics

Notices (cepstral analysis)

- the log spectrum can be treated as a waveform and subjected to further Fourier

analysis

- independent variable of the cepstrum is nominally time since it is the IDFT of a

log-spectrum, but is interpreted as a frequency since we are treating the log

spectrum as a waveform

- to emphasize this interchanging of domains, Bogert, Healy and Tukey (1960)

coined the term cepstrum by swapping the order of the letters in the word

Spectrum

– the name of the independent variable of the cepstrum is known as a

quefrency, and the linear filtering operation in the previous slide is known as

liftering 11

Page 12: Lecture 6 Nonlinear Univariate Characteristics

Autocorrelation analysis

The aim of autocorrelation is to unveil the degree of self-similarity or cyclic

behavior of the process. In ideal case, the periodic signal is perfectly

autocorrelated, so the period can be defined.

Autocorrelation is the correlation of a signal with a delayed copy of itself as a

function of delay.

Usually autocrrelation is used in case of presence of noise, when the cyclic

behavior is not obvious.

12

Page 13: Lecture 6 Nonlinear Univariate Characteristics

Autocorrelation function

13

Given measurements, Y1, Y2, ..., YN at time X1, X2, ..., XN, the lag k autocorrelation function is defined as

Page 14: Lecture 6 Nonlinear Univariate Characteristics

Wiener-Khinchin Theorem – 1

Let x(t) be a real wide-sense stationary process with autocorrelation function

and assume that it satisfies the Dirichlet conditions (it is absolutely integrable,

this integral converges:

and its Fourier Transform exists:

14

Page 15: Lecture 6 Nonlinear Univariate Characteristics

Wiener-Khinchin Theorem – 2

Now for each sample function x(t) the truncated Fourier transform can be

defined:

The corresponding power spectral density is

Its expectation is

15

Page 16: Lecture 6 Nonlinear Univariate Characteristics

Wiener-Khinchin Theorem – 3

power spectral density of the process x(t) is therefore:

Theorem: For all f, the above limit exists and

16

Page 17: Lecture 6 Nonlinear Univariate Characteristics

Wiener-Khinchin Theorem – 4

Discrete time case:

17

Page 18: Lecture 6 Nonlinear Univariate Characteristics

Wiener-Khinchin Theorem – 5, applications

Used when the inputs and outputs of Linear Time-invariant System are not

square integrable, so their Fourier transforms do not exist.

The power spectrum of the output is equal to the power spectrum of the input

times the energy transfer function of the system.

18

Page 19: Lecture 6 Nonlinear Univariate Characteristics

Entropy analysis

Entropies are among the most popular and promising

complexity measures for biological signal analyses.

In physics, the entropy is the measure of the disorder

and uncertainty in the system.

Entropy analysis of the signal gives the degree of

unpredictedness, chaoticity, complexity, randomness,

disorder of time series.

19

Page 20: Lecture 6 Nonlinear Univariate Characteristics

Types of entropy

• Shannon entropy

• Permutation Entropy (PE),

• Approximate Entropy (ApEn),

• Fuzzy Entropy (FE),

• Sample Entropy (SampEn),

• Renyi’s Entropy (RE),

• Spectral Entropy (SEN),

• Wavelet Entropy (WE),

• Tsallis entropy (TE),

• Higher Order Spectra Entropies

• (S1, S2, PhEn),

• Kolmogorov–Sinai entropy (KSE)

• Recurrence Quantification Analysis entropy (RQA En)20

Page 21: Lecture 6 Nonlinear Univariate Characteristics

Shannon entropy

Proposed by Claude Shannon in 1948, in the paper “The mathematical theory of

communication” (Bell System Technical Journal):

Shannon entropy H is given by the formula

where pi is the probability of character number i showing up in a stream of

characters of the given "script". 21

Page 22: Lecture 6 Nonlinear Univariate Characteristics

Entropy for digital signals

The signal values are considered as the random sequence.

22

Page 23: Lecture 6 Nonlinear Univariate Characteristics

Histograms

Bin Number:

23

Page 24: Lecture 6 Nonlinear Univariate Characteristics

Selection of bin size – 1

Sturge’s Rule is the most commonly used (implicitly assumes approximately

normal distribution):

Scott's normal reference rule (optimal for random samples from normally

distributed data):

24

Page 25: Lecture 6 Nonlinear Univariate Characteristics

Selection of bin size – 2

Freedman-Diaconis rule (based on interquartile range):

Shimazaki rule (based on minimization of an estimated risk function):

25

Page 26: Lecture 6 Nonlinear Univariate Characteristics

Permutation Entropy – 1

26

PE is a descriptor of time series

complexity, unpredictability, disorder,

chaoticity, nonlinearity and stochasticity

and can reflect complex nonlinear

interconnections between anatomical

and functional subsystems emerged in

brain and other systems in healthy state

and during various diseases.

Page 27: Lecture 6 Nonlinear Univariate Characteristics

27

Permutation Entropy – 2

Page 28: Lecture 6 Nonlinear Univariate Characteristics

28

Permutation Entropy – 3

Page 29: Lecture 6 Nonlinear Univariate Characteristics

Relative number of motifs:

Maximum value of is reached for a uniform distribution on all permutations:

Permutation Entropy, normalized:

Permutation entropy – 4

29

Page 30: Lecture 6 Nonlinear Univariate Characteristics

Modified Permutation Entropy – 1

Modified PE is well defined also in the case of tied ranks. That means, some

values of the motifs might be equal.

Thus get more than m! ordered patterns.

For example, if m=3 we get m!=6 order patterns (1; 2; 3), (1; 3; 2), (2; 1; 3), (2; 3;

1), (3; 1; 2), (3; 2; 1) representing all vectors with no ties,

and 7 additional patterns for the case of ties, (1; 2; 2), (2; 1; 1), (1; 2; 1), (2; 1; 2),

(1; 1; 2), (2; 2; 1), and (1; 1; 1).

30

Page 31: Lecture 6 Nonlinear Univariate Characteristics

Modified Permutation Entropy – 2

In the general case, the number of possible order patterns is calculated by the

Bell number:

Normalized Modified PE:

31

Page 32: Lecture 6 Nonlinear Univariate Characteristics

Permutation Entropy for seizure prediction

32

Page 33: Lecture 6 Nonlinear Univariate Characteristics

Permutation Entropy for anaesthesia

33

Page 34: Lecture 6 Nonlinear Univariate Characteristics

34

Page 35: Lecture 6 Nonlinear Univariate Characteristics

Chaotic characteristics

DFA

35

Page 36: Lecture 6 Nonlinear Univariate Characteristics

Detrended Fluctuation Analysis

Respiration patterns

36