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.

Slides:



Advertisements
Similar presentations
2nd level analysis in fMRI
Advertisements

Camilla Clark, Catherine Slattery
General Linear Model L ύ cia Garrido and Marieke Schölvinck ICN.
2nd level analysis – design matrix, contrasts and inference
Statistical Signal Processing for fMRI
Basics of fMRI Preprocessing Douglas N. Greve
Classical inference and design efficiency Zurich SPM Course 2014
Group analyses of fMRI data Methods & models for fMRI data analysis 28 April 2009 Klaas Enno Stephan Laboratory for Social and 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.
General Linear Model & Classical Inference
Lecture 5 Correlation and Regression
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
Methods for Dummies Second level analysis
Basics of fMRI Inference Douglas N. Greve. Overview Inference False Positives and False Negatives Problem of Multiple Comparisons Bonferroni Correction.
Brain Mapping Unit The General Linear Model A Basic Introduction Roger Tait
7/16/2014Wednesday Yingying Wang
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.
SPM Course Zurich, February 2015 Group Analyses Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London With many thanks to.
FMRI Methods Lecture7 – Review: analyses & statistics.
Why N’ How (I forgot the title) Donald G. McLaren, Ph.D. Department of Neurology, MGH/HMS GRECC, ERNM Veteran’s Hospital
Corinne Introduction/Overview & Examples (behavioral) Giorgia functional Brain Imaging Examples, Fixed Effects Analysis vs. Random Effects Analysis Models.
Group analyses of fMRI data Methods & models for fMRI data analysis November 2012 With many thanks for slides & images to: FIL Methods group, particularly.
Basics of fMRI Time-Series Analysis Douglas N. Greve.
Wellcome Dept. of Imaging Neuroscience University College London
Contrasts & Statistical Inference
Function-Structure Integration in FreeSurfer surfer.nmr.mgh.harvard.edu/docs/ftp/pub/docs/freesurfer.func.pdf.
Multi session analysis using FEAT David Field Thanks to…. Tom Johnstone, Jason Gledhill, FMRIB.
1 Time Series Analysis of fMRI II: Noise, Inference, and Model Error Douglas N. Greve
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,
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.
Group Analysis ‘Ōiwi Parker Jones SPM Course, London May 2015.
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.
Group Analyses Guillaume Flandin SPM Course London, October 2016
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
Function-Structure Integration in FreeSurfer
Wellcome Trust Centre for Neuroimaging University College London
Introduction to Permutation for Neuroimaging HST
Seed-based Resting State fMRI Analysis in FreeSurfer
Wellcome Trust Centre for Neuroimaging University College London
and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline
The General Linear Model (GLM)
Methods for Dummies Second-level Analysis (for fMRI)
Contrasts & Statistical Inference
Seed-based Resting State fMRI Analysis in FreeSurfer
The General Linear Model
Linear Hierarchical Modelling
The general linear model and Statistical Parametric Mapping
The General Linear Model
Basics of fMRI Analysis: Preprocessing, First-Level Analysis, and Group Analysis thanks to doug greve for designing this talk and making these slides!
The General Linear Model (GLM)
Contrasts & Statistical Inference
The General Linear Model
The General Linear Model
Contrasts & Statistical Inference
Wellcome Trust Centre for Neuroimaging University College London
Presentation transcript:

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 First Level GLM Analysis Subject 4 First Level GLM Analysis Subject 1 Subject 2 CX CX CX CX Preprocessing MC, STC, B0 Smoothing Normalization Preprocessing MC, STC, B0 Smoothing Normalization Preprocessing MC, STC, B0 Smoothing Normalization Preprocessing MC, STC, B0 Smoothing Normalization Raw Data CX

3 Overview Population vs Sample First-Level (Time-Series) Analysis Review Types of Group Analysis –Random Effects, Mixed Effects, Fixed Effects Multi-Level General Linear Model (GLM) Examples (One Group, Two Groups, Covariates) Longitudinal

4 Population vs Sample Group Population (All members) Hundreds? Thousands? Billions? Sample 18 Subjects Do you want to draw inferences beyond your sample? Does sample represent entire population? Random Draw?

5 Functional Anatomy/Brain Mapping

6 Visual/Auditory/Motor Activation Paradigm 15 sec ‘ON’, 15 sec ‘OFF’ Flickering Checkerboard Auditory Tone Finger Tapping

7 Block Design: 15s Off, 15s On

