Mixed effects and Group Modeling for fMRI data Thomas Nichols, - - PowerPoint PPT Presentation

mixed effects and group modeling for fmri data
SMART_READER_LITE
LIVE PREVIEW

Mixed effects and Group Modeling for fMRI data Thomas Nichols, - - PowerPoint PPT Presentation

Mixed effects and Group Modeling for fMRI data Thomas Nichols, Ph.D. Department of Statistics & Warwick Manufacturing Group University of Warwick Zurich SPM Course February 16, 2012 1 Outline Mixed effects motivation Evaluating


slide-1
SLIDE 1

1

Mixed effects and Group Modeling for fMRI data

Thomas Nichols, Ph.D. Department of Statistics & Warwick Manufacturing Group University of Warwick Zurich SPM Course February 16, 2012

slide-2
SLIDE 2

2

Outline

  • Mixed effects motivation
  • Evaluating mixed effects methods
  • Two methods

– Summary statistic approach (HF) (SPM96,99,2,5,8) – SPM8 Nonsphericity Modelling

  • Data exploration
  • Conclusions
slide-3
SLIDE 3

3

Overview

  • Mixed effects motivation
  • Evaluating mixed effects methods
  • Two methods

– Summary statistic approach (HF) (SPM96,99,2,5,8) – SPM8 Nonsphericity Modelling

  • Data exploration
  • Conclusions
slide-4
SLIDE 4

4

Lexicon

Hierarchical Models

  • Mixed Effects Models
  • Random Effects (RFX) Models
  • Components of Variance

... all the same ... all alluding to multiple sources of variation (in contrast to fixed effects)

slide-5
SLIDE 5

6

  • Subj. 1
  • Subj. 2
  • Subj. 3
  • Subj. 4
  • Subj. 5
  • Subj. 6

Fixed vs. Random Effects in fMRI

  • Fixed Effects

– Intra-subject variation suggests all these subjects different from zero

  • Random Effects

– Intersubject variation suggests population not very different from zero

Distribution of each subject’s estimated effect Distribution of population effect

2

FFX

2

RFX

slide-6
SLIDE 6

7

Fixed Effects

  • Only variation (over sessions) is

measurement error

  • True Response magnitude is fixed
slide-7
SLIDE 7

8

Random/Mixed Effects

  • Two sources of variation

– Measurement error – Response magnitude

  • Response magnitude is random

– Each subject/session has random magnitude –

slide-8
SLIDE 8

9

Random/Mixed Effects

  • Two sources of variation

– Measurement error – Response magnitude

  • Response magnitude is random

– Each subject/session has random magnitude – But note, population mean magnitude is fixed

slide-9
SLIDE 9

10

Fixed vs. Random

  • Fixed isn’t “wrong,” just usually isn’t of

interest

  • Fixed Effects Inference

– “I can see this effect in this cohort”

  • Random Effects Inference

– “If I were to sample a new cohort from the population I would get the same result”

slide-10
SLIDE 10

11

Two Different Fixed Effects Approaches

  • Grand GLM approach

– Model all subjects at once – Good: Mondo DF – Good: Can simplify modeling – Bad: Assumes common variance

  • ver subjects at each voxel

– Bad: Huge amount of data

slide-11
SLIDE 11

12

Two Different Fixed Effects Approaches

  • Meta Analysis approach

– Model each subject individually – Combine set of T statistics

  • mean(T)n ~ N(0,1)
  • sum(-logP) ~ 2

n

– Good: Doesn’t assume common variance – Bad: Not implemented in software Hard to interrogate statistic maps

slide-12
SLIDE 12

13

Overview

  • Mixed effects motivation
  • Evaluating mixed effects methods
  • Two methods

– Summary statistic approach (HF) (SPM96,99,2,5,8) – SPM8 Nonsphericity Modelling

  • Data exploration
  • Conclusions
slide-13
SLIDE 13

14

Assessing RFX Models Issues to Consider

  • Assumptions & Limitations

– What must I assume?

  • Independence?
  • “Nonsphericity”? (aka independence + homogeneous var.)

– When can I use it

  • Efficiency & Power

– How sensitive is it?

  • Validity & Robustness

– Can I trust the P-values? – Are the standard errors correct? – If assumptions off, things still OK?

slide-14
SLIDE 14

19

Overview

  • Mixed effects motivation
  • Evaluating mixed effects methods
  • Two methods

