analysis of eda data using ledalab of eda data using ledalab.pdfanalysis of eda data using ledalab...

51
Analysis of EDA data using Ledalab Mathias Benedek University of Graz, Austria

Upload: buiminh

Post on 16-Apr-2018

269 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Analysis of EDA data using Ledalab

Mathias Benedek

University of Graz, Austria

Page 2: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Physiology of electrodermal activity (EDA)

• Sweat glands controlled by sympathetic nervous system

• One axon innervates about 1.28 cm2 of skin (Schmelz et al., 1998)

• Each gland innervated by multiple axons (Kennedy et al., 1984; Riedl et al., 1998)

• Sweat secretion causes change in SC

• Onset of SCR > 1s after stim (efference + neuroeffector time)

(Kunimoto et al., 1991; Lim et al., 2003)

• Spike density → nr of activated glands → SCR amplitude

(Freedman et al., 1994; Nishiyama et al., 2001; Bini et al., 1980; Lidberg and Wallin, 1981)

Sudomotor nerve activity (SNA)

Skin conductance (SC)

(Macefield & Wallin, 1996)

Epiderm

is Derm

is Subcutis

Analysis of EDA data using Ledalab – Mathias Benedek

Page 3: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Recording of EDA

(skin)

constant current method

Analysis of EDA data using Ledalab – Mathias Benedek

Page 4: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

The nature of skin conductance data

Analysis of EDA data using Ledalab – Mathias Benedek

Page 5: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Quantification of SCR amplitude

Standard methods and issues

Page 6: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Quantification of SCR amplitude

Stimulus

amplitude

response window

Standard min-max or through-to-peak method (from local minimum to local maximum)

SC

Analysis of EDA data using Ledalab – Mathias Benedek

Page 7: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Quantification of SCR amplitude: common errors

• General underestimation of amplitude

Analysis of EDA data using Ledalab – Mathias Benedek

Page 8: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Quantification of SCR amplitude: common errors

• Misattribution with respect to response window → overestimation

• General underestimation of amplitude

Analysis of EDA data using Ledalab – Mathias Benedek

Page 9: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

• Misattribution with respect to response window → overestimation / underestimation

Quantification of SCR amplitude: common errors

• General underestimation of amplitude

Analysis of EDA data using Ledalab – Mathias Benedek

Page 10: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Quantification of SCR amplitude: common errors

• Desideratum: Get true onset and amplitude of single responses

• Misattribution with respect to response window → overestimation / underestimation

• General underestimation of amplitude

Analysis of EDA data using Ledalab – Mathias Benedek

Page 11: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Decomposition Approaches

Page 12: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Decomposition Approaches – Linear Interpolation

(Hagfors 1964, nach Boucsein, 1992) (Barry, 1992)

Analysis of EDA data using Ledalab – Mathias Benedek

Page 13: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Decomposition Approaches - Curve Fitting

• 10 sec data segment fitted by 4-8 parameter function (visual inspection!) • SCR represented by sigmoid-exponetial function

Results:

– Amplitude: +15% – Onset: -140ms

