Contents. Introduction The General Linear Model. General Linear Linear Model Model. The General Linear Model, Part I. «Take home» message

Similar documents
The General Linear Model. Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London

Contents. design. Experimental design Introduction & recap Experimental design «Take home» message. N εˆ. DISCOS SPM course, CRC, Liège, 2009

The General Linear Model (GLM)

Contents. Data. Introduction & recap Variance components Hierarchical model RFX and summary statistics Variance/covariance matrix «Take home» message

Statistical Inference

Statistical Inference

Group analysis. Jean Daunizeau Wellcome Trust Centre for Neuroimaging University College London. SPM Course Edinburgh, April 2010

Jean-Baptiste Poline

Neuroimaging for Machine Learners Validation and inference

Group Analysis. Lexicon. Hierarchical models Mixed effect models Random effect (RFX) models Components of variance

The General Linear Model (GLM)

Extracting fmri features

The General Linear Model Ivo Dinov

Event-related fmri. Christian Ruff. Laboratory for Social and Neural Systems Research Department of Economics University of Zurich

Overview of SPM. Overview. Making the group inferences we want. Non-sphericity Beyond Ordinary Least Squares. Model estimation A word on power

The general linear model and Statistical Parametric Mapping I: Introduction to the GLM

Data Analysis I: Single Subject

Basic MRI physics and Functional MRI

Experimental design of fmri studies

Modelling temporal structure (in noise and signal)

Experimental design of fmri studies

Experimental design of fmri studies & Resting-State fmri

Experimental design of fmri studies

Mixed effects and Group Modeling for fmri data

Experimental design of fmri studies

Signal Processing for Functional Brain Imaging: General Linear Model (2)

Piotr Majer Risk Patterns and Correlated Brain Activities

What is NIRS? First-Level Statistical Models 5/18/18

Effective Connectivity & Dynamic Causal Modelling

Statistical inference for MEG

Dynamic Causal Modelling for fmri

Contrasts and Classical Inference

Introduction to MRI Acquisition

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS

Inferences for Regression

HST 583 FUNCTIONAL MAGNETIC RESONANCE IMAGING DATA ANALYSIS AND ACQUISITION A REVIEW OF STATISTICS FOR FMRI DATA ANALYSIS

Bayesian inference J. Daunizeau

22s:152 Applied Linear Regression. Chapter 8: 1-Way Analysis of Variance (ANOVA) 2-Way Analysis of Variance (ANOVA)

STA441: Spring Multiple Regression. This slide show is a free open source document. See the last slide for copyright information.

Correlation Analysis

EL-GY 6813/BE-GY 6203 Medical Imaging, Fall 2016 Final Exam

Bayesian inference J. Daunizeau

心智科學大型研究設備共同使用服務計畫身體 心靈與文化整合影像研究中心. fmri 教育講習課程 I. Hands-on (2 nd level) Group Analysis to Factorial Design

Optimization of Designs for fmri

Variational solution to hemodynamic and perfusion response estimation from ASL fmri data

Statistics for Managers using Microsoft Excel 6 th Edition

Ch 2: Simple Linear Regression

For GLM y = Xβ + e (1) where X is a N k design matrix and p(e) = N(0, σ 2 I N ), we can estimate the coefficients from the normal equations

Beyond Univariate Analyses: Multivariate Modeling of Functional Neuroimaging Data

A discussion on multiple regression models

Statistical Analysis Aspects of Resting State Functional Connectivity

Multilevel Models in Matrix Form. Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2

Test 3 Practice Test A. NOTE: Ignore Q10 (not covered)

Homework #2 Due date: 2/19/2013 (Tuesday) Translate the slice Two Main Paths in Lecture Part II: Neurophysiology and BOLD to words.

SMA 6304 / MIT / MIT Manufacturing Systems. Lecture 10: Data and Regression Analysis. Lecturer: Prof. Duane S. Boning

Chapter 16. Simple Linear Regression and Correlation

MIXED EFFECTS MODELS FOR TIME SERIES

Inference for Regression Inference about the Regression Model and Using the Regression Line, with Details. Section 10.1, 2, 3

Wellcome Trust Centre for Neuroimaging, UCL, UK.

Detecting fmri activation allowing for unknown latency of the hemodynamic response

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses.