– Summary statistic approach (HF) (SPM96,99,2,5,8) – SPM8 Nonsphericity Modelling

  • Data exploration
  • Conclusions
slide-15
SLIDE 15

20

Overview

  • Mixed effects motivation
  • Evaluating mixed effects methods
  • Two methods

– Summary statistic approach (HF) (SPM96,99,2,5,8) – SPM8 Nonsphericity Modelling

  • Data exploration
  • Conclusions
slide-16
SLIDE 16

21

Holmes & Friston

  • Unweighted summary statistic approach
  • 1- or 2-sample t test on contrast images

– Intrasubject variance images not used (c.f. FSL)

  • Proceedure

– Fit GLM for each subject i – Compute cbi, contrast estimate – Analyze {cbi}i

slide-17
SLIDE 17

22

Holmes & Friston motivation...

p < 0.001 (uncorrected) p < 0.05 (corrected) SPM{t} SPM{t}

1

^

2

^

3

^

4

^

5

^

6

^



^

• – c.f. 2

 / nw

^



^



^



^



^



^

– c.f. estimated mean activation image

Fixed effects... ...powerful but wrong inference

n – subjects w – error DF

slide-18
SLIDE 18

23



^

Holmes & Friston Random Effects

1

^

2

^

3

^

4

^

5

^

6

^



^



^



^



^



^

• – c.f. 2/n = 2

 /n + 2  / nw

^ – c.f.

     

level-one

(within-subject) variance 2

^

an estimate of the mixed-effects model variance 2

 + 2  / w

— level-two

(between-subject)

timecourses at [ 03, -78, 00 ] contrast images

p < 0.001 (uncorrected)

SPM{t}

(no voxels significant at p < 0.05 (corrected))

slide-19
SLIDE 19

24

Holmes & Friston Assumptions

  • Distribution

– Normality – Independent subjects

  • Homogeneous Variance

– Intrasubject variance homogeneous

  • 2

FFX same for all subjects

– Balanced designs

slide-20
SLIDE 20

25

Holmes & Friston Limitations

  • Limitations

– Only single image per subject – If 2 or more conditions, Must run separate model for each contrast

  • Limitation a strength!

– No sphericity assumption made on different conditions when each is fit with separate model

slide-21
SLIDE 21

26

Holmes & Friston Efficiency

  • If assumptions true

– Optimal, fully efficient

  • If 2

FFX differs between

subjects

– Reduced efficiency – Here, optimal requires down-weighting the 3 highly variable subjects

 ˆ  ˆ

slide-22
SLIDE 22

27

Holmes & Friston Validity

  • If assumptions true

– Exact P-values

  • If 2

FFX differs btw subj.

– Standard errors not OK

  • Est. of 2

RFX may be

biased

– DF not OK

  • Here, 3 Ss dominate
  • DF < 5 = 6-1

2

RFX

slide-23
SLIDE 23
  • In practice, Validity & Efficiency are excellent

– For one sample case, HF almost impossible to break

  • 2-sample & correlation might give trouble

– Dramatic imbalance or heteroscedasticity

28

Holmes & Friston Robustness

(outlier severity) Mumford & Nichols. Simple group fMRI modeling and inference. Neuroimage, 47(4):1469--1475, 2009.

False Positive Rate Power Relative to Optimal

(outlier severity)

slide-24
SLIDE 24

29

Overview

  • Mixed effects motivation
  • Evaluating mixed effects methods
  • Two methods

– Summary statistic approach (HF) (SPM96,99,2,5,8) – SPM8 Nonsphericity Modelling

  • Data exploration
  • Conclusions
slide-25
SLIDE 25

30

SPM8 Nonsphericity Modelling

  • 1 effect per subject

– Uses Holmes & Friston approach

  • >1 effect per subject

– Can’t use HF; must use SPM8 Nonsphericity Modelling – Variance basis function approach used...

slide-26
SLIDE 26

31

y = X  + 

N  1 N  p p  1 N  1

N N Error covariance

SPM8 Notation: iid case

  • 12 subjects,

4 conditions

– Use F-test to find differences btw conditions

  • Standard Assumptions

– Identical distn – Independence – “Sphericity”... but here not realistic!

X

Cor(ε) = λ I

slide-27
SLIDE 27

32

y = X  + 

N  1 N  p p  1 N  1

N N Error covariance Errors can now have different variances and there can be correlations Allows for ‘nonsphericity’