22

)(

4

))(1(OS

r

d

OS

Ttt

tTt

egf

−+

⋅=

),(406 OSd Tgfctt

eaf ++⋅=−

),(),( 22411408 OSOSd TgfTgfctt

eaf +++⋅=−

g .. gain/amplitude Tos .. onset time tr .. rise time td .. decay time

(Lim et al., 1997, Int J Psychoph)

Analysis of EDA data using Ledalab – Mathias Benedek

Page 14: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Decomposition Approaches – Deconvolution analysis

Analysis of EDA data using Ledalab – Mathias Benedek

Page 15: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Basic principles of deconvolution analysis

SMNA

SC

Convolution

Convolution: Signal = Driver * IRF (impulse response function)

IRF

SC = SMNA* IRF

Analysis of EDA data using Ledalab – Mathias Benedek

Page 16: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Discrete Decomposition Analysis

SC

Driver (~SMNA)

D

econvolution

Peak detection

Deconvolution: SMNA = SC / IRF

Analysis of EDA data using Ledalab – Mathias Benedek

Page 17: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Discrete Decomposition Analysis

SC

Treiber (~SMNA)

SCRs

-33% -20%

-63%

D

econvolution

Re-convolution

Peak detection

Analysis of EDA data using Ledalab – Mathias Benedek

Page 18: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Decomposition Approaches - Deconvolution

Results:

– Automatic analysis – Simulation: Discrimination of SCRs with time-lag > 1.3s

(Alexander et al., 2005, J Neurosc Meth)

−⋅=

−−275.0tt

eecIRF

Analysis of EDA data using Ledalab – Mathias Benedek

Page 19: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Deconvolution (after Alexander et al., 2005)

SC

Driver f = SC / IRF

?

Rationale of SCR shape?

−⋅=

−−275.0tt

eecIRF

Analysis of EDA data using Ledalab – Mathias Benedek

Page 20: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Rationale of SCR shape

Two-compartment diffusion model

−⋅=

−−21 ττtt

eeCb12 ττ

abb +−=1τ

aa −=

B τ1 τ2 A

Bateman function

Flat SCR Peaked SCR (Diffusion) (Diffusion + pore opening)

Poral valve model (Edelberg, 1993)

Analysis of EDA data using Ledalab – Mathias Benedek

Page 21: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Deconvolution: Effect of differences in SCR shape

reverberation

undershoot

Flat SCR Peaked SCR

Analysis of EDA data using Ledalab – Mathias Benedek

Page 22: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Rationale of Nonnegative Deconvolution

reverberation

undershoot

Flat SCR Peaked SCR

(Edelberg, 1993)

Analysis of EDA data using Ledalab – Mathias Benedek

Page 23: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Discrete Decomposition Analysis (Nonnegative Deconvolution)

(Benedek & Kaernbach, 2010, Psychophysiology)

Analysis of EDA data using Ledalab – Mathias Benedek

Page 24: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Discrete Decomposition Analysis (Nonnegative Deconvolution)

(Benedek & Kaernbach, 2010, Psychophysiology)

Analysis of EDA data using Ledalab – Mathias Benedek

Page 25: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Discrete Decomposition Analysis (Nonnegative Deconvolution)

(Benedek & Kaernbach, 2010, Psychophysiology)

Analysis of EDA data using Ledalab – Mathias Benedek

Page 26: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Discrete Decomposition Analysis (Nonnegative Deconvolution)

(Benedek & Kaernbach, 2010, Psychophysiology)

Analysis of EDA data using Ledalab – Mathias Benedek

Page 27: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Discrete Decomposition Analysis (Nonnegative Deconvolution)

(Benedek & Kaernbach, 2010, Psychophysiology)

Analysis of EDA data using Ledalab – Mathias Benedek

E Optimization of τ:

0→⋅⋅ indistnRMSE response

Page 28: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

General effect of deconvolution

Experiment • N = 48 • Noise bursts (95 dB, 120ms) • ISI = 4, 8, 16, 32 sec

• Duration of driver impulse more constrained • Onset of driver impulse more precisely defined

Analysis of EDA data using Ledalab – Mathias Benedek

Page 29: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Event-related response by ISI

Results: Amplitude: + 17% Onset: -340ms

ISI = 4 s ISI = 8 s ISI = 16 s ISI = 32 s

Analysis of EDA data using Ledalab – Mathias Benedek

Page 30: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Discrete Decomposition Analysis (Nonnegative Deconvolution)

Features: • Physiological rationale of SCR shape • Estimation of tonic component • Estimation of inter-individual SCR shape (τ) • Full component-model of raw SC data • Unbiased estimation of SCR-magnitude • Facilitates study of physiological model of SCR

Challenges: • Sensitive to data quality (e.g., artifacts) • Time consuming procedure • Driver may not fully reflect SNA

Analysis of EDA data using Ledalab – Mathias Benedek

Page 31: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Rationale of Continuous Decomposition Analysis

reverberation

Flat SCR Peaked SCR

Attributed to tonic activity

Analysis of EDA data using Ledalab – Mathias Benedek

Page 32: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Continuous Decomposition Analysis (Phasic Driver Extraction)

Optimization of τ:

0→+negindist(Benedek & Kaernbach, 2010, J Neurosc Methods)

Analysis of EDA data using Ledalab – Mathias Benedek

Page 33: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Continuous Decomposition Analysis (Phasic Driver Extraction)

Integrated SCR (ISCR): Time integral of phasic driver over response window

(Benedek & Kaernbach, 2010, J Neurosc Methods)

Analysis of EDA data using Ledalab – Mathias Benedek

Page 34: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Event-related response by ISI

ISI = 8s

ISI = 6s

ISI = 4s

ISI = 2s

Analysis of EDA data using Ledalab – Mathias Benedek

Page 35: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

SCR amplitude by method

Standard min-max method

Integrated SCR (after CDA)

SCR (after CDA)

+82% +42% +35% +35%

SCR

Am

plitu

de [l

og m

uS]

SCR

Inte

gral

[log

muS

*s]

Analysis of EDA data using Ledalab – Mathias Benedek

Page 36: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Simulation: Effect of SCR offset on amplitude

Analysis of EDA data using Ledalab – Mathias Benedek

Page 37: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Simulation: Effect of SCR offset on amplitude

ISCR Min-Max

Analysis of EDA data using Ledalab – Mathias Benedek

Page 38: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Continuous Decomposition Analysis

Features: • Physiological rationale of SCR shape • Estimation of tonic component • Estimation of inter-individual SCR shape (τ) • Full component-model of raw SC data

→ Separation of continuous tonic and phasic data • Unbiased estimation of SCR-magnitude

+ Consideration of continuous response information • (Facilitates study of physiological model of SCR)

Challenges: • Sensitive to data quality (e.g., artifacts) → Robust • Time consuming procedure → Fast and efficient • Driver may not fully reflect SMNA → Driver may reflect SMNA • Avoids quantization effect

Analysis of EDA data using Ledalab – Mathias Benedek

Page 39: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Documentation and References

On Continuous Decomposition Analysis (CDA) method and/or Avoiding biases of classic peak detection methods: • Benedek, M. & Kaernbach, C. (2010). A continuous measure of phasic electrodermal activity. Journal

of Neuroscience Methods, 190, 80-91. [link] On Discrete Deconvolution Analysis (DDA) method and/or the Consideration of the individual physiological shape of the SCR : • Benedek, M. & Kaernbach, C. (2010). Decomposition of skin conductance data by means of

nonnegative deconvolution. Psychophysiology, 47, 647-658. [link]

Analysis of EDA data using Ledalab – Mathias Benedek

Page 40: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Using Ledalab for EDA analysis

Page 41: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Ledalab

• Open Software (Matlab is required) • Download at website: www.ledalab.de

• Software updates • Online documentation

Analysis of EDA data using Ledalab – Mathias Benedek

Page 42: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

EDA Analysis Software: Ledalab

Analysis of EDA data using Ledalab – Mathias Benedek

Page 43: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Graphical user interface (GUI)

Data Overview

Data Segment View

Data/Fit Statistics

Event Info

Session log Driver View

Analysis of EDA data using Ledalab – Mathias Benedek

Page 44: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Data Import

Ledalab supports the import of various data formats (see screenshot).

Analysis of EDA data using Ledalab – Mathias Benedek

Page 45: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Preprocessing functions

Ledalab can be used for data preprocessing including cutting, downsampling, smoothing and artifact correction.

Analysis of EDA data using Ledalab – Mathias Benedek

Page 46: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Analysis

• Methods: – Continuous Decomposition Analysis (recommended) – Discrete Decomposition Analysis (Nonnegative Deconvolution) – Min-max analysis (trough-to-peak): always included

• Steps:

– Run analysis – Optimize analysis – Apply to data

Analysis of EDA data using Ledalab – Mathias Benedek

Page 47: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Results Export

• Export event-related activation to Excel, Text, or Matlab file • Many parameters of phasic and tonic activity (see online documentation) • Additionally, you can save a list of detected SCRs

Analysis of EDA data using Ledalab – Mathias Benedek

Page 48: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

What EDA scores to use?

Ledalab computes classic and novel scores of phasic and tonic EDA. EDA scores based on decomposition methods are claimed to be more sensitive (Benedek & Kaernbach, 2010a,b). They include (for Continuous Decomposition Analysis) e.g.: • AmpSum = Sum of amplitudes of all reconvolved SCR with onset in response window

(cf. ITTP in Benedek & Kaernbach, 2010b)

• ISCR = Integrated phasic driver activity within response window (thought to correspond to total average sudomotor nerve activity SMNA; Benedek & Kaernbach, 2012b)

• SCR = Average phasic driver activity within response window (equals ISCR divided by size of response window; units are muS)

• .. and more

But classic EDA measures such as min-max/through-to-peak amplitudes are always provided additionally if you wish to fall back on them (they do not rely decomposition methods, but on simple peak detection).

ISCR

Analysis of EDA data using Ledalab – Mathias Benedek

Page 49: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Command line batch-analysis

• Run Ledalab directly from Matlab command window • Analyze all files in folder • Use Ledalab functions related to import, preprocessing, analysis, and results export

Analysis of EDA data using Ledalab – Mathias Benedek

Page 50: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Aggregate and save results across files

This is done with the separate script EDA_Results.m (located in Ledalab main directory) Steps:

1. Analyze all your EDA data with Ledalab (e.g. using Continous Decomposition Analysis – CDA)

2. Export event-related activation results (to *_era.mat files)

(steps 1 and 2 can be done with the command line batch analysis)

3. Edit script EDA_Results.m

a) Indicate directory where exported result files (*_era.mat) are located

b) Indicate whether to use event-IDs or event-names for identifying events (default = event-IDs)

c) Select, add, or modify EDA scores to be saved

4. Run script EDA_Results.m (in Matlab command window) to save averaged event-related scores

of all experiment subjects to one Excel-file for further statistical analysis

Analysis of EDA data using Ledalab – Mathias Benedek

Page 51: Analysis of EDA data using Ledalab of EDA data using Ledalab.pdfAnalysis of EDA data using Ledalab – Mathias Benedek . Documentation and References . On . ... • Download at website:

Direct access to all (raw and analyzed) data

All data can be accessed via the Matlab command window. This could be used for further processing with own scripts.

Analysis of EDA data using Ledalab – Mathias Benedek