MfD 04/12/18 Alice Accorroni – Elena Amoruso

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.
General Linear Model Beatriz Calvo Davina Bristow.
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 
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?
The General Linear Model (GLM)
1st level analysis: basis functions and correlated regressors
Parametric modulation, temporal basis functions and correlated regressors Mkael Symmonds Antoinette Nicolle Methods for Dummies 21 st January 2008.
Methods for Dummies General Linear Model
1st Level Analysis Design Matrix, Contrasts & Inference
The General Linear Model
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!)
Brain Mapping Unit The General Linear Model A Basic Introduction Roger Tait
Analysis of fMRI data with linear models Typical fMRI processing steps Image reconstruction Slice time correction Motion correction Temporal filtering.
SPM short course – Oct Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Methods for Dummies Overview and Introduction
The General Linear Model (for dummies…) Carmen Tur and Ashwani Jha 2009.
Temporal Basis Functions Melanie Boly Methods for Dummies 27 Jan 2010.
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.
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
The General Linear Model …a talk for dummies
The General Linear Model (GLM)
Group Analyses Guillaume Flandin SPM Course London, October 2016
The General Linear Model (GLM)
Contrast and Inferences
General Linear Model & Classical Inference
The general linear model and Statistical Parametric Mapping
The General Linear Model
2nd Level Analysis Methods for Dummies 2010/11 - 2nd Feb 2011
Statistical Inference
Design Matrix, General Linear Modelling, Contrasts and Inference
A very dumb dummy thinks about modelling, contrasts, and basis functions. ?
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
Experimental Design in Functional Neuroimaging
The General Linear Model
Experimental Design Christian Ruff With thanks to: Rik Henson
The General Linear Model
The General Linear Model (GLM)
Contrasts & Statistical Inference
Chapter 3 General Linear Model
The General Linear Model
The General Linear Model (GLM)
Probabilistic Modelling of Brain Imaging Data
The General Linear Model
The General Linear Model
Linear Algebra and Matrices
Contrasts & Statistical Inference
Presentation transcript:

MfD 04/12/18 Alice Accorroni – Elena Amoruso fMRI 1st Level Analysis: Basis functions, parametric modulation and correlated regression MfD 04/12/18 Alice Accorroni – Elena Amoruso

Statistical Inference Overview Preprocessing Data Analysis Spatial filter Design matrix Statistical Parametric Map Realignment Smoothing General Linear Model Statistical Inference RFT Normalisation p <0.05 Anatomical reference Parameter estimates

Estimation (1st level) Group Analysis (2nd level)

The GLM and its assumptions Neural activity function is correct HRF is correct Linear time-invariant system

The GLM and its assumptions HRF is correct

The GLM and its assumptions Gamma functions 2 Gamma functions added

The GLM and its assumptions HRF is correct

The GLM and its assumptions Neural activity function is correct HRF is correct Linear time-invariant system Aguirre, Zarahn and D’Esposito, 1998; Buckner, 2003; Wager, Hernandez, Jonides and Lindquist, 2007a;

Brain region differences in BOLD +

Brain region differences in BOLD + Aversive Stimulus

Brain region differences in BOLD Sommerfield et al 2006

Temporal basis functions

Temporal basis functions

Temporal basis functions: FIR

Temporal basis functions

Temporal basis functions

Temporal basis functions Canonical HRF HRF + derivatives Finite Impulse Response

Temporal basis functions Canonical HRF HRF + derivatives Finite Impulse Response

Temporal basis functions

What is the best basis set?

What is the best basis set?

Correlated Regressors

Regression analysis Regression analysis examines the relation of a dependent variable Y to a specified independent variables X: Y = a + bX if the model fits the data well: R2 is high (reflects the proportion of variance in Y explained by the regressor X) the corresponding p value will be low

Multiple Regression Multiple regression characterises the relationship between several independent variables (or regressors), X1, X2, X3 etc, and a single dependent variable, Y: Y = β1X1 + β2X2 +…..+ βLXL + ε The X variables are combined linearly and each has its own regression coefficient β (weight) βs reflect the independent contribution of each regressor, X, to the value of the dependent variable, Y i.e. the proportion of the variance in Y accounted for by each regressor after all other regressors are accounted for

