Group Analyses - TNU
Transcript of Group Analyses - TNU
![Page 1: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/1.jpg)
Group Analyses
With many thanks to Guillaume Flandin, W. Penny, S. Kiebel, T. Nichols, R. Henson, J.-B. Poline, F. Kherif
![Page 2: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/2.jpg)
Normalisation
Statistical Parametric MapImage time-series
Parameter estimates
General Linear ModelRealignment Smoothing
Design matrix
Anatomicalreference
Spatial filter
StatisticalInference
RFT
p <0.05
![Page 3: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/3.jpg)
GLM: repeat over subjectsfMRI data Design Matrix Contrast Images SPM{t}
Sub
ject
1S
ubje
ct 2
…S
ubje
ct N
![Page 4: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/4.jpg)
First level analyses (p<0.05 FWE):
Data from R. Henson
![Page 5: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/5.jpg)
Fixed effects analysis (FFX)
Subject 1
Subject 2
Subject 3
Subject N
…Modelling all
subjects at once
Simple model Lots of degrees of
freedom
Large amount of data
Assumes common variance over subjects at each voxel
Implicit HM: Strong pooling across rows and columns (contrast).
![Page 6: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/6.jpg)
Fixed effects analysis (FFX)
= +
Modelling all subjects at once
Simple model Lots of degrees of
freedom
Large amount of data
Assumes common variance over subjects at each voxel
1 1y
)1(1X
)1(2X
)1(3X
111 Xy
![Page 7: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/7.jpg)
Only one source of random variation (over sessions): measurement error
True response magnitude is fixed.
Fixed effects
Within-subject VarianceWithin-subject Variance
111 Xy
![Page 8: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/8.jpg)
Random effects
Within-subject VarianceWithin-subject Variance
Between-subject VarianceBetween-subject Variance
Two sources of random variation: measurement errors response magnitude (over subjects)
Response magnitude is random each subject/session has random magnitude
2221
111
X
Xy
![Page 9: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/9.jpg)
Two sources of random variation: measurement errors response magnitude (over subjects)
Response magnitude is random each subject/session has random magnitudebut population mean magnitude is fixed.
Random effects
Within-subject VarianceWithin-subject Variance
Between-subject VarianceBetween-subject Variance
2221
111
X
Xy
![Page 10: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/10.jpg)
Probability model underlying random effects analysis
Random effects
![Page 11: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/11.jpg)
With Fixed Effects Analysis (FFX) we compare the group effect to the within-subject variability. It is not an inference about the population from which the subjects were drawn.
With Random Effects Analysis (RFX) we compare the group effect to the between-subject variability. It is an inference about the population from which the subjects were drawn. If you had a new subject from that population, you could be confident they would also show the effect.
Fixed vs random effects
![Page 12: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/12.jpg)
Fixed isn’t “wrong”, just usually isn’t of interest.
Summary: Fixed effects inference:
“I can see this effect in this cohort”
Random effects inference:
“If I were to sample a new cohort from the same
population I would get the same result”
Fixed vs random effects
![Page 13: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/13.jpg)
Terminology
Hierarchical linear models:
Random effects models
Mixed effects models
Nested models
Variance components models
… all the same
… all alluding to multiple sources of variation
(in contrast to fixed effects)
![Page 14: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/14.jpg)
=
Example: Two level model
+ = +
Second levelSecond level
First levelFirst level
Hierarchical models
2221
111
X
Xy
1 1 1 2X 2 2y
)1(1X
)1(2X
)1(3X
![Page 15: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/15.jpg)
Hierarchical models Restricted Maximum Likelihood (ReML)
Parametric Empirical Bayes
Expectation-Maximisation Algorithm
spm_mfx.m
But:
Many two level models are just too big to compute.
And even if, it takes a long time!
Any approximation?
Mixed-effects and fMRI studies. Friston et al., NeuroImage, 2005.
![Page 16: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/16.jpg)
Summary Statistics RFX Approach
Contrast ImagesfMRI data Design Matrix
Sub
ject
1…
Sub
ject
N
First levelFirst level
Generalisability, Random Effects & Population Inference. Holmes & Friston, NeuroImage,1998.
Second levelSecond level
One-sample t-test @ second level
)ˆ(ˆ
ˆ
T
T
craV
ct
![Page 17: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/17.jpg)
Summary Statistics RFX Approach
AssumptionsThe summary statistics approach is exact if for
each session/subject:
Within-subjects variances the same
First level design the same (e.g. number of trials)
Other cases: summary statistics approach is
robust against typical violations.
Simple group fMRI modeling and inference. Mumford & Nichols. NeuroImage, 2009.
Mixed-effects and fMRI studies. Friston et al., NeuroImage, 2005.
Statistical Parametric Mapping: The Analysis of Functional Brain Images. Elsevier, 2007.
![Page 18: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/18.jpg)
Summary Statistics RFX Approach
Robustness
Summarystatistics
Summarystatistics
HierarchicalModel
HierarchicalModel
Mixed-effects and fMRI studies. Friston et al., NeuroImage, 2005.
Listening to words Viewing faces
![Page 19: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/19.jpg)
ANOVA & non-sphericity
One effect per subject:
Summary statistics approach
One-sample t-test at the second level
More than one effect per subject or
multiple groups:
Non-sphericity modelling
Covariance components and ReML
![Page 20: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/20.jpg)
GLM assumes Gaussian “spherical” (i.i.d.) errors
sphericity = iid:error covariance is scalar multiple of identity matrix:Cov(e) = 2I
sphericity = iid:error covariance is scalar multiple of identity matrix:Cov(e) = 2I
Examples for non-sphericity:
non-identicallydistributed
non-independent
10
01)(eCov
10
04)(eCov
21
12)(eCov
![Page 21: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/21.jpg)
Errors are independent but not identical
(e.g. different groups (patients, controls))
Errors are independent but not identical
(e.g. different groups (patients, controls))
Errors are not independent and not identical
(e.g. repeated measures for each subject (multiple basis functions, multiple
conditions, etc.))
Errors are not independent and not identical
(e.g. repeated measures for each subject (multiple basis functions, multiple
conditions, etc.))
2nd level: Non-sphericityError covariance matrix
![Page 22: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/22.jpg)
2nd level: Variance components
Error covariance matrix
Qk’s:
Qk’s:
![Page 23: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/23.jpg)
Stimuli: Auditory presentation (SOA = 4 sec) 250 scans per subject, block design 2 conditions
• Words, e.g. “book”• Words spoken backwards, e.g. “koob”
Subjects:12 controls11 blind people
Example 1: between-subjects ANOVA
Data from Noppeney et al.
![Page 24: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/24.jpg)
Error covariance matrix
Two-sample t-test: Errors are independent
but not identical. 2 covariance components
Qk’s:
Example 1: Covariance components
![Page 25: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/25.jpg)
controls blinds
design matrix
Example 1: Group differences
FirstLevel
FirstLevel
SecondLevel
SecondLevel X
]11[ Tc Cov
![Page 26: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/26.jpg)
Example 2: within-subjects ANOVA Stimuli:
Auditory presentation (SOA = 4 sec) 250 scans per subject, block design Words:
Subjects: 12 controls
Question: What regions are generally affected by the
semantic content of the words?
“turn”“pink”“click”“jump”
ActionVisualSoundMotion
Noppeney et al., Brain, 2003.
![Page 27: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/27.jpg)
Example 2: Covariance components
Errors are not independent
and not identical
Qk’s:
Error covariance matrix
![Page 28: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/28.jpg)
Example 2: Repeated measures ANOVAMotionMotion
FirstLevel
FirstLevel
SecondLevel
SecondLevel
?=
?=
?=
SoundSound VisualVisual ActionAction
X
Cov
X
![Page 29: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/29.jpg)
ANCOVA model
Mean centering continuous covariates for a group fMRI analysis, by J. Mumford:http://mumford.fmripower.org/mean_centering/
![Page 30: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/30.jpg)
Analysis mask: logical AND
16
0
4
8
12
![Page 31: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/31.jpg)
SPM interface: factorial design specification
Many options… One-sample t-test Two-sample t-test Paired t-test Multiple regression One-way ANOVA One-way ANOVA – within subject Full factorial Flexible factorial
![Page 32: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/32.jpg)
= +
yy
XX
Model is specified by1. Design matrix X2. Assumptions
about
Model is specified by1. Design matrix X2. Assumptions
about
General Linear Model
N
1
N N
1 1p
p
![Page 33: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/33.jpg)
One-sample t-test Two-sample t-test Paired t-test One-way ANOVA
One-way ANOVA within-subject
Full Factorial Flexible Factorial Flexible Factorial
![Page 34: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/34.jpg)
Summary
Group Inference usually proceeds with RFX analysis, not FFX. Group effects are compared to between rather than within subject variability.
Hierarchical models provide a gold-standard for RFX analysis but are computationally intensive.
Summary statistics approach is a robust method for RFX group analysis.
Can also use ‘ANOVA’ or ‘ANOVA within subject’ at second level for inference about multiple experimental conditions or multiple groups.
![Page 35: Group Analyses - TNU](https://reader031.fdocuments.us/reader031/viewer/2022020620/61e403c7676ebd467221f1e3/html5/thumbnails/35.jpg)
Bibliography:
Statistical Parametric Mapping: The Analysis of Functional Brain Images. Elsevier, 2007.
Generalisability, Random Effects & Population Inference.Holmes & Friston, NeuroImage,1998.
Classical and Bayesian inference in neuroimaging: theory. Friston et al., NeuroImage, 2002.
Classical and Bayesian inference in neuroimaging: variance component estimation in fMRI.Friston et al., NeuroImage, 2002.
Mixed-effects and fMRI studies.Friston et al., NeuroImage, 2005.
Simple group fMRI modeling and inference. Mumford & Nichols, NeuroImage, 2009.