Bayesian Analysis. Bayesian Analysis: Bayesian methods concern one s belief about θ. [Current Belief (Posterior)] (Prior Belief) x (Data) Outline

DATA IN SERIES AND TIME I. Several different techniques depending on data and what one wants to do

ROI analysis of pharmafmri data: an adaptive approach for global testing

Estimating σ 2. We can do simple prediction of Y and estimation of the mean of Y at any value of X.

Functional Causal Mediation Analysis with an Application to Brain Connectivity. Martin Lindquist Department of Biostatistics Johns Hopkins University

FIL. Event-related. fmri. Rik Henson. With thanks to: Karl Friston, Oliver Josephs

Multiple Linear Regression

Variance. Standard deviation VAR = = value. Unbiased SD = SD = 10/23/2011. Functional Connectivity Correlation and Regression.

EE290H F05. Spanos. Lecture 5: Comparison of Treatments and ANOVA

22s:152 Applied Linear Regression. 1-way ANOVA visual:

Statistical Analysis of fmrl Data

Multivariate Regression Generalized Likelihood Ratio Tests for FMRI Activation

Business Statistics. Chapter 14 Introduction to Linear Regression and Correlation Analysis QMIS 220. Dr. Mohammad Zainal

Outline. Superconducting magnet. Magnetic properties of blood. Physiology BOLD-MRI signal. Magnetic properties of blood

Functional Neuroimaging with PET

My data doesn t look like that..

Experimental Design. Rik Henson. With thanks to: Karl Friston, Andrew Holmes

Analysis of Variance (ANOVA)

1 The Classic Bivariate Least Squares Model

df=degrees of freedom = n - 1

R 2 and F -Tests and ANOVA

Chapter 16. Simple Linear Regression and dcorrelation

Inference with Simple Regression

Overview of Spatial Statistics with Applications to fmri

New Machine Learning Methods for Neuroimaging

1 Correlation and Inference from Regression

Inference for Regression Simple Linear Regression

Basic Business Statistics 6 th Edition

Peak Detection for Images

Model-free Functional Data Analysis

Estimation and Hypothesis Testing in LAV Regression with Autocorrelated Errors: Is Correction for Autocorrelation Helpful?

1. How can you tell if there is serial correlation? 2. AR to model serial correlation. 3. Ignoring serial correlation. 4. GLS. 5. Projects.

An unbiased estimator for the roughness of a multivariate Gaussian random field

Unit 12: Analysis of Single Factor Experiments

Appendix A: Review of the General Linear Model

Chapter 12 - Lecture 2 Inferences about regression coefficient

Machine Learning Linear Regression. Prof. Matteo Matteucci

Stat 412/512 REVIEW OF SIMPLE LINEAR REGRESSION. Jan Charlotte Wickham. stat512.cwick.co.nz

Chapter 27 Summary Inferences for Regression

Transcription:

DISCOS SPM course, CRC, Liège, 2009 Contents The General Linear Model, Part I Introduction The General Linear Model Data & model Design matrix Parameter estimates & interpretation Simple contrast «Take home» message C. Phillips, Centre de Recherches du Cyclotron, ULg, Belgium Based on slides from: JB. Poline image data parameter estimates Statistical Parametric Map corrected p-values parameter estimates Statistical Parametric Map realignment & motion correction General Linear Linear Model Model model model fitting fitting statistic statistic image image correction for for multiple comparisons General Linear Linear Model Model model model fitting fitting statistic statistic image image normalisation smoothing Random effect effectanalysis anatomical reference kernel design matrix Dynamic causal causal modelling, Functional & effective connectivity, PPI, PPI,...... Realigned, normalised, smoothed image data design matrix

General Linear Model General Linear Model What does it mean? General Linear Model What does it mean? General Linear The model can be The model uses used to answer a simple linear wide variety of relationships questions. between the variables. Model A set of equations are used to describe the data. Questions about the data can then be stated as mathematical expressions. GLM is is the basic model or general framework underlying the analysis of variance and multiple regression. SPM key concepts... a a voxel by voxel hypothesis testing approach reliably identify regions showing a significant experimental effect of interest Key concepts Type I error significance test at each voxel Parametric statistics parametric model for voxel data, test model parameters o exact prior anatomical hypothesis multiple comparisons? Functional neuroimaging signal metabolic change cerebral blood flow (CBF physiological effects blood oxygenation physical effects MR properties glucose and oxygen metabolism Blood oxygen-level dependent (BOLD signal - H 5 2 O PET neuronal activity FDG PET cerebral blood volume (CBV magnetic field uniformity (microscopic Decay time (T2* - opening/closing of ionic channels generation of microscopic current sources combination in space and time of the current sources - Measurable electromagnetic fields on/outside the head fmri (T2*-weighted image EEG/MEG Source: Doug oll s primer

Hemodynamic Response Function fmri/pet Setup % signal change = (point baseline/baseline usually 0.5-3% initial dip -more focal and potentially a better measure -somewhat elusive so far, not everyone can find it time to rise signal begins to rise soon after stimulus start time to peak signal peaks 4-6 sec after stimulus begins post stimulus undershoot signal suppressed after stimulation ends Contents Introduction The General Linear Model Data & model Design matrix Parameter estimates & interpretation Simple contrast «Take home» message A simple experiment Stimuli: passive word listening versus rest BOLD response in the primary auditory cortex

Looking at 2 individual scans Looking at 2 individual scans O-OFF, just one scan per condition Simple fmri example dataset: can we do better? Voxel by voxel statistics One One session, one one subject Passive word listening versus rest rest 7 cycles of of rest restand listening series seriesof of BOLD BOLD responses in in one one voxel voxel Test your hypothesis visually do it voxel by voxel Each epoch 6 scans with 7 sec sec TR TR Question: Is Isthere therea change in in the thebold response between listening and and rest? rest? Stimulus function single voxel time series statistic image or SPM

Why do we need stats? Clearly voxel surfing isn t t a viable option. We d d have to do it,000 of times and it would require a lot of subjective decisions about whether activation was real Statistics: tell us where to look for activation that is related to our paradigm help us decide how likely it is that activation is real Voxel by voxel statistics model specification parameter estimation hypothesis test statistic single voxel time series statistic image or SPM parametric Classical statistics parametric one sample t-testtest two sample t-testtest paired t-testtest Anova AnCova correlation linear regression multiple regression F-tests etc non-parametric parametric? all cases of the General Linear Model assume normality to account for serial correlations: Generalised Linear Model SnPM Statistics Formal statistics are just doing what your eyeball test of significance did Estimate how likely it is that the signal is real given how noisy the data is p p value = probability value of the null hypothesis. ull hypothesis = o activation! confidence: : how likely is it that the results could occur purely due to chance? If p p =.03,, that means there is a 3% chance that the results are bogus By convention, if the probability that a result could be due to chance is less than 5% (p <.05, we say that result is statistically significant Significance depends on signal (differences between conditions noise (other variability sample size (more time points are more convincing

e.g. two-sample t-test? test? t distribution voxel time series μ 0 μ t = μ μ 2 σ n n0 0 Depends on set of degrees of freedom! ν 95% 6.34 5 2.05 0.82 5.753 voxel intensity 20.725 Question: Is Isthere a change in in the thebold response between listening and and rest? standard t-test assumes independence ignores temporal autocorrelation! t-statistic image SPM{t} compares size of effect to its error standard deviation 30 50 00 Inf.697.676.660.645 Regression example Regression example = β β 2 error ε Ν(0, σ 2 Ι (error is normal and independently and identically distributed = β β 2 error ε Ν(0, σ 2 Ι (error is normal and independently and identically distributed x x 2 Question: Is Isthere a change in in the BOLD response between listening and rest? ε Hypothesis test: β = 0? (using t-statistic correlation: test H 0 : ρ = 0 equivalent to test H 0 : β = 0 x x 2 ε two-sample t-test: test H 0 : μ 0 = μ equivalent to test H 0 : β = 0

Regression example Model as basis functions Data Boxcar constant = β β 2 error stimulus function can accomodate BOLD response model can be extended to account for temporal autocorrelation! time = β β 2 Error x x 2 ε What s wrong with this model?. Stimulus function is not expecting BOLD response 2. Data is serially correlated X 2 = β X β 2 ε time Data vector Design Matrix Design Matrix Parameter vector β = Error vector General Linear Model p = Xβ ε = X β p ε This Thisisisfor fora SIGLE voxel!! Design matrix X is isthe thesame for for ALL ALL voxels!! β 2 = X β ε : : number of of scans scans p: p: number of of regressors Model is isspecified by by.. Design matrix X 2. 2. Assumptions about ε

General Linear Model fmri time series:,, s,, acquired at times t,,t s s,,t Model: Linear combination of basis functions Model: Linear combination of basis functions β l l s = β f (t s β l f l (t s β L f L (t s ε s f l l (.: basis functions reference waveforms dummy variables parameters (fixed effects amplitudes of basis functions (regression slopes β l l : parameters (fixed effects ε (0,σ s : residual errors: ε s ~ 2 identically distributed independent, or serially correlated (Generalised Linear Model GLM Parameter estimation = Xβ ε ˆ β = ˆ β2 X Estimate parameters such that that t= ˆε 2 t εˆ minimal ˆ ε = X ˆ β residuals Assume iid iiderror ˆ β = ( X X T X T Least squares parameter estimate Mass univariate approach Design Matrix and contrast K p K = X p K βˆ β = β 2 = Xβ ε εˆ = X β ε Question: Is Isthere a change Hypothesis test: in in the BOLD response β = 0? between listening and rest? (using t-statistic

Model contrasts SPM{t} t distribution Contrast : specifies linear combination of parameter vector: c β c = 0 box-car amplitude > 0? = β > 0? (β : estimation of β = xβ 0xβ 2 > 0? = test H 0 : c β > 0? SPM{t} Depends on set of degrees of freedom! ν 5 0 5 20 95% 6.34 2.05.82.753.725 contrast of estimated parameters T = variance estimate T = c β s 2 c (X X X c 30 50 00 Inf.697.676.660.645 = X β ε How is this computed? (t-test test Estimation [, X] [b, s] β= = (X X X X (β = estimation of e = - X β (e = ε ~ σ 2 (0,I ( : at one position estimation of β beta??? images e = estimation of ε s 2 = (e e/(n( e/(n - p (s s = estimation of σ, n: scans,, p: parameters image ResMS Test [b, s 2, c] [c b, t] Var(c β = s 2 c (X X X c compute for each contrast c t = c c β / sqrt(s 2 c (X X X c c β images spm_con??? compute the t images images spm_t??? under the null hypothesis under the null hypothesis H 0 : t ~ Student( df df = n-pn Example: a line through 3 points simple linear regression i = β x i β 2 ε i i =,2,3 = β x β 2 ε 2 = β x 2 β 2 ε 2 3 = β x 3 β 2 ε 3 x β ε 2 = x 2 ε 2 3 x 3 β 2 ε 3 = X β ε dummy variables β 2 (x, (x 2, 2 (x 2, 2 (x, parameter estimates β & β 2 fitted values, 2, 3 residuals e, e 2, e 3 (x 3, 3 (x 3, 3 x β

= Geometrical perspective x β ε 2 = x 2 ε 2 3 x 3 β 2 ε 3 (, 2, 3 β X β 2 X 2 ε = Geometrical perspective x β ε 2 = x 2 ε 2 3 x 3 β 2 ε 3 (, 2, 3 β X β 2 X 2 ε (0,0, X (x, x 2, x 3 (0,0, X (x, x 2, x 3 O (,0,0 (0,,0 X 2 (,, O (,0,0 (0,,0 X 2 (,, design space Estimation, geometrically Estimation, geometrically Question: Does X explain anything? (, 2, 3 e = (e,e 2,e 3 T Model: i = β X β 2 X 2 ε i test the null hypothesis: e.g. H 0 : β = 0 (zero slope i.e. (zero slope does X explain anything? (, 2, 3 e = (e,e 2,e 3 T (after X 2 X β2 X 2 β X (, 2, 3 X β2 X 2 β X (, 2, 3 X 2 design space X 2 design space

Contents Why modelling? Introduction The General Linear Model Data & model Design matrix Parameter estimates & interpretation Simple contrast «Take home» message Why? How? Model? Make inferences about effects of of interest.. Decompose data into intoeffects and and error 2. 2. Form statistic using estimates of of effects and and error data data Use Useany anyavailable knowledge Stimulus function model model effects estimate error error estimate Contrast: e.g. e.g. [ [- -]] statistic Way to proceed Prepare your questions. ALL the questions! Find a model which allows contrasts that translates these questions. takes into account ALL the effects (interaction, sessions,etc Devise task & stimulus presentation. Acquire the data & analyse. ot the other way round!!!