Multiple comparisons in M/EEG analysis

37
Multiple comparisons in M/EEG analysis Gareth Barnes Wellcome Trust Centre for Neuroimaging University College London SPM M/EEG Course London, May 2013

description

Multiple comparisons in M/EEG analysis. Gareth Barnes Wellcome Trust Centre for Neuroimaging University College London. SPM M/EEG Course London, May 2013. Format. What problem ?- multiple comparisons and post-hoc testing. Some possible solutions Random field theory. Random - PowerPoint PPT Presentation

Transcript of Multiple comparisons in M/EEG analysis

Page 1: Multiple comparisons in M/EEG analysis

Multiple comparisons in M/EEG analysis

Gareth Barnes

Wellcome Trust Centre for NeuroimagingUniversity College London

SPM M/EEG CourseLondon, May 2013

Page 2: Multiple comparisons in M/EEG analysis

Format

What problem ?- multiple comparisons and post-hoc testing.

Some possible solutions Random field theory

Page 3: Multiple comparisons in M/EEG analysis

Pre-processing

GeneralLinearModel

Statistical Inference

 

 

Contrast cRandom

Field Theory

 

 

Page 4: Multiple comparisons in M/EEG analysis

T test on a single voxel / time point

 

Task A

Task B

T value

1.66

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

Test only this

Ignore these

  uThreshold

T distribution

P=0.05

Page 5: Multiple comparisons in M/EEG analysis

T test on many voxels / time points

 Task A

Task B

T value

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

0 20 40 60 80 100-4

-2

0

2

4

Test all of this

  uThreshold ?

T distribution

P= ?

 

 

Page 6: Multiple comparisons in M/EEG analysis

What not to do..

Page 7: Multiple comparisons in M/EEG analysis

Don’t do this :

0 20 40 60 80 100-4

-2

0

2

4

With no prior hypothesis.Test whole volume.Identify SPM peak. Then make a test assuminga single voxel/ time of interest.

James Kilner. Clinical Neurophysiology 2013.

SPM t

Page 8: Multiple comparisons in M/EEG analysis
Page 9: Multiple comparisons in M/EEG analysis

What to do:

Page 10: Multiple comparisons in M/EEG analysis

Multiple tests in space

t

u

t

u

t

u

t

u

t

u

t

u

11.3% 11.3% 12.5% 10.8% 11.5% 10.0% 10.7% 11.2% 10.2% 9.5%

Use of ‘uncorrected’ p-value, α =0.1

Percentage of Null Pixels that are False Positives

If we have 100,000 voxels,α=0.05 5,000 false positive voxels.

This is clearly undesirable; to correct for this we can define a null hypothesis for a collection of tests.

signal

Page 11: Multiple comparisons in M/EEG analysis

P<0.05

(independent samples)

0 50 100 150 200-4

-2

0

2

4

6t s

tatis

tic

Sample

signal

Multiple tests in time

Page 12: Multiple comparisons in M/EEG analysis

Bonferroni correction

The Family-Wise Error rate (FWER), αFWE, for a family of N tests follows the inequality:

where α is the test-wise error rate.

 

 

Therefore, to ensure a particular FWER choose:

This correction does not require the tests to be independent but becomes very stringent if they are not.

Page 13: Multiple comparisons in M/EEG analysis

Family-Wise Null Hypothesis

Falsepositive

Use of ‘corrected’ p-value, α =0.1

Use of ‘uncorrected’ p-value, α =0.1

Family-Wise Null Hypothesis:Activation is zero everywhere

If we reject a voxel null hypothesis at any voxel,we reject the family-wise Null hypothesis

A FP anywhere in the image gives a Family Wise Error (FWE)

Family-Wise Error rate (FWER) = ‘corrected’ p-value

Page 14: Multiple comparisons in M/EEG analysis

P<0.05

P<0.05 200

(independent samples)

0 50 100 150 200-4

-2

0

2

4

6

t sta

tistic

Sample

Multiple tests- FWE corrected

Page 15: Multiple comparisons in M/EEG analysis

What about data with different topologies and smoothness..

Smooth time

Diff

eren

t sm

ooth

ness

In

tim

e a

nd s

pace

Volumetric ROIs

Surfaces0 50 100 150 200-1

-0.5

0

0.5

1

1.5

2

Bonferroni works fine for independent tests but ..

Page 16: Multiple comparisons in M/EEG analysis

Non-parametric inference: permutation tests

5%

5%

Parametric methods– Assume distribution of

max statistic under nullhypothesis

Nonparametric methods– Use data to find

distribution of max statisticunder null hypothesis

– any max statistic

to control FWER

Page 17: Multiple comparisons in M/EEG analysis

Random Field Theory

Keith Worsley, Karl Friston, Jonathan Taylor, Robert Adler and colleagues

Number peaks= intrinsic volume * peak density

In a nutshell :

Page 18: Multiple comparisons in M/EEG analysis

Number peaks= intrinsic volume * peak density

Currant bun analogy

Number of currants = volume of bun * currant density

Page 19: Multiple comparisons in M/EEG analysis

Number peaks= intrinsic volume* peak density

How do we specify the number of peaks

Page 20: Multiple comparisons in M/EEG analysis

EC=2

EC=1

Euler characteristic (EC) at threshold u = Number blobs- Number holes

At high thresholds there are no holes so EC= number blobs

How do we specify the number of peaks

Page 21: Multiple comparisons in M/EEG analysis

Number peaks= intrinsic volume * peak density

How do we specify peak (or EC) density

Page 22: Multiple comparisons in M/EEG analysis

