FMRI Modelling & Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course Chicago, 22-23 Oct.

Slides:



Advertisements
Similar presentations
Statistical Inference
Advertisements

SPM Course Zurich, February 2012 Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London.
SPM 2002 C1C2C3 X =  C1 C2 Xb L C1 L C2  C1 C2 Xb L C1  L C2 Y Xb e Space of X C1 C2 Xb Space X C1 C2 C1  C3 P C1C2  Xb Xb Space of X C1 C2 C1 
Group analyses of fMRI data Methods & models for fMRI data analysis in neuroeconomics November 2010 Klaas Enno Stephan Laboratory for Social and Neural.
The General Linear Model Or, What the Hell’s Going on During Estimation?
Classical inference and design efficiency Zurich SPM Course 2014
Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course Zurich, February 2009.
Classical (frequentist) inference Methods & models for fMRI data analysis in neuroeconomics April 2010 Klaas Enno Stephan Laboratory for Social and Neural.
The General Linear Model (GLM) Methods & models for fMRI data analysis in neuroeconomics November 2010 Klaas Enno Stephan Laboratory for Social & Neural.
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.
Statistical Inference
Classical (frequentist) inference Methods & models for fMRI data analysis in neuroeconomics 14 October 2009 Klaas Enno Stephan Laboratory for Social and.
Classical (frequentist) inference Methods & models for fMRI data analysis 11 March 2009 Klaas Enno Stephan Laboratory for Social and Neural System Research.
Classical (frequentist) inference Methods & models for fMRI data analysis 22 October 2008 Klaas Enno Stephan Branco Weiss Laboratory (BWL) Institute for.
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.
1st level analysis: basis functions and correlated regressors
SPM short course – May 2003 Linear Models and Contrasts The random field theory Hammering a Linear Model Use for Normalisation T and F tests : (orthogonal.
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.
With many thanks for slides & images to: FIL Methods group, Virginia Flanagin and Klaas Enno Stephan Dr. Frederike Petzschner Translational Neuromodeling.
General Linear Model & Classical Inference London, SPM-M/EEG course May 2014 C. Phillips, Cyclotron Research Centre, ULg, Belgium
SPM Course Zurich, February 2015 Group Analyses Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London With many thanks to.
Classical (frequentist) inference Methods & models for fMRI data analysis November 2012 With many thanks for slides & images to: FIL Methods group Klaas.
SPM short course – Oct Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Group analyses of fMRI data Methods & models for fMRI data analysis November 2012 With many thanks for slides & images to: FIL Methods group, particularly.
FMRI GLM Analysis 7/15/2014Tuesday Yingying Wang
Wellcome Dept. of Imaging Neuroscience University College London
General Linear Model. Y1Y2...YJY1Y2...YJ = X 11 … X 1l … X 1L X 21 … X 2l … X 2L. X J1 … X Jl … X JL β1β2...βLβ1β2...βL + ε1ε2...εJε1ε2...εJ Y = X * β.
Contrasts & Statistical Inference
The General Linear Model (for dummies…) Carmen Tur and Ashwani Jha 2009.
Statistical Inference Christophe Phillips SPM Course London, May 2012.
The General Linear Model
The General Linear Model Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM fMRI Course London, May 2012.
SPM short – Mai 2008 Linear Models and Contrasts Stefan Kiebel Wellcome Trust Centre for Neuroimaging.
The general linear model and Statistical Parametric Mapping I: Introduction to the GLM Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B.
Contrasts & Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course London, October 2008.
The general linear model and Statistical Parametric Mapping II: GLM for fMRI Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline.
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.
SPM short course – Mai 2008 Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
General Linear Model & Classical Inference London, SPM-M/EEG course May 2016 Sven Bestmann, Sobell Department, Institute of Neurology, UCL
General Linear Model & Classical Inference Short course on SPM for MEG/EEG Wellcome Trust Centre for Neuroimaging University College London May 2010 C.
The General Linear Model (GLM)
Group Analyses Guillaume Flandin SPM Course London, October 2016
The General Linear Model (GLM)
General Linear Model & Classical Inference
The general linear model and Statistical Parametric Mapping
The General Linear Model
Statistical Inference
Design Matrix, General Linear Modelling, Contrasts and Inference
Statistical Inference
SPM short course at Yale – April 2005 Linear Models and Contrasts
Statistical Inference
The General Linear Model (GLM)
Contrasts & Statistical Inference
The General Linear Model
Statistical Parametric Mapping
The general linear model and Statistical Parametric Mapping
The General Linear Model
The General Linear Model (GLM)
Statistical Inference
Contrasts & Statistical Inference
The General Linear Model
The General Linear Model (GLM)
Statistical Inference
The General Linear Model
The General Linear Model
Contrasts & Statistical Inference
Presentation transcript:

fMRI Modelling & Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course Chicago, Oct 2015

Normalisation Statistical Parametric Map Image time-series Parameter estimates General Linear Model RealignmentSmoothing Design matrix Anatomical reference Spatial filter Statistical Inference RFT p <0.05

Passive word listening versus rest 7 cycles of rest and listening Blocks of 6 scans with 7 sec TR Stimulus function Example: Auditory block-design experiment time (seconds) BOLD response at [62,-28,10]

Time BOLD signal Time single voxel time series single voxel time series Voxel-wise time series analysis Model specification Model specification Parameter estimation Parameter estimation Hypothesis Statistic SPM

BOLD signal Time =  1 22 + + error x1x1 x2x2 e Single voxel regression model

Mass-univariate analysis: voxel-wise GLM = + y y X X Model is specified by 1.Design matrix X 2.Assumptions about e Model is specified by 1.Design matrix X 2.Assumptions about e N: number of scans p: number of regressors N: number of scans p: number of regressors The design matrix embodies all available knowledge about experimentally controlled factors and potential confounds.

one sample t-test two sample t-test paired t-test Analysis of Variance (ANOVA) Analysis of Covariance (ANCoVA) correlation linear regression multiple regression GLM: a flexible framework for parametric analyses

Parameter estimation = + Ordinary least squares estimation (OLS) (assuming i.i.d. error): Objective: estimate parameters to minimize y X

Problems of this model with fMRI time series 1.The BOLD response has a delayed and dispersed shape.

BOLD response: Convolution model expected BOLD response = input function  impulse response function (HRF) expected BOLD response = input function  impulse response function (HRF)  = Impulses Expected BOLD Linear time-invariant system: Hemodynamic response function (HRF)

Problem 1: BOLD response Solution: Convolution model

Convolution model of the BOLD response Convolve stimulus function with a canonical hemodynamic response function (HRF):  HRF

Brief Stimulus Informed Basis SetCanonical HRF Hemodynamic Response  Temporal Basis Set Canonical HRF Temporal derivative Dispersion derivative

Problems of this model with fMRI time series 1.The BOLD response has a delayed and dispersed shape. 2.The BOLD signal includes substantial amounts of low-frequency noise (eg due to scanner drift).

blue = data black = mean + low-frequency drift green = predicted response, taking into account low-frequency drift red = predicted response, NOT taking into account low-frequency drift Problem 2: Low-frequency noise Solution: High pass filtering discrete cosine transform (DCT) set

Problems of this model with fMRI time series 1.The BOLD response has a delayed and dispersed shape. 2.The BOLD signal includes substantial amounts of low-frequency noise (eg due to scanner drift). 3.Due to breathing, heartbeat & unmodeled neuronal activity, the errors are serially correlated. This violates the assumptions of the noise model in the GLM.

autocovariance function Problem 3: Serial correlations i.i.d:

Multiple covariance components = Q1Q1 Q2Q2 Estimation of hyperparameters with ReML (Restricted Maximum Likelihood). V enhanced noise model at voxel i error covariance components Q and hyperparameters 

A mass-univariate approach Time Summary

Estimation of the parameters noise assumptions: WLS: Summary

Normalisation Statistical Parametric Map Image time-series Parameter estimates General Linear Model RealignmentSmoothing Design matrix Anatomical reference Spatial filter Statistical Inference RFT p <0.05

Contrasts [ ] [ ]

Hypothesis Testing  Null Hypothesis H 0 Typically what we want to disprove (no effect).  The Alternative Hypothesis H A expresses outcome of interest. To test an hypothesis, we construct “test statistics”.  Test Statistic T The test statistic summarises evidence about H 0. Typically, test statistic is small in magnitude when the hypothesis H 0 is true and large when false.  We need to know the distribution of T under the null hypothesis. Null Distribution of T

Hypothesis Testing  p-value: A p-value summarises evidence against H 0. This is the chance of observing value more extreme than t under the null hypothesis. Null Distribution of T  Significance level α : Acceptable false positive rate α.  threshold u α Threshold u α controls the false positive rate t p-value Null Distribution of T  uu  Conclusion about the hypothesis: We reject the null hypothesis in favour of the alternative hypothesis if t > u α

c T = T = contrast of estimated parameters variance estimate Amplitude of cond 1 > 0 ? i.e.  1 = c T  > 0 ?  1  2  3  4  5... T-test - one dimensional contrasts – SPM{t} Question: Null hypothesis: H 0 : c T  = 0 Test statistic: HA:HA:

Scaling issue  The T-statistic does not depend on the scaling of the regressors. [ ] [1 1 1 ]  Be careful of the interpretation of the contrasts themselves (eg, for a second level analysis): sum ≠ average  The T-statistic does not depend on the scaling of the contrast. / 4 / 3 Subject 1 Subject 5  Contrast depends on scaling.

F-test - the extra-sum-of-squares principle  Model comparison: Null Hypothesis H 0 : True model is X 0 (reduced model) Full model ? X1X1 X0X0 or Reduced model? X0X0 Test statistic: ratio of explained variability and unexplained variability (error) 1 = rank(X) – rank(X 0 ) 2 = N – rank(X) RSS RSS 0

F-test - multidimensional contrasts – SPM{F}  Tests multiple linear hypotheses: c T = H 0 :  4 =  5 =  =  9 = 0 X 1 (  4-9 ) X0X0 Full model?Reduced model? H 0 : True model is X 0 X0X0 test H 0 : c T  = 0 ? SPM{F 6,322 }

F-test: summary.  F-tests can be viewed as testing for the additional variance explained by a larger model wrt a simpler (nested) model  model comparison.  In testing uni-dimensional contrast with an F-test, for example  1 –  2, the result will be the same as testing  2 –  1. It will be exactly the square of the t-test, testing for both positive and negative effects.  Hypotheses:

Orthogonal regressors Variability in Y

Correlated regressors Shared variance Variability in Y

Correlated regressors Variability in Y

Correlated regressors Variability in Y

Correlated regressors Variability in Y

Correlated regressors Variability in Y

Correlated regressors Variability in Y

Correlated regressors Variability in Y Orthogonalization of Regressors in fMRI Models, Mumford et al, PlosOne, 2015

Design orthogonality  For each pair of columns of the design matrix, the orthogonality matrix depicts the magnitude of the cosine of the angle between them, with the range 0 to 1 mapped from white to black.  If both vectors have zero mean then the cosine of the angle between the vectors is the same as the correlation between the two variates.

Design efficiency  The aim is to minimize the standard error of a t-contrast (i.e. the denominator of a t-statistic).  This is equivalent to maximizing the efficiency e: Noise variance Design variance  If we assume that the noise variance is independent of the specific design:  This is a relative measure: all we can really say is that one design is more efficient than another (for a given contrast).

Design efficiency AB A+B A-B  High correlation between regressors leads to low sensitivity to each regressor alone.  We can still estimate efficiently the difference between them.

Example: working memory  B: Jittering time between stimuli and response. Stimulus Response Stimulus Response Stimulus Response ABC Time (s) Correlation = -.65 Efficiency ([1 0]) = 29 Correlation = +.33 Efficiency ([1 0]) = 40 Correlation = -.24 Efficiency ([1 0]) = 47  C: Requiring a response on a randomly half of trials.

Normalisation Statistical Parametric Map Image time-series Parameter estimates General Linear Model RealignmentSmoothing Design matrix Anatomical reference Spatial filter Statistical Inference RFT p <0.05