General Linear Model & Classical Inference

Slides:



Advertisements
Similar presentations
1 st Level Analysis: design matrix, contrasts, GLM Clare Palmer & Misun Kim Methods for Dummies
Advertisements

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 
Classical inference and design efficiency Zurich SPM Course 2014
Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course Zurich, February 2009.
Classical (frequentist) inference Methods & models for fMRI data analysis in neuroeconomics April 2010 Klaas Enno Stephan Laboratory for Social and Neural.
Chapter Seventeen HYPOTHESIS TESTING
The General Linear Model (GLM)
Statistical Inference
Classical (frequentist) inference Methods & models for fMRI data analysis in neuroeconomics 14 October 2009 Klaas Enno Stephan Laboratory for Social and.
Classical (frequentist) inference Methods & models for fMRI data analysis 11 March 2009 Klaas Enno Stephan Laboratory for Social and Neural System Research.
Classical (frequentist) inference Methods & models for fMRI data analysis 22 October 2008 Klaas Enno Stephan Branco Weiss Laboratory (BWL) Institute for.
1st level analysis: basis functions and correlated regressors
Lorelei Howard and Nick Wright MfD 2008
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.
2nd Level Analysis Jennifer Marchant & Tessa Dekker
Regression and Correlation Methods Judy Zhong Ph.D.
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 Course Zurich, February 2015 Group Analyses Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London With many thanks to.
Classical (frequentist) inference Methods & models for fMRI data analysis November 2012 With many thanks for slides & images to: FIL Methods group Klaas.
SPM short course – Oct Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Methods for Dummies Random Field Theory Annika Lübbert & Marian Schneider.
Contrasts & Inference - EEG & MEG Himn Sabir 1. Topics 1 st level analysis 2 nd level analysis Space-Time SPMs Time-frequency analysis Conclusion 2.
FMRI GLM Analysis 7/15/2014Tuesday Yingying Wang
Wellcome Dept. of Imaging Neuroscience University College London
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Contrasts & Statistical Inference
1 Experimental Design, Contrasts & Inference - EEG & MEG Joseph Brooks (ICN) Maria Joao (FIL) Methods for Dummies 2007 Wellcome Department For Neuroimaging.
Methods for Dummies Second level Analysis (for fMRI) Chris Hardy, Alex Fellows Expert: Guillaume Flandin.
Statistical Inference Christophe Phillips SPM Course London, May 2012.
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 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.
Contrasts & Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course London, October 2008.
Variance components Wellcome Dept. of Imaging Neuroscience Institute of Neurology, UCL, London Stefan Kiebel.
The general linear model and Statistical Parametric Mapping II: GLM for fMRI Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
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
Statistical Inference
Design Matrix, General Linear Modelling, Contrasts and Inference
Statistical Inference
and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline
Statistical Inference
The General Linear Model (GLM)
Contrasts & Statistical Inference
The General Linear Model
I. Statistical Tests: Why do we use them? What do they involve?
The general linear model and Statistical Parametric Mapping
The General Linear Model
The General Linear Model (GLM)
Statistical Inference
Contrasts & Statistical Inference
The General Linear Model
Statistical Inference
The General Linear Model
The General Linear Model
Contrasts & Statistical Inference
Presentation transcript:

General Linear Model & Classical Inference Stefan Kiebel Max Planck Institute for Human Cognitive and Brain Sciences Leipzig, Germany

Overview Introduction General Linear Model ERP example Definition & design matrix Parameter estimation Hypothesis testing t-test and contrast F-test and contrast

Overview Introduction General Linear Model ERP example Definition & design matrix Parameter estimation Hypothesis testing t-test and contrast F-test and contrast

Inference & adjustment for multiple comparisons Overview of SPM Statistical Parametric Map (SPM) Raw EEG/MEG data Design matrix Pre-processing: Converting Filtering Resampling Re-referencing Epoching Artefact rejection Time-frequency transformation … General Linear Model Inference & adjustment for multiple comparisons Parameter estimates Image conversion Contrast: c’ = [-1 1]

Evoked response image Sensor to voxel transform Time Transform data for all subjects and conditions SPM: Analyze data at each voxel

Experimental design (conditions and repetitions, e.g. subjects) Types of images 2D topography Source reconstructed Time- Frequency Time Time Location Experimental design (conditions and repetitions, e.g. subjects)

ERP example – Single subject Random presentation of ‘faces’ and ‘scrambled faces’ 70 trials of each type 128 EEG channels Question: is there a difference between the ERP of ‘faces’ and ‘scrambled’?

