Wellcome Dept. of Imaging Neuroscience University College London

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.
Variance Component Estimation a.k.a. Non-Sphericity Correction.
Group analyses of fMRI data Methods & models for fMRI data analysis in neuroeconomics November 2010 Klaas Enno Stephan Laboratory for Social and Neural.
Covariance, autocorrelation & non-sphericity Methods for Dummies.
The General Linear Model (GLM) Methods & models for fMRI data analysis in neuroeconomics November 2010 Klaas Enno Stephan Laboratory for Social & 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
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
With many thanks for slides & images to: FIL Methods group, Virginia Flanagin and Klaas Enno Stephan Dr. Frederike Petzschner Translational Neuromodeling.
7/16/2014Wednesday Yingying Wang
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.
Bayesian Inference and Posterior Probability Maps Guillaume Flandin Wellcome Department of Imaging Neuroscience, University College London, UK SPM Course,
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
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.
The general linear model and Statistical Parametric Mapping II: GLM for fMRI Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline.
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.
The General Linear Model (GLM)
Group Analyses Guillaume Flandin SPM Course London, October 2016
The General Linear Model (GLM)
The general linear model and Statistical Parametric Mapping
The General Linear Model
2nd Level Analysis Methods for Dummies 2010/11 - 2nd Feb 2011
Random Effects Analysis
Group analyses Thanks to Will Penny for slides and content
Wellcome Trust Centre for Neuroimaging University College London
and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline
The General Linear Model (GLM)
'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
Statistical Parametric Mapping
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
Variance components and Non-sphericity
Bayesian Inference in SPM2
Linear Hierarchical Models
The General Linear Model
Mixture Models with Adaptive Spatial Priors
The General Linear Model (GLM)
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
Presentation transcript:

Wellcome Dept. of Imaging Neuroscience University College London Hierarchical Models Stefan Kiebel Wellcome Dept. of Imaging Neuroscience University College London

Overview Why hierarchical models? The model Estimation Expectation-Maximization Summary Statistics approach Variance components Examples

Overview Why hierarchical models? Why hierarchical models? The model Estimation Expectation-Maximization Summary Statistics approach Variance components Examples

Data Time fMRI, single subject EEG/MEG, single subject fMRI, multi-subject ERP/ERF, multi-subject Hierarchical model for all imaging data!

Reminder: voxel by voxel model specification parameter estimation Time hypothesis statistic Time Intensity single voxel time series SPM

Overview Why hierarchical models? The model The model Estimation Expectation-Maximization Summary Statistics approach Variance components Examples

General Linear Model = + Model is specified by Design matrix X Assumptions about e N: number of scans p: number of regressors

Linear hierarchical model Multiple variance components at each level Hierarchical model At each level, distribution of parameters is given by level above. What we don’t know: distribution of parameters and variance parameters.

Example: Two level model = + = + Second level First level

Algorithmic Equivalence Parametric Empirical Bayes (PEB) Hierarchical model EM = PEB = ReML Single-level model Restricted Maximum Likelihood (ReML)

Overview Why hierarchical models? The model Estimation Estimation Expectation-Maximization Summary Statistics approach Variance components Examples

Estimation EM-algorithm E-step M-step Assume, at voxel j: Friston et al. 2002, Neuroimage

And in practice? Most 2-level models are just too big to compute. And even if, it takes a long time! Moreover, sometimes we‘re only interested in one specific effect and don‘t want to model all the data. Is there a fast approximation?

Summary Statistics approach First level Second level Data Design Matrix Contrast Images SPM(t) One-sample t-test @ 2nd level

Validity of approach The summary stats approach is exact under i.i.d. assumptions at the 2nd level, if for each session: Within-session covariance the same First-level design the same One contrast per session All other cases: Summary stats approach seems to be robust against typical violations.

Mixed-effects Summary statistics EM approach Step 1 Step 2 Friston et al. (2004) Mixed effects and fMRI studies, Neuroimage

