Parametric modulation, temporal basis functions and correlated regressors Mkael Symmonds Antoinette Nicolle Methods for Dummies 21 st January 2008.

Slides:



Advertisements
Similar presentations
The SPM MfD course 12th Dec 2007 Elvina Chu
Advertisements

Basis Functions. What’s a basis ? Can be used to describe any point in space. e.g. the common Euclidian basis (x, y, z) forms a basis according to which.
General Linear Model L ύ cia Garrido and Marieke Schölvinck ICN.
Non-orthogonal regressors: concepts and consequences
1 st Level Analysis: design matrix, contrasts, GLM Clare Palmer & Misun Kim Methods for Dummies
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 
Experimental Design Rik Henson With thanks to: Karl Friston, Andrew Holmes Experimental Design Rik Henson With thanks to: Karl Friston, Andrew Holmes.
Outline What is ‘1st level analysis’? The Design matrix
Design matrix, contrasts and inference
The General Linear Model Or, What the Hell’s Going on During Estimation?
Classical inference and design efficiency Zurich SPM Course 2014
The General Linear Model (GLM)
1st level analysis: basis functions and correlated regressors
I NTRODUCTION The use of rapid event related designs is becoming more widespread in fMRI research. The most common method of modeling these events is by.
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.
1st Level Analysis Design Matrix, Contrasts & Inference
General Linear Model & Classical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM M/EEGCourse London, May.
Contrasts and Basis Functions Hugo Spiers Adam Liston.
With many thanks for slides & images to: FIL Methods group, Virginia Flanagin and Klaas Enno Stephan Dr. Frederike Petzschner Translational Neuromodeling.
Contrasts (a revision of t and F contrasts by a very dummyish Martha) & Basis Functions (by a much less dummyish Iroise!)
With a focus on task-based analysis and SPM12
General Linear Model & Classical Inference London, SPM-M/EEG course May 2014 C. Phillips, Cyclotron Research Centre, ULg, Belgium
SPM5 Tutorial Part 2 Tiffany Elliott May 10, 2007.
SPM short course – Oct Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Contrasts & Statistical Inference
The General Linear Model (for dummies…) Carmen Tur and Ashwani Jha 2009.
Temporal Basis Functions Melanie Boly Methods for Dummies 27 Jan 2010.
Event-related fMRI SPM course May 2015 Helen Barron Wellcome Trust Centre for Neuroimaging 12 Queen Square.
FMRI Modelling & Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course Chicago, Oct.
Idiot's guide to... General Linear Model & fMRI Elliot Freeman, ICN. fMRI model, Linear Time Series, Design Matrices, Parameter estimation,
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.
1 st level analysis: Design matrix, contrasts, and inference Stephane De Brito & Fiona McNabe.
The general linear model and Statistical Parametric Mapping I: Introduction to the GLM Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B.
SPM and (e)fMRI Christopher Benjamin. SPM Today: basics from eFMRI perspective. 1.Pre-processing 2.Modeling: Specification & general linear model 3.Inference:
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.
Original analyses All ROIs
Contrast and Inferences
General Linear Model & Classical Inference
The General Linear Model
2nd Level Analysis Methods for Dummies 2010/11 - 2nd Feb 2011
Design Matrix, General Linear Modelling, Contrasts and Inference
The General Linear Model (GLM): the marriage between linear systems and stats FFA.
SPM short course at Yale – April 2005 Linear Models and Contrasts
MfD 22/11/17 Kate Ledingham and Arabella Bird
and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline
Barbora Ondrejickova Methods for Dummies 23rd November 2016
The SPM MfD course 12th Dec 2007 Elvina Chu
The General Linear Model (GLM)
Sam Ereira Methods for Dummies 13th January 2016
Contrasts & Statistical Inference
The General Linear Model
Experimental Design Christian Ruff With thanks to: Rik Henson
The General Linear Model
The General Linear Model (GLM)
SPM short course – May 2009 Linear Models and Contrasts
Contrasts & Statistical Inference
Chapter 3 General Linear Model
MfD 04/12/18 Alice Accorroni – Elena Amoruso
The General Linear Model
The General Linear Model (GLM)
The General Linear Model
The General Linear Model
Contrasts & Statistical Inference
Presentation transcript:

Parametric modulation, temporal basis functions and correlated regressors Mkael Symmonds Antoinette Nicolle Methods for Dummies 21 st January 2008

Outline Parametric regressors: When are they useful? Parametric regressors: What do they mean? How to specify in SPM Linear and non-linear effects Correlations between regressors and orthogonalisation

Parametric Design vs Factorial Design Factorial design: –Experimental task has different factors that are independently manipulated. –Each factor may take several levels. –Events corresponding to each level of every factor are explicitly modelled by their own column in the design matrix. –Assumes that each cell of the design matrix is homogeneous and that stimuli differ only with regard to a single aspect across different levels of an experimental factor. –Can test for categorical or parametric effects and interactions by appropriate selection of contrasts to isolate one cognitive process at a time. ON / OFF, 2 LEVELS