8 Contrasts and Inference p = , sig=-log10(p) =11 p =.10, sig=-log10(p) =1 Note: z, t, F monotonic with p

9 Matrix Model y = X *   Task  base Data from one voxel Design Matrix Regressors = Vector of Regression Coefficients (“Betas”) Design Matrix Observations Contrast Matrix: C = [1 0] Contrast = C*  =  Task

10 Contrasts and the Full Model

11 Statistical Parametric Map (SPM) +3% 0% -3% Contrast Amplitude CON, COPE, CES Contrast Amplitude Variance (Error Bars) VARCOPE, CESVAR Significance t-Map (p,z,F) (Thresholded p<.01) sig=-log10(p) “Massive Univariate Analysis” -- Analyze each voxel separately

12 Is Pattern Repeatable Across Subject? Subject 1Subject 2Subject 3Subject 4Subject 5

13 Spatial Normalization Subject 1 Subject 2 Subject 1 Subject 2 MNI305 Native SpaceMNI305 Space Affine (12 DOF) Registration

14 Group Analysis Does not have to be all positive!

15 “Random Effects (RFx)” Analysis RFx

16 “Random Effects (RFx)” Analysis RFx Model Subjects as a Random Effect Variance comes from a single source: variance across subjects –Mean at the population mean –Variance of the population variance Does not take first-level noise into account (assumes 0) “Ordinary” Least Squares (OLS) Usually less activation than individuals Sometimes more

17 “Mixed Effects (MFx)” Analysis MFx RFx Down-weight each subject based on variance. Weighted Least Squares vs (“Ordinary” LS)

18 “Mixed Effects (MFx)” Analysis MFx Down-weight each subject based on variance. Weighted Least Squares vs (“Ordinary” LS) Protects against unequal variances across group or groups (“heteroskedasticity”) May increase or decrease significance with respect to simple Random Effects More complicated to compute “Pseudo-MFx” – simply weight by first-level variance (easy to compute)

19 “Fixed Effects (FFx)” Analysis FFx RFx

20 “Fixed Effects (FFx)” Analysis FFx As if all subjects treated as a single subject (fixed effect) Small error bars (with respect to RFx) Large DOF Same mean as RFx Huge areas of activation Not generalizable beyond sample.

21 Multi-Level Analysis First Level (Time-Series) GLM Design Matrix (X) Contrast Matrix (C) Contrast Size ( Signed) Contrast Variance p/t/F/z Raw Data at a Voxel Visualize Higher Level ROI Volume Not recommended. Noisy.

22 Higher Level GLM First Level C Contrast Size 1 Subject 1 First Level C Contrast Size 2 Subject 2 First Level C Contrast Size 3 Subject 3 First Level C Contrast Size 4 Subject 4 Multi-Level Analysis

23 Higher Level GLM Analysis = GG y = X *  Data from one voxel Design Matrix (Regressors) Vector of Regression Coefficients (“Betas”) Observations (Low-Level Contrasts) Contrast Matrix: C = [1] Contrast = C*  =  G One-Sample Group Mean (OSGM)

24 Two Groups GLM Analysis =  G1  G2 y = X *  Data from one voxel Observations (Low-Level Contrasts)

25 Contrasts: Two Groups GLM Analysis 1. Does Group 1 by itself differ from 0? C = [1 0], Contrast = C*  =  G1 =  G1  G Does Group 2 by itself differ from 0? C = [0 1], Contrast = C*  =  G2 3. Does Group 1 differ from Group 2? C = [1 -1], Contrast = C*  =  G1 -  G2 4. Does either Group 1 or Group 2 differ from 0? C has two rows: F-test (vs t-test) Concatenation of contrasts #1 and # C =

26 One Group, One Covariate (Age) =  G  Age y = X *  Data from one voxel Observations (Low-Level Contrasts) Intercept:  G Slope:  Age Contrast Age

27 Contrasts: One Group, One Covariate 1.Does Group offset/intercept differ from 0? Does Group mean differ from 0 regressing out age? C = [1 0], Contrast = C*  =  G (Treat age as nuisance) =  G  Age Does Slope differ from 0? C = [0 1], Contrast = C*  =  Age Intercept:  G Slope:  Age Contrast Age

28 Two Groups, One Covariate Somewhat more complicated design Slopes may differ between the groups What are you interested in? Differences between intercepts? Ie, treat covariate as a nuisance? Differences between slopes? Ie, an interaction between group and covariate?

29 Two Groups, One (Nuisance) Covariate Is there a difference between the group means? Synthetic Data

