Brain Mapping Unit The General Linear Model A Basic Introduction Roger Tait

Slides:



Advertisements
Similar presentations
General Linear Model L ύ cia Garrido and Marieke Schölvinck ICN.
Advertisements

General Linear Model Beatriz Calvo Davina Bristow.
2nd level analysis – design matrix, contrasts and inference
1 st Level Analysis: design matrix, contrasts, GLM Clare Palmer & Misun Kim Methods for Dummies
Basics of fMRI Group Analysis Douglas N. Greve. 2 fMRI Analysis Overview Higher Level GLM First Level GLM Analysis First Level GLM Analysis Subject 3.
The General Linear Model Or, What the Hell’s Going on During Estimation?
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Classical inference and design efficiency Zurich SPM Course 2014
Chapter 10 Simple Regression.
Ch. 14: The Multiple Regression Model building
Lorelei Howard and Nick Wright MfD 2008
Simple Linear Regression Analysis
Linear Algebra and Matrices
Statistical hypothesis testing – Inferential statistics II. Testing for associations.
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.
2nd Level Analysis Jennifer Marchant & Tessa Dekker
Simple Linear Regression
1 1 Slide © 2016 Cengage Learning. All Rights Reserved. The equation that describes how the dependent variable y is related to the independent variables.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #9 Jose M. Cruz Assistant Professor.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
General Linear Model & Classical Inference London, SPM-M/EEG course May 2014 C. Phillips, Cyclotron Research Centre, ULg, Belgium
Analysis of fMRI data with linear models Typical fMRI processing steps Image reconstruction Slice time correction Motion correction Temporal filtering.
FMRI Methods Lecture7 – Review: analyses & statistics.
Multivariate Analysis. One-way ANOVA Tests the difference in the means of 2 or more nominal groups Tests the difference in the means of 2 or more nominal.
Multiple Regression and Model Building Chapter 15 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Chapter 13 Multiple Regression
Linear Discriminant Analysis (LDA). Goal To classify observations into 2 or more groups based on k discriminant functions (Dependent variable Y is categorical.
General Linear Model.
ReCap Part II (Chapters 5,6,7) Data equations summarize pattern in data as a series of parameters (means, slopes). Frequency distributions, a key concept.
Methods for Dummies Second level Analysis (for fMRI) Chris Hardy, Alex Fellows Expert: Guillaume Flandin.
Statistical Analysis An Introduction to MRI Physics and Analysis Michael Jay Schillaci, PhD Monday, April 7 th, 2007.
Idiot's guide to... General Linear Model & fMRI Elliot Freeman, ICN. fMRI model, Linear Time Series, Design Matrices, Parameter estimation,
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.
Biostatistics Regression and Correlation Methods Class #10 April 4, 2000.
The general linear model and Statistical Parametric Mapping II: GLM for fMRI Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline.
29 October 2009 MRC CBU Graduate Statistics Lectures 4: GLM: The General Linear Model - ANOVA & ANCOVA1 MRC Cognition and Brain Sciences Unit Graduate.
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.
General Linear Model & Classical Inference
The general linear model and Statistical Parametric Mapping
The General Linear Model
Multiple Regression.
12 Inferential Analysis.
Simple Linear Regression - Introduction
CHAPTER 29: Multiple Regression*
and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline
Contrasts & Statistical Inference
The General Linear Model
Rachel Denison & Marsha Quallo
12 Inferential Analysis.
The general linear model and Statistical Parametric Mapping
The General Linear Model
Contrasts & Statistical Inference
Chapter 3 General Linear Model
MfD 04/12/18 Alice Accorroni – Elena Amoruso
The General Linear Model
The General Linear Model
The General Linear Model
Introduction to Regression
Linear Algebra and Matrices
Contrasts & Statistical Inference
Nazmus Saquib, PhD Head of Research Sulaiman AlRajhi Colleges
Presentation transcript:

Brain Mapping Unit The General Linear Model A Basic Introduction Roger Tait

Brain Mapping Unit Overview What is imaging data What is imaging data How is data pre-processed How is data pre-processed Hypothesis testing Hypothesis testing GLM: simple linear regression GLM: simple linear regression Analysis software Analysis software How to process results How to process results

Brain Mapping Unit What is imaging data?

Brain Mapping Unit DataStructuralfMRI A stack of numbers Functional

Brain Mapping Unit Multiple Data subjIDvoxel1voxel2voxel 3voxel 4……..voxel n

Brain Mapping Unit Reorientation Native MNI152 Reoriented

Basic pre-processing (fmri) omprage.nii obrain.nii worest.nii omrest.nii nomrest.nii wnomrest.nii

Brain Mapping Unit Basic pre-processing (structural) omprage.nii gmomprage.nii wgmomprage.nii

Brain Mapping Unit How does standard space data help?

Brain Mapping Unit Hypothesis testing Statistical inference is commonly done with a test statistic (t, F,   …) which has a distribution under H 0 mathematically derived. For example NB: this assumes that the errors are independent and normally distributed. 5% Parametric Null Distribution t t =    –   SE(    –   ) ^^ ^^

Brain Mapping Unit Introducing The GLM Y = X  +  DATA = MODEL + ERROR DATA = KNOWN * UNKNOWN + ERROR Encapsulates: t-test (paired, un-paired), F-test, ANOVA (one-way, two-way, main effects, factorial) MANOVA, ANCOVA, MANCOVA, simple regression, linear regression, multiple regression, multivariate regression…… Encapsulates: t-test (paired, un-paired), F-test, ANOVA (one-way, two-way, main effects, factorial) MANOVA, ANCOVA, MANCOVA, simple regression, linear regression, multiple regression, multivariate regression……

Brain Mapping Unit GLM definition Y = X  +  Where Y is a matrix with a series of observed measurements Where Y is a matrix with a series of observed measurements Where X is a matrix that might be a design matrix Where X is a matrix that might be a design matrix Where  is a matrix containing parameters to be estimated Where  is a matrix containing parameters to be estimated And  is a matrix containing error or noise And  is a matrix containing error or noise

Brain Mapping Unit GLM: Simple Linear Regression Y =    X 1   +  Y X   : is the Y axis intercept   : is the gradient of slope Y: the black circles  : diff between predicted Y and observed Y

Brain Mapping Unit GLM: Simple Linear Regression This is done by choosing   and   so that the sum of the squares of the estimated errors  i 2 is as small as possible. This is done by choosing   and   so that the sum of the squares of the estimated errors  i 2 is as small as possible. This is called the Method of Least Squares. This is called the Method of Least Squares.  i 2 is called the Residual Sum of Squares (RSS)  i 2 is called the Residual Sum of Squares (RSS) Y =    X 1   +  ^ ^

Brain Mapping Unit GLM example = mean reaction time + GENDER + AGE Y =    X 1    X 2    X 3    X 4   +  DATA = KNOWN * UNKNOWN + ERROR

Brain Mapping Unit Dummy Variables Continuous variables Continuous variables measurements on a continuous scale (age, mRT) measurements on a continuous scale (age, mRT) (-4.01, -0.47, 6.35, -7.06, -7.69, ) Dummy Variables Dummy Variables Code for group membership (disease, gender) Code for group membership (disease, gender) controls = 0, patients = 1 females = 1, males = -1

Brain Mapping Unit Usage Hypothesis tests with GLM can be multivariate or several independent univariate tests Hypothesis tests with GLM can be multivariate or several independent univariate tests In multivariate tests the columns of Y are tested together In multivariate tests the columns of Y are tested together In univariate tests the columns of Y are tested independently (multiple univariate tests with the same design matrix) In univariate tests the columns of Y are tested independently (multiple univariate tests with the same design matrix)

Brain Mapping Unit fMRI model specification silent naming task The model BOLD signal

Brain Mapping Unit Actual retrieved data

Brain Mapping Unit fmri analysis with FSL

Brain Mapping Unit Structural analysis with CamBA group sex weight

Brain Mapping Unit Structural analysis output

Brain Mapping Unit Where are my clusters? here is a big cluster

Brain Mapping Unit Where is the cluster I am interested in? position mouse cursor here cluster location information shown here

Brain Mapping Unit How do my clusters help me?

Brain Mapping Unit Statistical Testing Convert cluster into a binary mask Convert cluster into a binary mask Overlay mask on subject data Overlay mask on subject data Extract voxel intensities Extract voxel intensities Do some statistical analysis to get more information from your data Do some statistical analysis to get more information from your data

Brain Mapping Unit Correlation with behaviour p>0.05 close but cluster Pos_001 does not significantly correlate with behaviour HIT1 for cluster Pos_002

Brain Mapping Unit Other Analyses two-sample t-test one-sample t-test simple regression Difference between means different from 0 Linear relationship between 2 variables

Brain Mapping Unit What else can I do to find out more about my data?

Brain Mapping Unit Other types of analyses Factorial designs Factorial designs Permits analysis of multiple time data Permits analysis of multiple time data Shows Shows Main effects of Factor 1 (time) Main effects of Factor 1 (time) Main effects of Factor 2 (group) Main effects of Factor 2 (group) Interaction between Factor 1 and Factor 2 Interaction between Factor 1 and Factor 2

Brain Mapping Unit Useful software package CamBA – Cambridge CamBA – Cambridge  FSL Randomise – Oxford FSL Randomise – Oxford  SPM8 – UCL SPM8 – UCL 

Brain Mapping Unit In summary The GLM allows us to summarize a wide variety of research outcomes by specifying the exact equation that best summarizes the data for a study. If the model is wrongly specified, the estimates of the coefficients (the beta values) are likely to be biased (i.e. wrong) and the resulting equation will not describe the data accurately. The GLM allows us to summarize a wide variety of research outcomes by specifying the exact equation that best summarizes the data for a study. If the model is wrongly specified, the estimates of the coefficients (the beta values) are likely to be biased (i.e. wrong) and the resulting equation will not describe the data accurately. In complex situations (e.g. cognitive fMRI paradigms), this model specification problem can be a serious and difficult one In complex situations (e.g. cognitive fMRI paradigms), this model specification problem can be a serious and difficult one

Brain Mapping Unit Any questions?