Parametric Design vs Factorial Design Factorial design: –Experimental task has different factors that are independently manipulated. –Each factor may take several levels. –Events corresponding to each level of every factor are explicitly modelled by their own column in the design matrix. –Assumes that each cell of the design matrix is homogeneous and that stimuli differ only with regard to a single aspect across different levels of an experimental factor. –Can test for categorical or parametric effects and interactions by appropriate selection of contrasts to isolate one cognitive process at a time. 1,2,3,4,5 – MANY LEVELS OR CONTINUOUS

Parametric design: –Every factor or variable has its own column in the design matrix – corresponding to one (independent) stimulus dimension of interest. –Different levels of the factor, or the (continuous) variable are represented numerically within one column. –Complex stimuli with a number of stimulus dimensions can be modelled by a set of parametric regressors tied to the presentation of each stimulus (e.g. faces can be described in terms of attractiveness, masculinity, symmetry, etc). –This means that: 1. Statistical tests on the main effect of the condition (face presentation) will not be biased by variance within the condition due to systematic changes in the different stimulus dimensions  increase in power 2. Can look at the contribution of each stimulus dimension independently 3. Can test predictions about the direction and scaling of BOLD responses due to these different dimensions. Parametric Design vs Factorial Design

Example: Very simple motor task - Subject presses a button then rests. Repeats this four times, with an increasing level of force. Hypothesis: We will see a linear increase in activation in motor cortex as the force increases Model: Factorial - regressor for each level of force of button press Time (scans) Regressors: mean

Parametric Design vs Factorial Design Example: Very simple motor task - Subject presses a button then rests. Repeats this four times, with an increasing level of force. Hypothesis: We will see a linear increase in activation in motor cortex as the force increases Model: Factorial - regressor for each level of force of button press Time (scans) Regressors: mean Contrast: appropriate test to search for a linear increase?

Parametric Design vs Factorial Design Example: Very simple motor task - Subject presses a button then rests. Repeats this four times, with an increasing level of force. Hypothesis: We will see a linear increase in activation in motor cortex as the force increases Model: Factorial - regressor for each level of force of button press Time (scans) Regressors: mean Contrast: No – need to mean- correct to look for differences between regressors that can be accounted for by a model of linearly increasing activation

Parametric Design vs Factorial Design Example: Very simple motor task - Subject presses a button then rests. Repeats this four times, with an increasing level of force. Hypothesis: We will see a linear increase in activation in motor cortex as the force increases Model: Parametric - regressor for each level of force of button press Time (scans) Regressors: press force mean Contrast: 1 0 0Main effect of button pressing Time (scans)

Parametric Design vs Factorial Design Example: Very simple motor task - Subject presses a button then rests. Repeats this four times, with an increasing level of force. Hypothesis: We will see a linear increase in activation in motor cortex as the force increases Model: Parametric - regressor for each level of force of button press Time (scans) Regressors: press force mean Contrast: 0 1 0Linear effect of force Time (scans)

Parametric Design vs Factorial Design Example: Very simple motor task - Subject presses a button then rests. Repeats this four times, with an increasing level of force. Hypothesis: We will see a linear increase in activation in motor cortex as the force increases Model: Can look at non-linear parametric effects by adding in a column Contrast: Quadratic effect of force Time (scans) Regressors: press force (force) 2 mean

Parametric Design vs Factorial Design Factorial design: –OK for simple design with limited number of levels of each factor. –But need lots of regressors if many levels – hard to handle –If your variables of interest vary over a continuous range, it is better to model this as a regressor with continuous values Parametric design: –Good for designs with continuous variables where you want to perform a multiple-regression type of analysis –Correlated regressors can cause problems with interpretation. –Not as straightforward to look at interactions between factors

Specifying parametric regressors in SPM To look at higher-order effects

Parametric vs Factorial Design – a real example Correlation of presentation rate of spoken words with neural activity Randomly vary the rate of presentation of words between 10 and 90 words per min Categorisation of different forms of rate-dependent responses Buchel et al, Neuroimage 1998

Parametric vs Factorial Design – a real example Zeroth order – main effect of word presentation First order – linear effect of presentation rate Second order – quadratic effect of presentation rate Buchel et al, Neuroimage 1998 Demonstration of regionally specific word rate-dependent timecourses

Correlated Regressors

Example of correlated regressors Experiment: –Which areas of the brain are active in reward processing? –Subjects press a button to get a reward when they spot a red dot amongst green dots General Linear Model: Y = β 1 X 1 + β 2 X 2 + ε Y = BOLD response X1 = button press (movement) X2 = response to reward