30 Raw DataEffect of Age Means After Age “Regressed Out” (Intercept, Age=0) No difference between groups Groups are not well matched for age No group effect after accounting for age Age is a “nuisance” variable (but important!) Slope with respect to Age is same across groups Two Groups, One (Nuisance) Covariate

31 =  G1  G2  Age y = X *  Data from one voxel Observations (Low-Level Contrasts) Two Groups, One (Nuisance) Covariate One regressor for Age. Different Offset Same Slope (DOSS)

32 =  G1  G2  Age Two Groups, One (Nuisance) Covariate One regressor for Age indicates that groups have same slope – makes difference between group means/intercepts independent of age. Different Offset Same Slope (DOSS)

33 Contrasts: Two Groups + Covariate 1. Does Group 1 mean differ from 0 (after regressing out effect of age)? C = [1 0 0], Contrast = C*  =  G1 2. Does Group 2 mean differ from 0 (after regressing out effect of age)? C = [0 1 0], Contrast = C*  =  G2 3. Does Group 1 mean differ from Group 2 mean (after regressing out effect of age)? C = [1 -1 0], Contrast = C*  =  G1 -  G2 =  G1  G2  Age

34 =  G1  G2  Age Does Slope differ from 0 (after regressing out the effect of group)? Does not have to be a “nuisance”! C = [0 0 1], Contrast = C*  =  Age Contrasts: Two Groups + Covariate

35 Slope with respect to Age differs between groups Interaction between Group and Age Intercept different as well Group/Covariate Interaction

36 =  G1  G2  Age1  Age2 y = X *  Data from one voxel Observations (Low-Level Contrasts) Group-by-Age Interaction Different Offset Different Slope (DODS) Group/Covariate Interaction

37 1.Does Slope differ between groups? Is there an interaction between group and age? C = [ ], Contrast = C*  =  Age1 -  Age1 Group/Covariate Interaction =  G1  G2  Age1  Age

38 Group/Covariate Interaction =  G1  G2  Age1  Age Does this contrast make sense? 2. Does Group 1 mean differ from Group 2 mean (after regressing out effect of age)? C = [ ], Contrast = C*  =  G1 -  G2 Very tricky! This tests for difference at Age=0 What about Age = 12? What about Age = 20?

39 Group/Covariate Interaction If you are interested in the difference between the means but you are concerned there could be a difference (interaction) in the slopes: 1.Analyze with interaction model (DODS) 2.Test for a difference in slopes 3.If there is no difference, re-analyze with single regressor model (DOSS) 4.If there is a difference, proceed with caution

40 Interaction between Condition and Group Example: Two First-Level Conditions: Angry and Neutral Faces Two Groups: Healthy and Schizophrenia Desired Contrast = (Neutral-Angry) Sch - (Neutral-Angry) Healthy Two-level approach 1.Create First Level Contrast (Neutral-Angry) 2.Second Level: Create Design with Two Groups Test for a Group Difference

41 Longitudinal Visit 1 Visit 2 Subject 1Subject 2Subject 3Subject 4Subject 5

42 Longitudinal Did something change between visits? Drug or Behavioral Intervention? Training? Disease Progression? Aging? Injury? Scanner Upgrade?

43 Longitudinal Paired Differences Between Subjects Subject 1, Visit 1 Subject 1, Visit 2

44 Longitudinal Paired Analysis = VV y = X *  Paired Diffs from one voxel Design Matrix (Regressors) Observations (V1-V2 Differences in Low-Level Contrasts) Contrast Matrix: C = [1] Contrast = C*  =   V One-Sample Group Mean (OSGM): Paired t-Test

45 fMRI Analysis Overview Higher Level GLM First Level GLM Analysis First Level GLM Analysis Subject 3 First Level GLM Analysis Subject 4 First Level GLM Analysis Subject 1 Subject 2 CX CX CX CX Preprocessing MC, STC, B0 Smoothing Normalization Preprocessing MC, STC, B0 Smoothing Normalization Preprocessing MC, STC, B0 Smoothing Normalization Preprocessing MC, STC, B0 Smoothing Normalization Raw Data CX

46 Summary Higher Level uses Lower Level Results –Contrast and Variance of Contrast Variance Models –Random Effects –Mixed Effects – protects against heteroskedasticity –Fixed Effects – cannot generalize beyond sample Groups and Covariates (Intercepts and Slopes) Covariate/Group Interactions Longitudinal – Paired Differences

47