compares size of effect to its error standard deviation ERP example: channel B9 Focus on N170 compares size of effect to its error standard deviation

Overview Introduction General Linear Model ERP example Definition & design matrix Parameter estimation Hypothesis testing t-test and contrast F-test and contrast

Data modeling = b1 + b2 +  = b2 b1 + X2 X1 Y • Error Data Faces Scrambled = b1 + b2 + Error  = b2 b1 + X2 X1 Y •

Design matrix b2 b1 = +  = b + X Y • Parameter vector Design matrix Data vector Design matrix Error vector b2 b1 = +  = b + X Y •

X + = Y General Linear Model GLM defined by design matrix X N: # trials p: # regressors GLM defined by design matrix X error distribution

General Linear Model The design matrix embodies available knowledge about experimentally controlled factors and potential confounds. Applied to each voxel Mass-univariate parametric analysis one sample t-test two sample t-test paired t-test Analysis of Variance (ANOVA) factorial designs linear regression multiple regression

Overview Introduction General Linear Model ERP example Definition & design matrix Parameter estimation Hypothesis testing t-test and contrast F-test and contrast

Ordinary Least Squares parameter estimate Parameter estimation b2 b1 = + Residuals: Assume iid. error: Ordinary Least Squares parameter estimate Estimate parameters such that minimal

Geometric perspective OLS estimates y Residual forming matrix R e x2 x1 Projection matrix P Design space defined by X

Overview Introduction General Linear Model ERP example Definition & design matrix Parameter estimation Hypothesis testing t-test and contrast F-test and contrast

Hypothesis Testing The Null Hypothesis H0 The Test Statistic T Typically what we want to disprove (i.e. no effect).  Alternative Hypothesis HA = outcome of interest. The Test Statistic T Summary statistic for which null distribution is known (under assumptions of general linear model) Observed t-statistic small in magnitude when H0 is true and large when false. Null Distribution of T

Hypothesis Testing Significance level α: u Acceptable false positive rate α.  threshold uα, controls the false positive rate Observation of test statistic t, a realisation of T  Conclusion about the hypothesis: reject H0 in favour of Ha if t > uα  p-value: summarises evidence against H0. = chance of observing value more extreme than t under H0. Null Distribution of T  u t p-value Null Distribution of T

Overview Introduction General Linear Model ERP example Definition & design matrix Parameter estimation Hypothesis testing t-test and contrast F-test and contrast

contrast of estimated parameters Contrast & t-test Contrast : specifies linear combination of parameter vector: SPM-t over time & space cT = -1 +1 ERP: faces < scrambled ? = Test H0: t = contrast of estimated parameters variance estimate

T-test: summary T-test = signal-to-noise measure (ratio of size of estimate to its standard deviation). T-statistic: NO dependency on scaling of the regressors or contrast T-contrasts = simple linear combinations of the betas

Adjustment for multiple comparisons Neural Correlates of Interspecies Perspective Taking in the Post-Mortem Atlantic Salmon: An Argument For Proper Multiple Comparisons Correction Bennett et al. (in press) Journal of Serendipitous and Unexpected Results Final sentence of paper: ‘While we must guard against the elimination of legitimate results through Type II error, the alternative of continuing forward with uncorrected statistics cannot be an option.’

Overview Introduction General Linear Model ERP example Definition & design matrix Parameter estimation Hypothesis testing t-test and contrast F-test and contrast

Extra-sum-of-squares & F-test Model comparison: Full vs. Reduced model? Null Hypothesis H0: True model is X0 (reduced model) X1 X0 Or reduced model? X0 Test statistic: ratio of explained and unexplained variability (error) RSS RSS0 1 = rank(X) – rank(X0) 2 = N – rank(X) Full model ?

F-test & multidimensional contrasts Tests multiple linear hypotheses: H0: True model is X0 0 0 1 0 0 0 0 1 cT = H0: b3 = b4 = 0 test H0 : cTb = 0 ? X0 X1 (b3-4) X0 Full or reduced model?

Typical analysis Evoked responses at sensor level: multiple subjects, multiple conditions Convert all data to images (pulldown menu ‚other‘) Use 2nd-level statistics, e.g. paired t-test or ANOVA if more than 2 conditions Alternatively: Compute contrast for each subject, e.g. taking a difference (pulldown menu ‚other‘) Use 1-sample t-test

Thanks to Chris and the methods group for the borrowed slides! Thank you Thanks to Chris and the methods group for the borrowed slides!