19
EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Embed Size (px)

Citation preview

Page 1: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

EVOKED POTENTIALS

NOISE REDUCTION BY ENSEMBLE AVERAGING

Chapters 4.3.4 (case 2) - 4.3.8

Seppo Mattila (BRU)

Page 2: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Overview

Averaging of Inhomogenious Ensembles

Spike Artifacts and Robust Averaging

The effect of Latency Shifts Estimation of Latency Shifts Weighting of Averaged EPs Using

Ensemble Correlation

Page 3: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Averaging of Inhomogenious Ensembles

Varying noise variance (case 1) Varying signal amplitude but

constant noise variance from potential to potential (case 2)

Page 4: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Varying signal amplitude

assume that signal amplitude differs from potential to potential:

optimal weights from the eigenvalue problem:

where

all eigenvalues equal to zero, except:

and optimla weight vector proportional to corresponding eigenvector:

normalise: wi = ai

Page 5: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Varying signal amplitude IIensemble

weighted

Page 6: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Gaussian noise with varying variance

Weights from maximum likelyhood estimation.The joint PDF of the potentials xi(n) at time n:

We maximise its logarithm:

by setting its derivative wrt s(n) to zero:

Page 7: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Gaussian noise with varying variance II

weighted average of xi(n)

i.e. each potential weighted by

identical to the result from SNR maximisation

moreover,

(ensemble average)

Page 8: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Spike artifacts & robust averaging

ensemble & exponential averaging perform well when Gaussian noise

spike (outlier) artifacts degrade performance

need more robust methods: ensemble averaging with outlier rejection recursive, robust averaging with outlier

rejection

Page 9: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Ensemble averaging with outlier rejectionConsider the generalised Gaussian PDF:

where

the Gamma function

The Laplacian PDF (v = 1) for the noise sample:

1st Qtr 2nd Qtr 3rd Qtr 4th Qtr

EastWestNorth

Page 10: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Ensemble averaging with outlier rejection II

ML estimate from

again, by setting its derivative wrt s(n) to zero

choose s(n) such that exactlyhalf of the sample values greaterand half smaller

ML estimator of s(n)MEDIAN when Laplacian noise

Gaussian noise

Laplacian noise

Page 11: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Trimmed means• ensemble average and ensemble median special cases of

where K is the largest integer less than or equal to vMv = 0 for enemble averagev = 0.5 for ensemble median

Page 12: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Recursive, robust averaging with outlier rejection

sign limiter hard limiter

closely related to exponential average but has an updated partmodified by the influence function

influence functions

Page 13: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Effect of latency shifts• variations in latency distortion in ensemble average• shifts in continuous-time signals

• caused by biological mechanisms• not constrained to sampling time grid

• shifts in discrete-time signals• variations taking place in sampled signal

ensemble average

Page 14: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Shifts in continuous time signals

for the expected value of ensemble average:

The convolution integral can be expressed as a product in the frequency domain:

Zero-mean Gaussian PDF is an example of the characteristic function:

Page 15: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Shifts in continuous time signals

Latency shifts can act as a lowpass filter on s(t)

sampling intervalGaussian sigma

-3 dB cut-off frequency associated with the low-passfiltering effect due to latency shifts

Page 16: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Estimation of latency shifts

need to find the shift in each individual potential

compute latency corrected ensamble average

Woody method most well-known estimates individual shifts estimates latency corrected ensemble average interative procedure for improving the estimates

Page 17: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Woody method

EP affected by latency shift:

PDF of observed signal:

ML estimate from:

best cross-correlation betweens(n) and xi(n)

update iteratively the ensemble average:

Page 18: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)
Page 19: EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters 4.3.4 (case 2) - 4.3.8 Seppo Mattila (BRU)

Weighting of averaged EPs using Ensemble correlation

Weight the individual samplessuch that the difference betweens(n) and the average minimised

Sample-by-sample weightedensemble average: