7/16/2014Wednesday Yingying Wang

Slides:



Advertisements
Similar presentations
Group analyses Wellcome Dept. of Imaging Neuroscience University College London Will Penny.
Advertisements

Hierarchical Models and
2nd level analysis in fMRI
Camilla Clark, Catherine Slattery
Group analysis Kherif Ferath Wellcome Trust Centre for Neuroimaging University College London SPM Course London, Oct 2010.
Group analyses of fMRI data Methods & models for fMRI data analysis in neuroeconomics November 2010 Klaas Enno Stephan Laboratory for Social and Neural.
Group analyses Wellcome Dept. of Imaging Neuroscience University College London Will Penny.
The General Linear Model (GLM)
The General Linear Model (GLM) SPM Course 2010 University of Zurich, February 2010 Klaas Enno Stephan Laboratory for Social & Neural Systems Research.
Group analyses of fMRI data Methods & models for fMRI data analysis 28 April 2009 Klaas Enno Stephan Laboratory for Social and Neural Systems Research.
Group analyses of fMRI data Methods & models for fMRI data analysis 26 November 2008 Klaas Enno Stephan Laboratory for Social and Neural Systems Research.
1 Overview of Hierarchical Modeling Thomas Nichols, Ph.D. Assistant Professor Department of Biostatistics Mixed Effects.
General Linear Model & Classical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM M/EEGCourse London, May.
2nd Level Analysis Jennifer Marchant & Tessa Dekker
Methods for Dummies Second level analysis
With many thanks for slides & images to: FIL Methods group, Virginia Flanagin and Klaas Enno Stephan Dr. Frederike Petzschner Translational Neuromodeling.
SPM Course Zurich, February 2015 Group Analyses Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London With many thanks to.
Corinne Introduction/Overview & Examples (behavioral) Giorgia functional Brain Imaging Examples, Fixed Effects Analysis vs. Random Effects Analysis Models.
Group analyses of fMRI data Methods & models for fMRI data analysis November 2012 With many thanks for slides & images to: FIL Methods group, particularly.
Wellcome Dept. of Imaging Neuroscience University College London
1 Mixed effects and Group Modeling for fMRI data Thomas Nichols, Ph.D. Department of Statistics Warwick Manufacturing Group University of Warwick Zurich.
Event-related fMRI Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course Chicago, Oct 2015.
Methods for Dummies Second level Analysis (for fMRI) Chris Hardy, Alex Fellows Expert: Guillaume Flandin.
FMRI Modelling & Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course Chicago, Oct.
The General Linear Model Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM fMRI Course London, May 2012.
The general linear model and Statistical Parametric Mapping I: Introduction to the GLM Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B.
Group Analysis ‘Ōiwi Parker Jones SPM Course, London May 2015.
Variance components Wellcome Dept. of Imaging Neuroscience Institute of Neurology, UCL, London Stefan Kiebel.
Bayesian Inference in SPM2 Will Penny K. Friston, J. Ashburner, J.-B. Poline, R. Henson, S. Kiebel, D. Glaser Wellcome Department of Imaging Neuroscience,
The General Linear Model Christophe Phillips SPM Short Course London, May 2013.
The General Linear Model Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM fMRI Course London, October 2012.
Group Analyses Guillaume Flandin SPM Course London, October 2016
The general linear model and Statistical Parametric Mapping
The General Linear Model
2nd Level Analysis Methods for Dummies 2010/11 - 2nd Feb 2011
Group Modeling for fMRI
Wellcome Trust Centre for Neuroimaging University College London
Random Effects Analysis
Group analyses Thanks to Will Penny for slides and content
Wellcome Trust Centre for Neuroimaging University College London
The General Linear Model (GLM)
Methods for Dummies Second-level Analysis (for fMRI)
Contrasts & Statistical Inference
'Linear Hierarchical Models'
Wellcome Dept. of Imaging Neuroscience University College London
The General Linear Model
Linear Hierarchical Modelling
Group analyses Thanks to Will Penny for slides and content
The general linear model and Statistical Parametric Mapping
SPM2: Modelling and Inference
The General Linear Model
Hierarchical Models and
The General Linear Model (GLM)
Wellcome Dept. of Imaging Neuroscience University College London
Mixed effects and Group Modeling for fMRI data
Variance components and Non-sphericity
Methods for Dummies Second-level Analysis (for fMRI)
Contrasts & Statistical Inference
Bayesian Inference in SPM2
Wellcome Trust Centre for Neuroimaging University College London
Linear Hierarchical Models
The General Linear Model
WellcomeTrust Centre for Neuroimaging University College London
The General Linear Model
Wellcome Dept. of Imaging Neuroscience University College London
The General Linear Model
Wellcome Dept. of Imaging Neuroscience University College London
Contrasts & Statistical Inference
Wellcome Trust Centre for Neuroimaging University College London
Presentation transcript:

7/16/2014Wednesday Yingying Wang

 Any question?  Who finished the homework? 2

 What’s the dimension of fMRI data?  Why do we need to do realignment?  What happens in the co-registration step?  Why do we need to do normalization?  Why do we need to smooth the data? 3

4

5

6

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 7

=+ Modelling all subjects at once  Simple model  Lots of degrees of freedom  Large amount of data  Assumes common variance over subjects at each voxel 8

 Only one source of random variation (over sessions):  measurement error  True response magnitude is fixed. Within-subject Variance 9

Between-subject Variance  Two sources of random variation:  measurement errors  response magnitude (over subjects)  Response magnitude is random  each subject/session has random magnitude 10

 Two sources of random variation:  measurement errors  response magnitude (over subjects)  Response magnitude is random  each subject/session has random magnitude  but population mean magnitude is fixed. Within-subject Variance Between-subject Variance 11

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. 12

 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” 13

Terminology Hierarchical linear models:  Random effects models  Mixed effects models  Nested models  Variance components models … all the same … all including to multiple sources of variation (in contrast to fixed effects) 14

= Example: Two level model + = + Second level First level Hierarchical models 15

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,

Summary Statistics RFX Approach Contrast Images fMRI dataDesign Matrix Subject 1 … Subject N First level Generalisability, Random Effects & Population Inference. Holmes & Friston, NeuroImage,1998. Second level One-sample second level 17

Summary Statistics RFX Approach Assumptions  The 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, Mixed-effects and fMRI studies. Friston et al., NeuroImage, Statistical Parametric Mapping: The Analysis of Functional Brain Images. Elsevier,

Summary Statistics RFX Approach Robustness Summary statistics Summary statistics Hierarchical Model Hierarchical Model Mixed-effects and fMRI studies. Friston et al., NeuroImage, Listening to words Viewing faces 19

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 20

21 sphericity = iid: error covariance is scalar multiple of identity matrix: Cov(e) =  2 I sphericity = iid: error covariance is scalar multiple of identity matrix: Cov(e) =  2 I Examples for non-sphericity: non-identically distributed non-independent

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.)) 2 nd level: Non-sphericity Error covariance matrix 22

2 nd level: Variance components Error covariance matrix Q k ’s: 23

 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 controls  11 blind people Example 1: between-subjects ANOVA Data from Noppeney et al. 24

Error covariance matrix  Two-sample t-test:  Errors are independent but not identical.  2 covariance components Q k ’s: Example 1: Covariance components 25

controls blinds design matrix Example 1: Group differences First Level First Level Second Level Second Level 26

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,

Example 2: Covariance components  Errors are not independent and not identical Q k ’s: Error covariance matrix 28

Example 2: Repeated measures ANOVA Motion First Level First Level Second Level Second Level ? = ? = ? = Sound Visual Action 29

SPM interface: factorial design specification  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 30

 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. 31

 Statistical Parametric Mapping: The Analysis of Functional Brain Images. Elsevier,  Generalisability, Random Effects & Population Inference. Holmes & Friston, NeuroImage,1998.  Classical and Bayesian inference in neuroimaging: theory. Friston et al., NeuroImage,  Classical and Bayesian inference in neuroimaging: variance component estimation in fMRI. Friston et al., NeuroImage,  Mixed-effects and fMRI studies. Friston et al., NeuroImage,  Simple group fMRI modeling and inference. Mumford & Nichols, NeuroImage,