Multiple Variance Components

  • 12 subjects, 4 conditions
  • Measurements btw

subjects uncorrelated

  • Measurements w/in

subjects correlated

Cor(ε) =Σk λkQk

slide-28
SLIDE 28

33

Non-Sphericity Modeling

  • Errors are not

independent and not identical

Qk’s:

Error Covariance

slide-29
SLIDE 29

34

Non-Sphericity Modeling

  • Errors are

independent but not identical

– Eg. Two Sample T Two basis elements

Error Covariance

Qk’s:

slide-30
SLIDE 30

35

SPM8 Nonsphericity Modelling

  • Assumptions & Limitations

– assumed to globally homogeneous – lk’s only estimated from voxels with large F – Most realistically, Cor() spatially heterogeneous – Intrasubject variance assumed homogeneous Cor(ε) =Σk λkQk

slide-31
SLIDE 31

36

SPM8 Nonsphericity Modelling

  • Efficiency & Power

– If assumptions true, fully efficient

  • Validity & Robustness

– P-values could be wrong (over or under) if local Cor() very different from globally assumed – Stronger assumptions than Holmes & Friston

slide-32
SLIDE 32

44

Overview

  • Mixed effects motivation
  • Evaluating mixed effects methods
  • Two methods

– Summary statistic approach (HF) (SPM96,99,2,5,8) – SPM8 Nonsphericity Modelling

  • Data exploration
  • Conclusions
slide-33
SLIDE 33

Data: FIAC Data

  • Acquisition

– 3 TE Bruker Magnet – For each subject: 2 (block design) sessions, 195 EPI images each – TR=2.5s, TE=35ms, 646430 volumes, 334mm vx.

  • Experiment (Block Design only)

– Passive sentence listening – 22 Factorial Design

  • Sentence Effect: Same sentence repeated vs different
  • Speaker Effect: Same speaker vs. different
  • Analysis

– Slice time correction, motion correction, sptl. norm. – 555 mm FWHM Gaussian smoothing – Box-car convolved w/ canonical HRF – Drift fit with DCT, 1/128Hz

slide-34
SLIDE 34

Look at the Data!

  • With small n,

really can do it!

  • Start with

anatomical

– Alignment OK?

  • Yup

– Any horrible anatomical anomalies?

  • Nope
slide-35
SLIDE 35

Look at the Data!

  • Mean &

Standard Deviation also useful

– Variance lowest in white matter – Highest around ventricles

slide-36
SLIDE 36

Look at the Data!

  • Then the

functionals

– Set same intensity window for all [-10 10] – Last 6 subjects good – Some variability in occipital cortex

slide-37
SLIDE 37

Feel the Void!

  • Compare

functional with anatomical to assess extent of signal voids

slide-38
SLIDE 38

51

Conclusions

  • Random Effects crucial for pop. inference
  • When question reduces to one contrast

– HF summary statistic approach

  • When question requires multiple contrasts

– Repeated measures modelling

  • Look at the data!
slide-39
SLIDE 39

52

slide-40
SLIDE 40

53

References for four RFX Approaches in fMRI

  • Holmes & Friston (HF)

– Summary Statistic approach (contrasts only)

– Holmes & Friston (HBM 1998). Generalisability, Random Effects & Population Inference. NI, 7(4 (2/3)):S754, 1999.

  • Holmes et al. (SnPM)

– Permutation inference on summary statistics

– Nichols & Holmes (2001). Nonparametric Permutation Tests for Functional Neuroimaging: A Primer with Examples. HBM, 15;1-25. – Holmes, Blair, Watson & Ford (1996). Nonparametric Analysis of Statistic Images from Functional Mapping Experiments. JCBFM, 16:7-22.

  • Friston et al. (SPM8 Nonsphericity Modelling)

– Empirical Bayesian approach

– Friston et al. Classical and Bayesian inference in neuroimaging: theory. NI 16(2):465-483, 2002 – Friston et al. Classical and Bayesian inference in neuroimaging: variance component estimation in

  • fMRI. NI: 16(2):484-512, 2002.
  • Beckmann et al. & Woolrich et al. (FSL3)

– Summary Statistics (contrast estimates and variance)

– Beckmann, Jenkinson & Smith. General Multilevel linear modeling for group analysis in fMRI. NI 20(2):1052-1063 (2003) – Woolrich, Behrens et al. Multilevel linear modeling for fMRI group analysis using Bayesian inference. NI 21:1732-1747 (2004)