Multicollinearity Multiple regression results are sometimes difficult to interpret: the overall p value of a fitted model is very low i.e. the model fits the data well but individual p values for the regressors are high i.e. none of the X variables has a significant impact on predicting Y. How is this possible? Caused when two (or more) regressors are highly correlated: problem known as multicollinearity

Multicollinearity Are correlated regressors a problem? No when you want to predict Y from X1 and X2 Because R2 and p will be correct Yes when you want assess impact of individual regressors Because individual p values can be misleading: a p value can be high, even though the variable is important

Multicollinearity - Example Question: how can the perceived clarity of a auditory stimulus be predicted from the loudness and frequency of that stimulus? Perception experiment in which subjects had to judge the clarity of an auditory stimulus. Model to be fit: Y = β1X1 + β2X2 + ε Y = judged clarity of stimulus X1 = loudness X2 = frequency

Regression analysis: multicollinearity example What happens when X1 (frequency) and X2 (loudness) are collinear, i.e., strongly correlated? Correlation loudness & frequency : 0.945 (p<0.000) High loudness values correspond to high frequency values FREQUENCY

Contribution of individual predictors (simple regression): Regression analysis: multicollinearity example Contribution of individual predictors (simple regression): X1 (loudness) is entered as sole predictor: Y = 0.859X1 + 24.41 R2 = 0.74 (74% explained variance in Y) p < 0.000 X2 (frequency) entered as sole predictor: Y = 0.824X1 + 26.94 R2 = 0.68 (68% explained variance in Y) p < 0.000

Collinear regressors X1 and X2 entered together (multiple regression): Resulting model: Y = 0.756X1 + 0.551X2 + 26.94 R2 = 0.74 (74% explained variance in Y) p < 0.000 Individual regressors: X1 (loudness): R2 = 0.850 , p < 0.000 X2 (frequency): R2 = 0.555, p < 0.594

GLM and Correlated Regressors The General Linear Model can be seen as an extension of multiple regression (or multiple regression is just a simple form of the General Linear Model): Multiple Regression only looks at one Y variable GLM allows you to analyse several Y variables in a linear combination (time series in voxel) ANOVA, t-test, F-test, etc. are also forms of the GLM

Y = X . β + ε General Linear Model and fMRI Observed data Y is the BOLD signal at various time points at a single voxel Design matrix Several components which explain the observed data Y: Different stimuli Movement regressors Parameters Define the contribution of each component of the design matrix to the value of Y Error/residual Difference between the observed data, Y, and that predicted by the model, Xβ.

fMRI Collinearity If the regressors are linearly dependent the results of the GLM are not easy to interpret Experiment: Which areas of the brain are active in visual movement processing? Subjects press a button when a shape on the screen suddenly moves Model to be fit: Y = β1X1 + β2X2 + ε Y = BOLD response X1 = visual component X2 = motor response

How do I deal with it? Ortogonalization y = 1X1 + 2*X2 * 1 = 1.5 2 * = 1 y x2 x2* x1

How do I deal with it? Experimental Design Carefully design your experiment! When sequential scheme of predictors (stimulus – response) is inevitable: inject jittered delay (see B) use a probabilistic R1-R2 sequence (see C)) Orthogonalizing might lead to self-fulfilling prophecies (MRC CBU Cambridge, http://imaging.mrc-cbu.cam.ac.uk/imaging/DesignEfficiency)

Parametric Modulations

Types of experimental design Categorical - comparing the activity between stimulus types Factorial - combining two or more factors within a task and looking at the effect of one factor on the response to other factor Parametric - exploring systematic changes in BOLD signal according to some performance attributes of the task (difficulty levels, increasing sensory input, drug doses, etc)

Parametric Design Complex stimuli with a number of stimulus dimensions can be modelled by a set of parametric modulators tied to the presentation of each stimulus. This means that: Can look at the contribution of each stimulus dimension independently Can test predictions about the direction and scaling of BOLD responses due to these different dimensions (e.g., linear or non linear activation).

Parametric Modulation 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 Contrast: 0 1 0 Linear effect of force Time (scans) Regressors: press force mean  

Parametric Modulation 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 Contrast: 0 0 1 0 Quadratic effect of force Time (scans) Regressors: press force (force)2 mean Time (scans)

Thanks to… Rik Henson’s slides: www.mrc-cbu.cam.ac.uk/Imaging/Common/rikSPM-GLM.ppt Previous years’ presenters’ slides Guillaume Flandin