Random Effects Analysis

10
Random Effects Analysis Will Penny Wellcome Department of Imaging Neuroscience, University College London, UK SPM Course, London, May 2004

description

Random Effects Analysis. Will Penny. Wellcome Department of Imaging Neuroscience, University College London, UK. SPM Course, London, May 2004. ^. ^. ^. ^. ^.  11.  12. .  1.  2. ^. ^. ^. ^.   2.   12.   1.   11. Summary Statistic Approach. - PowerPoint PPT Presentation

Transcript of Random Effects Analysis

Page 1: Random Effects Analysis

Random Effects AnalysisRandom Effects Analysis

Will Penny

Wellcome Department of Imaging Neuroscience, University College London, UK

SPM Course, London, May 2004

Page 2: Random Effects Analysis

1st Level 2nd Level

^

1^

^

2^

^

11^

^

12^

Data Design Matrix Contrast Images

)ˆ(ˆ

ˆ

craV

ct

Summary Statistic Approach

SPM(t)

One-samplet-test @2nd level

Page 3: Random Effects Analysis

Validity of approach Gold Standard approach is EM – see later –

estimates population mean effect as MEANEM

the variance of this estimate as VAREM

For N subjects, n scans per subject and equal within-subject variancewe have

VAREM = Var-between/N + Var-within/Nn

In this case, the SS approach gives the same results, on average:

Avg[MEANEM

Avg[Var()] =VAREM^

^

Effect size

Page 4: Random Effects Analysis

Example: Multi-session study of auditory processing

SS results EM results

Friston et al. (2004) Mixed effects and fMRI studies, Submitted.

Page 5: Random Effects Analysis

Two populations

Contrast images

Estimatedpopulation means

Two-samplet-test @2nd level

Patients

ControlsOne or twovariancecomponents ?

Page 6: Random Effects Analysis

y = X + N 1 N L L 1 N 1

2 Basic AssumptionsIdentityIndependence

The General Linear Model

IC

N

N

Error covariance

Page 7: Random Effects Analysis

y = X + N 1 N L L 1 N 1

Multiple variance components

N

N

Error covariance

QC kk

k

Errors can now have different variances and there can be correlations

K

K=2

Page 8: Random Effects Analysis

E-Step

yCXC

XCXC

T

yy

T

y

1

11

M-Stepy

Xyr

for i and j {

}{

}{}{

11

11111

CQCQtrJ

XCQCXCtrrCQCrCQtrg

ijij

i

T

yi

T

ii

}

kkQCC

gJ

1

Friston, K. et al. (2002), Neuroimage

EM algorithmEstimating variances

y = X + N 1 N L L 1 N 1

QC kk

k

Page 9: Random Effects Analysis

jump touch

Eg. “Book” and “Koob”

Stimuli: Auditory Presentation (SOA = 4 secs) of

(i) words and (ii) words spoken backwards

Subjects: (i) 12 control subjects(ii) 11 blind subjects

Scanning: fMRI, 250 scans per subject, block design

Example I

“click”

U. Noppeney et al.

Page 10: Random Effects Analysis

2nd Level

Controls Blinds

1st Level

Differenceof the

2 group effects

}

} Design matrix

Contrast vector for t-testCovariance

Matrix

Population Differences