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.

Slides:



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

2nd level analysis – design matrix, contrasts and inference
General Linear Model L ύ cia Garrido and Marieke Schölvinck ICN.
General Linear Model Beatriz Calvo Davina Bristow.
1st level analysis - Design matrix, contrasts & inference
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
FMRI Design & Efficiency Patricia Lockwood & Rumana Chowdhury MFD – Wednesday 12 th 2011.
The General Linear Model Or, What the Hell’s Going on During Estimation?
1 Temporal Processing Chris Rorden Temporal Processing can reduce error in our model –Slice Time Correction –Temporal Autocorrelation –High and low pass.
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.
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.
Lorelei Howard and Nick Wright MfD 2008
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.
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!)
SPM5 Tutorial Part 2 Tiffany Elliott May 10, 2007.
FMRI Methods Lecture7 – Review: analyses & statistics.
SPM short course – Oct Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Contrasts & Statistical Inference
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.
Ch. 5 Bayesian Treatment of Neuroimaging Data Will Penny and Karl Friston Ch. 5 Bayesian Treatment of Neuroimaging Data Will Penny and Karl Friston 18.
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.
Original analyses All ROIs
The General Linear Model (GLM)
Contrast and Inferences
The general linear model and Statistical Parametric Mapping
The General Linear Model
A very dumb dummy thinks about modelling, contrasts, and basis functions. ?
The General Linear Model (GLM): the marriage between linear systems and stats FFA.
Event-related fMRI demo
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
The general linear model and Statistical Parametric Mapping
The General Linear Model
The General Linear Model (GLM)
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
Predictive Neural Coding of Reward Preference Involves Dissociable Responses in Human Ventral Midbrain and Ventral Striatum  John P. O'Doherty, Tony W.
The General Linear Model
Contrasts & Statistical Inference
Presentation transcript:

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 you can describe a point by its coordinate on each axis. x y 4 2 i j i v = 4 i + 2 j More precisely, the vector going from the origin to that point is equal to a weighted sum of the units vectors of the axes.

In fMRI instead of describing a point you want to describe a curve or function (% signal change in function of time) by decomposing it in simpler functions. If you use only one function you have a limited power to describe the % signal change variations, so it’s better to use a number of functions, which constitutes a set of basis functions. That’s why SPM offers different sets of basis functions to model the % signal change variations. 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) Basis functions

Linear combination of the basis functions can capture any shape of response up to a specified timescale. Finite Impulse Response (FIR)Fourier The most general are the finite impulse response (A) and Fourier (B) basis sets, which make minimal assumptions about the shape of the response. Basis functions offered by SPM

One popular choice is the gamma function, which has been shown to provide a reasonably good fit to the impulse response, although it lacks an undershoot. The set used in SPM is more parsimonious in that fewer functions are required to capture the typical range of impulse responses than are required by the Fourier or FIR sets, reducing the degrees of freedom used in the design matrix and allowing more powerful statistical tests. Gamma function More parsimonious basis sets make various assumptions about the shape of the HRF.

Canonical haemodynamic response function (HRF) Typical BOLD response to an impulse stimulation. The response peaks approximately 5 sec after stimulation, and is followed by an undershoot (at high magnetic files, an initial undershoot can sometimes be observed).

Neural signal convolved with a canonical HRF to produce the predicted BOLD signal.

Fits of a boxcar epoch model with (red) and without (black) convolution by a canonical HRF, together with the data.

Residuals after fits of models with and without HRF convolution. Large systematic errors for model without HRF convolution (black) at onset of each block.

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 regions, presumably due mainly to variations in the vasculature of different regions. - Considerable variability across people. These types of variability can be accommodated by expanding the HRF in terms of temporal basis functions.

Canonical HRF and its derivatives Canonical HRF Temporal derivative Dispersion derivative The canonical HRF is a “typical” BOLD impulse response characterised by two gamma functions, one modelling the peak and one modelling the undershoot. To allow variations about the canonical form, the partial derivatives of the canonical HRF with respect to, for example, its peak delay and dispersion parameters can be added as further basis functions. The temporal derivative can capture differences in the latency of the peak response. The dispersion derivative can capture differences in the duration of the peak response.

Contrast Design Matrix for analysing two event- related conditions (left or right motor responses) versus an implicit baseline. [1 -1 0] [ ] SPM-F image corresponding to the overall difference (positive or negative) from the left and right responses. SPM-t image corresponding to the overall difference between the left and right responses. Left Right Mean

In the previous design matrix, the onset times where convolved with the canonical haemodynamic response function (HRF) to form the two regressors on the left. Design matrix with canonical HRF only.

Design matrix with canonical HRF + 2 derivatives. This is the same model as before, but 3 regressors are used to model each condition. The three basis functions are the canonical HRF and its derivatives with respect to time and dispersion. Left RightMean

First, test for all regressors modelling this response using a F contrast. This contrast tests for each line against the null hypothesis that the parameter is zero. Because the parameters are tested against zero, one would have to reconstruct the fitted data and check the positive or negative aspects of the response. [ ] For this new model, how do we test the effects of, for instance, the right motor response ?

This shows the F-contrast used to test the overall difference (across basis functions) between the left and right responses. Multiplying the coefficients by -1 doesn’t change anything. [ ] SPM-F image corresponding to the overall difference between the left and right responses. Very similar to the one obtained earlier. How do we test for overall difference bw right and left responses ?

These plots show the haemodynamic response at a single voxel (the maxima of the previous SPM-F map). The left plot shows the HRF as estimated using the simple model and demonstrates a certain lack of fit. This lack of fit is corrected, on the right, using the more flexible model with basis functions. Comparison of the fitted response

Temporal Basis Functions

Temporal Basis Sets: Which One? + FIR+ Dispersion+ TemporalCanonical …canonical + temporal + dispersion derivatives appear sufficient …may not be for more complex trials (eg stimulus-delay-response) In this example (rapid motor response to faces, Henson et al, 2001)…