General Linear Model and fMRI Rachel Denison & Marsha Quallo Methods for Dummies 2007.

Slides:



Advertisements
Similar presentations
2nd level analysis – design matrix, contrasts and inference
Advertisements

General Linear Model L ύ cia Garrido and Marieke Schölvinck ICN.
General Linear Model Beatriz Calvo Davina Bristow.
Topic 12: Multiple Linear Regression
1 st Level Analysis: design matrix, contrasts, GLM Clare Palmer & Misun Kim Methods for Dummies
Experimental design of fMRI studies SPM Course 2014 Sandra Iglesias Translational Neuromodeling Unit University of Zurich & ETH Zurich With many thanks.
Experimental design of fMRI studies SPM Course 2012 Sandra Iglesias Translational Neuromodeling Unit University of Zurich & ETH Zurich With many thanks.
Outline What is ‘1st level analysis’? The Design matrix
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) 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.
Group analyses of fMRI data Methods & models for fMRI data analysis 26 November 2008 Klaas Enno Stephan Laboratory for Social and Neural Systems Research.
Lorelei Howard and Nick Wright MfD 2008
Linear Algebra and Matrices
1st Level Analysis Design Matrix, Contrasts & Inference
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.
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.
Brain Mapping Unit The General Linear Model A Basic Introduction Roger Tait
General Linear Model & Classical Inference London, SPM-M/EEG course May 2014 C. Phillips, Cyclotron Research Centre, ULg, Belgium
SPM short course – Oct Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
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.
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.
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.
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.
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.
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 …a talk for dummies
The General Linear Model (GLM)
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
The General Linear Model (GLM): the marriage between linear systems and stats FFA.
and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline
The SPM MfD course 12th Dec 2007 Elvina Chu
The General Linear Model (GLM)
Contrasts & Statistical Inference
The General Linear Model
Rachel Denison & Marsha Quallo
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
The General Linear Model
Linear Algebra and Matrices
Contrasts & Statistical Inference
Presentation transcript:

General Linear Model and fMRI Rachel Denison & Marsha Quallo Methods for Dummies 2007

Did the experiment work ? Did the experimental manipulation affect brain activity? A simple experiment: Passive Listening vs. Rest time -- 6 scans per block

The General Linear Model Observed data = Predictors (EVs) * Parameters + Error y = Xβ + ε i.e. fMRI pixel valuesAlso called the design matrix. How much each EVcontributes to the observed data Residuals not explained by the model NNN = + X β ε y = + X β ε y 111P P

y: Activity of a single voxel over time time BOLD signal y1y2yNy1y2yN = y … One voxel at a time: Mass Univariate y = Xβ + ε

X in context = + x1x1 β ε y x2x2 x3x3 Observed data = EVs * Parameters + Error Design Matrix

X in context = + x1x1 β1β2β3β1β2β3 ε y x2x2 x3x3 Observed data = EVs * Parameters + Error

X in context = + x1x1 *β1*β1 ε y x2x2 x3x3 + *β2*β2 + *β3*β3 A linear combination of the Explanatory Variables (EVs) y 1 = x 11 *β 1 + x 12 *β 2 + x 13 *β 3 + ε 1

X: The Design Matrix time x1x1 -- On Off Off On Conditions Use ‘dummy codes’ to label different levels of an experimental factor (eg. On = 1, Off = 0). β is effect size. y = Xβ + ε

X: The Design Matrix Covariates Parametric variation of a single variable (eg. Task difficulty = 1-6) or measured values of a variable (eg. Movement). β is regression slope. x3x3 x1x1 Parametric and factorial predictors in the same model! y = Xβ + ε x2x2

X: The Design Matrix Constant Variable eg. Always = 1 Models the baseline activity y = Xβ + ε x2x2 x1x1

X: The Design Matrix The design matrix should include everything that might explain the data. Subjects Global activity or movement Conditions: Effects of interest More complete models make for lower residual error, better stats, and better estimates of the effects of interest.

Summary y = Xβ + ε So far… If you like these slides … Past MfD presentations (esp. Elliot Freeman, 2005); past FIL SPM Short Course presentations (esp. Klaas Enno Stephan, 2007); Human Brain Function v2

General Linear Model: Part 2 Marsha Quallo

Content Parameters Error Parameter Estimation Hemodynamic Response Function T-Tests and F-Tests

Parameters y= Xβ + ε β: defines the contribution of each component of the design matrix to the value of y The best estimate of β will minimise ε

Parameter Estimation ≈ β1∙β1∙+ β 2 ∙+ β 3 ∙ Listening Reading Rest Guessing

Parameter Estimation ≈ β1∙β1∙+ β 2 ∙+ β 3 ∙ Listening Reading Rest Guessing

Parameter Estimation ≈ β1∙β1∙+ β 2 ∙+ β 3 ∙ Listening Reading Rest Fit to minimize Mean Square Error (MSE)

General Linear Model Minimization of Mean Square Error (MSE) y= Xβ + ε ε = y- Xβ Differentiating and setting result to zero leads β =(X T X) -1 X t y If X is a square nonsingular matrix the β =X -1 y (Called the pseudoinverse solution) (Not for fMRI)

Hemodynamic response function Original Convolved BRF Original Convolved

T-Test A contrast vector is used to select conditions for comparison C2 [1 -1 0] C1 [1 0 0] cβ cβ ~  Var(cβ) ~ T = C1 x β = (1 x β x β x β 3 ) C2 x β = (1 x β 1 -1 x β x β 3 )

Neuroimaging Data Using the General Linear Model (GLM©Karl) Jesper Andersson KI, Stockholm & BRU, Helsinki Functional MRI: an introduction to methods. Jezzard, P; Matthews, PM; Smith, SM