Number peaks= intrinsic volume * peak density

The EC density - depends only on the type of random field (t, F, Chi etc ) and the dimension of the test.

See J.E. Taylor, K.J. Worsley. J. Am. Stat. Assoc., 102 (2007), pp. 913–928

Number of currants = bun volume * currant density

EC density, ρd(u)

t FX2

peak densities for the different fields are known

Page 23: Multiple comparisons in M/EEG analysis

Number peaks= intrinsic volume * peak density

Currant bun analogy

Number of currants = bun volume * currant density

Page 24: Multiple comparisons in M/EEG analysis

Which field has highest intrinsic volume ?

0 200 400 600 800 1000-3

-2

-1

0

1

2

3

thre

shol

d

Sample

0 200 400 600 800 1000-4

-2

0

2

4

thre

shol

d

Sample

N=1000, FWHM= 4

0 200 400 600 800 1000-2

-1

0

1

2

thre

shol

d

Sample

0 200 400 600 800 1000-4

-2

0

2

4

thre

shol

d

Sample

A B

C D

More sam

ples (higher volume)

Smoother ( lower volume)

Equal

volume

Page 25: Multiple comparisons in M/EEG analysis

LKC or resel estimates normalize volume

The intrinsic volume (or the number of resels or the Lipschitz-Killing Curvature) of the two fields is identical

Page 26: Multiple comparisons in M/EEG analysis

From Expected Euler Characteristic

Intrinsic volume(depends on shape and smoothness of space)

Depends only on typeof test and dimension

=2.9 (in this example)

Threshold u

Gaussian Kinematic formula

Page 27: Multiple comparisons in M/EEG analysis

-- EC observedo EC predicted

Expected Euler Characteristic

Gaussian Kinematic formula

Intrinsic volume (depends on shape and smoothness of space)

EC=1-0

Depends only on typeof test and dimension

Number peaks= intrinsic volume * peak density

From

Page 28: Multiple comparisons in M/EEG analysis

From Expected Euler Characteristic

Gaussian Kinematic formula

Intrinsic volume (depends on shape and smoothness of space)

EC=2-1

Depends only on typeof test and dimension

0.05

FWE threshold

Exp

ecte

d E

CThreshold

i.e. we want one false positive every 20 realisations (FWE=0.05)

Page 29: Multiple comparisons in M/EEG analysis

Getting FWE threshold

From

Know intrinsic volume(10 resels)

0.05

Want only a 1 in 20Chance of a false positive

Know test (t) and dimension (1) so can get threshold u

(u)

Page 30: Multiple comparisons in M/EEG analysis

Testing for signal

SPM t

Random field

Observed EC

Page 31: Multiple comparisons in M/EEG analysis

Peak, cluster and set level inference

Peak level test:height of local maxima

Cluster level test:spatial extent above u

Set level test:number of clusters above u

Sensitivity

Regional specificity

: significant at the set level: significant at the cluster level: significant at the peak level

L1 > spatial extent threshold L2 < spatial extent threshold

peak

set

EC

threshold

Page 32: Multiple comparisons in M/EEG analysis

Can get correct FWE for any of these..

mm

mm

mm

mm

time

mm

time

frequ

ency

fMRI, VBM,M/EEG source reconstruction

M/EEG2D time-frequency

M/EEG 2D+t scalp-time

M/EEG1D channel-time

Page 33: Multiple comparisons in M/EEG analysis

Peace of mind

Guitart-Masip M et al. J. Neurosci. 2013;33:442-451

P<0.05 FWE

Page 34: Multiple comparisons in M/EEG analysis

Random Field Theory The statistic image is assumed to be a good lattice

representation of an underlying continuous stationary random field. Typically, FWHM > 3 voxels

Smoothness of the data is unknown and estimated:very precise estimate by pooling over voxels stationarity assumptions (esp. relevant for cluster size results).

But can also use non-stationary random field theory to correct over volumes with inhomogeneous smoothness

A priori hypothesis about where an activation should be, reduce search volume Small Volume Correction:

Page 35: Multiple comparisons in M/EEG analysis

Conclusions Because of the huge amount of data there is a multiple

comparison problem in M/EEG data.

Strong prior hypotheses can reduce this problem.

Random field theory is a way of predicting the number of peaks you would expect in a purely random field (without signal).

Can control FWE rate for a space of any dimension and shape.

Page 36: Multiple comparisons in M/EEG analysis

Acknowledgments

Guillaume Flandin

Vladimir Litvak

James Kilner

Stefan Kiebel

Rik Henson

Karl Friston

Methods group at the FIL

Page 37: Multiple comparisons in M/EEG analysis

References Friston KJ, Frith CD, Liddle PF, Frackowiak RS. Comparing functional

(PET) images: the assessment of significant change. J Cereb Blood Flow Metab. 1991 Jul;11(4):690-9.

Worsley KJ, Marrett S, Neelin P, Vandal AC, Friston KJ, Evans AC. A unified statistical approach for determining significant signals in images of cerebral activation. Human Brain Mapping 1996;4:58-73.

Chumbley J, Worsley KJ , Flandin G, and Friston KJ. Topological FDR for neuroimaging. NeuroImage, 49(4):3057-3064, 2010.

Chumbley J and Friston KJ. False Discovery Rate Revisited: FDR and Topological Inference Using Gaussian Random Fields. NeuroImage, 2008.

Kilner J and Friston KJ. Topological inference for EEG and MEG data. Annals of Applied Statistics, in press.

Bias in a common EEG and MEG statistical analysis and how to avoid it. Kilner J. Clinical Neurophysiology 2013.