Group Analysis ‘Ōiwi Parker Jones SPM Course, London May 2015.

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.
Basics of fMRI Group Analysis Douglas N. Greve. 2 fMRI Analysis Overview Higher Level GLM First Level GLM Analysis First Level GLM Analysis Subject 3.
Group analyses of fMRI data Methods & models for fMRI data analysis in neuroeconomics November 2010 Klaas Enno Stephan Laboratory for Social and Neural.
Classical inference and design efficiency Zurich SPM Course 2014
Group analyses Wellcome Dept. of Imaging Neuroscience University College London Will Penny.
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.
Introduction to SPM SPM fMRI Course London, May 2012 Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London.
1st Level Analysis Design Matrix, Contrasts & Inference
General Linear Model & Classical Inference
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
7/16/2014Wednesday Yingying Wang
TAUCHI – Tampere Unit for Computer-Human Interaction ERIT 2015: Data analysis and interpretation (1 & 2) Hanna Venesvirta Tampere Unit for Computer-Human.
Analysis of fMRI data with linear models Typical fMRI processing steps Image reconstruction Slice time correction Motion correction Temporal filtering.
SPM Course Zurich, February 2015 Group Analyses Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London With many thanks to.
SPM short course – Oct Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
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.
Contrasts & Inference - EEG & MEG Himn Sabir 1. Topics 1 st level analysis 2 nd level analysis Space-Time SPMs Time-frequency analysis Conclusion 2.
Wellcome Dept. of Imaging Neuroscience University College London
Contrasts & Statistical Inference
1 Mixed effects and Group Modeling for fMRI data Thomas Nichols, Ph.D. Department of Statistics Warwick Manufacturing Group University of Warwick Zurich.
SPSS meets SPM All about Analysis of Variance
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.
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 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
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
Keith Worsley Keith Worsley
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
SPM2: Modelling and Inference
The General Linear Model
Hierarchical Models and
Wellcome Dept. of Imaging Neuroscience University College London
Mixed effects and Group Modeling for fMRI data
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
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:

Group Analysis ‘Ōiwi Parker Jones SPM Course, London May 2015

Overview  Variation may come from multiple sources  Some common to all data, e.g. measurement noise  Some common to subsets, e.g. subject variability  How do we model this?

Subject 1 Effect size, c ~ 4 For voxel v in the brain

Subject 2 Effect size, c ~ 2 For voxel v in the brain

Subject 12 Effect size, c ~ 4 For voxel v in the brain

Random effect analysis (RFX) >> c = [4, 2, 3, 1, 1, 2, 3, 3, 3, 2, 4, 4]; >> m = mean(c) % mean effect size >> s_b = std(c)% between subject variability >> n = length(c)% number of samples >> sem = s_b / sqrt(n)% standard error of the mean >> t = m / sem% t-stat >> [~,p]= ttest(c,0)% p-value

Random effect analysis (RFX) >> c = [4, 2, 3, 1, 1, 2, 3, 3, 3, 2, 4, 4]; >> m = mean(c) % 2.67 >> s_b = std(c)% 1.07 >> n = length(c)% 12 >> sem = s_b / sqrt(n)% 0.31 >> t = m / sem% 8.61 >> [~,p]= ttest(c,0)% 10 -6

Subject 1 Effect size, c ~ 4 Within subject variability, s w ~0.9 For voxel v in the brain

Subject 2 For voxel v in the brain Effect size, c ~ 2 Within subject variability, s w ~1.5

Subject 12 For voxel v in the brain Effect size, c ~ 4 Within subject variability, s w ~1.1

Fixed effects analysis (FFX) >> s_w = [0.9, 1.5, 1.2, 0.5, 0.4, 0.7, 0.8, 2.1, 1.8, 0.8, 0.7, 1.1] >> m= mean(c) % mean effect size >> s_w= mean(s_w)% mean s_w >> n= length(c)*50% number of samples >> sem = s_w / sqrt(n)% standard error of the mean >> t = m / sem% t-stat >> [~,p] = ttest(c,0)% p-value

Fixed effects analysis (FFX) >> s_w = [0.9, 1.5, 1.2, 0.5, 0.4, 0.7, 0.8, 2.1, 1.8, 0.8, 0.7, 1.1] >> m= mean(c) % 2.67 >> s_w= mean(s_w)% 1.04 >> n= length(c) * 50% 600 = 12 subj x 50 scans >> sem = s_w / sqrt(n)% 0.04 >> t = m / sem% 62.7 >> [~,p] = ttest(c,0)% “The fallacy of classical inference” “The fallacy of classical inference”

… swsw n = 600

… Subj 1Subj 2Subj 12 sbsb n = 12

Data Design Matrix Contrast Images First level Summary stats

Data Design Matrix Contrast Images SPM(t) Second level First level One-sample 2 nd level One-sample 2 nd level Summary stats

=+ = + Second level First level (1) Within subject variance, s w (i) (2) Between subject variance,s b Hierarchical model

Summary stats vs hierarchical models  Most people use summary stats (for RFX in neuroimaging)  Quick to compute  Equivalent to hierarchical models if 1.within-subject variances are the same 2.1 st level designs are the same (e.g. equal number of trials)  Hierarchical models  Guarantee optimal analysis for each dataset  Can be very useful if  assumptions 1, 2 above are violated (e.g. patient studies)  you want to check your results

Friston et al. (2004) Mixed effects and fMRI studies, Neuroimage Summary statistics Summary statistics Hierarchical Model Hierarchical Model Auditory example

Condition 1Condition 2Condition 3 Sub1Sub13Sub25 Sub2Sub14Sub Sub12Sub24Sub36 ANOVA at 2nd level (e.g. drug). Multiple conditions (part 1)

Condition 1Condition 2Condition3 Sub1Sub1Sub1 Sub2Sub2Sub Sub12Sub12Sub12 ‘ ANOVA within subjects ’ at 2nd level. (This is an ANOVA but with average subject effects removed.) Multiple conditions (part 2)

Summary 1.Group analysis can be used to model different sources of variation in data, either common (FFX) or not (RFX) 2.Group inference usually proceeds with RFX, not FFX. Group effects are compared between, rather than within, subject variability. 3.Hierarchical models provide a gold standard for RFX analysis but are computationally intensive (spm_mfx). 4.Summary statistics are a robust method for RFX group analysis (see SPM book; Mumford and Nichols, NI, 2009). 5.This approach is flexible: use ‘ANOVA’ or ‘ANOVA within subject’ at 2 nd level for inferences about multiple experimental conditions.