Example of correlated regressors Question: Which areas of the brain are active in reward processing? The regressors are linearly dependent (temporally correlated - colinear), so variance attributable to an individual regressor (reward) may be confounded with another regressor (button press). As a result we don’t know which part of the BOLD response is explained by movement and which by response to getting a reward This may lead to misinterpretations of activations in certain brain areas –E.g. primary motor cortex involved in reward processing?? We can’t answer our question…..

How do I deal with it? Avoid the problem by careful design of your experiment. –Can use toolboxes “Design Magic” - Multicollinearity assessment for fMRI for SPM. URL: The only way you can avoid correlated regressors in a factorial design is to deliberately construct your experimental manipulations so that they are independent (orthogonal)

How do I deal with it? Avoid the problem by careful design of your experiment. –Can use toolboxes “Design Magic” - Multicollinearity assessment for fMRI for SPM. URL: You can check for colinearity/orthogonality in SPM

Imagine you are trying to explain data point y in terms of vector x1 How do I deal with it? x1x1 y y =  1 X 1  1 = 1.5

How do I deal with it? Adding in x2 changes the beta value of x1, as now x2 can explain some of the variance (a linear combination of x1 and x2 perfectly explain y) x1x1 x2x2 y y =  1 X 1 +  2 X 2  1 = 1  2 = 1 You have changed your inference about x1 by adding in another correlated regressor

How do I deal with it? x1x1 x2x2 x2*x2* y y =  1 X 1 +  2 *X 2 *  1 = 1.5  2 * = 1 To look at how much of y is purely explained by x1, need to ‘orthogonalise’ x2

How do I deal with it? x1x1 x2x2 x2*x2* y y =  1 X 1 +  2 *X 2 *  1 = 1.5  2 * = 1 SPM will automatically do serial orthogonalisation (note that this is only within each condition, so for each condition and its associated parametric modulators) We now have greater power to explain y in terms of x1 + x2 with no residual error – improves our conclusions about x1

Parametric regressors are orthogonalised from left to right in the design matrix automatically by SPM Order in which you put parametric modulators is important!!! Put the ‘most important’ modulators first (i.e. the ones whose meaning you don’t want to change) How do I deal with it?

Summary Use parametric modulators to investigate the effect of varying levels of a stimulus independently from the main effect of presenting the stimulus Can also look at non-linear effects Need to be aware of problems with inference due to correlated regressors Parametric modulators are serially orthogonalised in SPM

Thanks to… Rik Henson’s slides: Previous years’ Presentations –H Spiers, A Liston, H den Ouden, E Chu, and previous Additional references –‘Characterizing stimulus-response function using nonlinear regressors in parametric fMRI experiments’, Buchel et al, Neuroimage, 1998 –‘Using parametric regressors to disentangle properties of multi-feature processes’, Wood et al, Behavioural and Brain Functions, 2008

Temporal Basis Functions Methods for Dummies 21 st Jan 2009 Antoinette Nicolle

In linear algebra, a basis is used to describe a point in space. A basis function is the combining of a number of functions to describe a more complex function. What’s a basis function then…? Fourier analysis The complex wave at the top can be decomposed into the sum of the three simpler waves shown below. f(t)=h1(t)+h2(t)+h3(t) f(t) h1(t) h2(t) h3(t)

Temporal Basis Functions for fMRI In fMRI we need to describe a function of % signal change over time. There are various different basis sets that we could use to approximate the signal. Finite Impulse Response (FIR) Fourier

Temporal Basis Functions for fMRI Better though to use functions that make use of our knowledge of the shape of the HRF. One gamma function alone provides a reasonably good fit to the HRF. They are asymmetrical and can be set at different lags. –However they lack an undershoot. If we add two of them together we get the canonical HRF.

Fits of a boxcar epoch model with (red) and without (black) convolution by a canonical HRF, together with the data (blue). Temporal Basis Functions for fMRI

Limits of HRF General shape of the BOLD impulse response similar across early sensory regions, such as V1 and S1. Variability across higher cortical regions. Considerable variability across people. These types of variability can be accommodated by expanding the HRF in terms of temporal basis functions.

Canonical HRF (2 gamma functions) plus Multivariate Taylor expansion in: plus Multivariate Taylor expansion in: time (Temporal Derivative) width (Dispersion Derivative) The temporal derivative can model (small) differences in the latency of the peak response. The dispersion derivative can model (small) differences in the duration of the peak response. “Informed” Basis Set (Friston et al. 1998)

These plots show the haemodynamic response at a single voxel. The left plot shows the HRF as estimated using the simple model. Lack of fit is corrected, on the right using a more flexible model with basis functions. Comparison of the fitted response

Which temporal basis functions…?

Putting them into your design matrix Left Right Mean

Thanks to… Rik Henson’s slides: Previous years’ presenters’ slides Guillaume Flandin