Overview Why hierarchical models? The model Estimation Expectation-Maximization Summary Statistics approach Variance components Variance components Examples

Sphericity Scans ‚sphericity‘ means: i.e. Scans

2nd level: Non-sphericity Error covariance Errors are independent but not identical Errors are not independent and not identical

1st level fMRI: serial correlations with autoregressive process of order 1 (AR-1) autocovariance- function COMPUTATIONAL EFFICIENCY To test a hypothesis a lot of images (on the order of 104) are accessed. Acceptable for interpolated channel data, but probably not for source reconstructed 3D-data. For fMRI, this procedure is ok, because there are not really many hypotheses (HRF up or HRF down + differences/interactions) For EEG, there are many more hypotheses to test, because there are many potential different hypotheses Some hypotheses cannot be tested with conventional model: any contrasts with lots of different regressors at 2nd level!!

Restricted Maximum Likelihood observed ReML estimated COMPUTATIONAL EFFICIENCY To test a hypothesis a lot of images (on the order of 104) are accessed. Acceptable for interpolated channel data, but probably not for source reconstructed 3D-data. For fMRI, this procedure is ok, because there are not really many hypotheses (HRF up or HRF down + differences/interactions) For EEG, there are many more hypotheses to test, because there are many potential different hypotheses Some hypotheses cannot be tested with conventional model: any contrasts with lots of different regressors at 2nd level!!

Estimation in SPM5 ReML (pooled estimate) Ordinary least-squares Maximum Likelihood optional in SPM5 one pass through data statistic using effective degrees of freedom 2 passes (first pass for selection of voxels) more accurate estimate of V

2nd level: Non-sphericity Errors can be non-independent and non-identical when… Several parameters per subject, e.g. repeated measures design Complete characterization of the hemodynamic response, e.g. taking more than 1 HRF parameter to 2nd level Example data set (R Henson) on: http://www.fil.ion.ucl.ac.uk/spm/data/

Overview Why hierarchical models? The model Estimation Expectation-Maximization Summary Statistics approach Variance components Examples Examples

Example I Stimuli: Subjects: Scanning: Auditory Presentation (SOA = 4 secs) of (i) words and (ii) words spoken backwards Stimuli: e.g. “Book” and “Koob” (i) 12 control subjects (ii) 11 blind subjects Subjects: Scanning: fMRI, 250 scans per subject, block design U. Noppeney et al.

Population differences 1st level: Controls Blinds 2nd level:

Auditory Presentation (SOA = 4 secs) of words Example II Stimuli: Auditory Presentation (SOA = 4 secs) of words Motion Sound Visual Action “jump” “click” “pink” “turn” Subjects: (i) 12 control subjects fMRI, 250 scans per subject, block design Scanning: What regions are affected by the semantic content of the words? Question: U. Noppeney et al.

Repeated measures Anova 1st level: Motion Sound Visual Action ? = ? = ? = 2nd level:

Example 3: 2-level ERP model Single subject Multiple subjects Subject 1 Trial type 1 . . . . . . Subject j Trial type i . . . . . . Subject m Trial type n

Test for difference in N170 ERP-specific contrasts: Average between 150 and 190 ms Example: difference between trial types 2nd level contrast -1 1 . . . = = + Identity matrix second level first level

Some practical points RFX: If not using multi-dimensional contrasts at 2nd level (F-tests), use a series of 1-sample t-tests at the 2nd level. Use mixed-effects model only, if seriously in doubt about validity of summary statistics approach. If using variance components at 2nd level: Always check your variance components (explore design).

Conclusion Linear hierarchical models are general enough for typical multi-subject imaging data (PET, fMRI, EEG/MEG). Summary statistics are robust approximation to mixed-effects analysis. To minimize number of variance components to be estimated at 2nd level, compute relevant contrasts at 1st level and use simple test at 2nd level.