linear hierarchical models

15
Linear Hierarchical Models Corinne Iola Giorgia Silani SPM for Dummies

Upload: aulii

Post on 25-Feb-2016

76 views

Category:

Documents


1 download

DESCRIPTION

Linear Hierarchical Models . Corinne Iola Giorgia Silani. SPM for Dummies. Outline. Fixed Effects versus Random Effects Analysis: how linear hierarchical models work Single-subject Multi-subjects Population studies. RFX: an example of hierarchical model. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Linear Hierarchical Models

Linear Hierarchical Models

Corinne Iola Giorgia Silani

SPM for Dummies

Page 2: Linear Hierarchical Models

Outline Fixed Effects versus Random Effects

Analysis: how linear hierarchical models work

Single-subject Multi-subjects Population studies

Page 3: Linear Hierarchical Models

RFX: an example of hierarchical model

Y = X(1)(1) + e(1) (1st level) – within subject

:(1) = X(2)(2) + e(2) (2nd level) – between subject

Y = scans from all subjects X(n) = design matrix at nth level(n) = parameters - basically the s of the GLM e(n) = N(m,2) error we assume there is a Gaussian distribution with a mean (m) and variation (2)

Page 4: Linear Hierarchical Models

Hierarchical form

1st level y = X(1) (1) + (1)

2nd level (1) = X(2) (2) + (2)

Page 5: Linear Hierarchical Models

Random Effects Analysis: why?

Interested in individual differences, but also

…interested in what is common

As experimentalists we know…

each subjects’ response varies from trial to trial (with-in subject variability)

Also, responses vary from subject to subject (between subject variability)

Both these are important when we make inference about the population

Page 6: Linear Hierarchical Models

Random Effects Analysis : why?

with-in subject variability – Fixed effects analysis (FFX) or 1st level analysis

Used to report case studies Not possible to make formal inferences at population level

with-in and between subject variability – Random Effect analysis (RFX) or 2nd level analysis

possible to make formal inferences at population level

Page 7: Linear Hierarchical Models

How do we perform a RFX? RFX (Parameter and Hyperparameters (Variance components)) can be estimated

using summary statistics or EM (ReML) algorithm

The gold standard approach to parameter and hyperparameter is the EM (expectation maximization)….(but takes more time…)

EM estimates population mean effect as MEANEM the variance of this estimate as VAREM For N subjects, n scans per subject and equal within-subject variance we have

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

Avg[ Avg[Var()]

However, for balanced designs (N~12 and same n scans per subject). Avg[MEANEM Avg[Var()] = VAREM

Page 8: Linear Hierarchical Models

Random Effects Analysis Multi - subject PET study Assumption - that the subjects are drawn at

random from the normal distributed population If we only take into account the within subject

variability we get the fixed effect analysis (i.e. 1st level - multisubject analysis)

If we take both within and between subjects we get random effects analysis (2nd level analysis)

Page 9: Linear Hierarchical Models

Single-subject FFX

Subj1= -1 1 0 0 0 0 0 0 0 0

t = ___1

with -in

^

Page 10: Linear Hierarchical Models

Multi-subject FFX

Group= -1 1 -1 1 -1 1 -1 1 -1 1

t = ___i

i

with -in

^

Page 11: Linear Hierarchical Models

RFX analysis

Subj1= -1 1 0 0 0 0 0 0 0 0Subj2= 0 0 -1 1 0 0 0 0 0 0

Subj5= 0 0 0 0 0 0 0 0 -1 1

t = ________i

i

with -in

^

ib

etween

^

@2nd level

Page 12: Linear Hierarchical Models

Differences between RFX and FFX

Page 13: Linear Hierarchical Models

1st Level 2nd Level

^

1^

^

2^

^

11^

^

12^

Data Design Matrix Contrast Images

)ˆ(ˆˆ

craV

ct

Random Effects Analysis : an fMRI study

SPM(t)

One-samplet-test @2nd level

Page 14: Linear Hierarchical Models

Two populationsContrast images

Estimatedpopulation means

Two-samplet-test @2nd level

Page 15: Linear Hierarchical Models

Example: Multi-session study of auditory processing

SS results EM results

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