Statistical Inference

Slides:



Advertisements
Similar presentations
The General Linear Model (GLM)
Advertisements

SPM – introduction & orientation introduction to the SPM software and resources introduction to the SPM software and resources.
Overview of SPM p <0.05 Statistical parametric map (SPM)
The General Linear Model Christophe Phillips Cyclotron Research Centre University of Liège, Belgium SPM Short Course London, May 2011.
SPM Course Zurich, February 2012 Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London.
SPM 2002 Experimental Design Daniel Glaser Institute of Cognitive Neuroscience, UCL Slides from: Rik Henson, Christian Buchel, Karl Friston, Chris Frith,
SPM Software & Resources Wellcome Trust Centre for Neuroimaging University College London SPM Course London, May 2011.
SPM Software & Resources Wellcome Trust Centre for Neuroimaging University College London SPM Course London, October 2008.
SPM for EEG/MEG Guillaume Flandin
Event-related fMRI (er-fMRI)
Wellcome Centre for Neuroimaging at UCL
Group Analyses Guillaume Flandin SPM Course Zurich, February 2014
Group analysis Kherif Ferath Wellcome Trust Centre for Neuroimaging University College London SPM Course London, Oct 2010.
1st level analysis: basis functions, parametric modulation and correlated regressors. 1 st of February 2012 Sylvia Kreutzer Max-Philipp Stenner Methods.
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 Methods & models for fMRI data analysis in neuroeconomics April 2010 Klaas Enno Stephan Laboratory for Social and Neural.
Bayesian models for fMRI data
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 
Experimental design of fMRI studies SPM Course 2012 Sandra Iglesias Translational Neuromodeling Unit University of Zurich & ETH Zurich With many thanks.
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.
The General Linear Model (GLM)
Statistical Inference
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.
Multiple comparison correction Methods & models for fMRI data analysis 29 October 2008 Klaas Enno Stephan Branco Weiss Laboratory (BWL) Institute for Empirical.
Introduction to SPM SPM fMRI Course London, May 2012 Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London.
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.
Introduction to SPM Batching
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.
SPM short course – Oct Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Contrasts & Statistical Inference
SPM Software & Resources Wellcome Trust Centre for Neuroimaging University College London SPM Course London, October 2009.
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.
The General Linear Model
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.
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 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
SPM Software & Resources
General Linear Model & Classical Inference
The General Linear Model
Statistical Inference
Statistical Inference
SPM short course at Yale – April 2005 Linear Models and Contrasts
Wellcome Trust Centre for Neuroimaging University College London
Statistical Inference
Keith Worsley Keith Worsley
The General Linear Model (GLM)
Contrasts & Statistical Inference
The General Linear Model
Statistical Parametric Mapping
The General Linear Model
The General Linear Model (GLM)
Statistical Inference
Statistical Parametric Mapping
Contrasts & Statistical Inference
The General Linear Model
Statistical Inference
The General Linear Model
The General Linear Model
Contrasts & Statistical Inference
Presentation transcript:

Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course London, May 2010

Statistical Inference Image time-series Spatial filter Design matrix Statistical Parametric Map Realignment Smoothing General Linear Model Statistical Inference RFT Normalisation p <0.05 Anatomical reference Parameter estimates

Voxel-wise time series analysis Model specification Parameter estimation Hypothesis Statistic Time Time BOLD signal single voxel time series SPM

Overview Model specification and parameters estimation Hypothesis testing Contrasts T-tests F-tests Contrast estimability Correlation between regressors Example(s) Design efficiency

Model Specification: The General Linear Model   = + y Sphericity assumption: Independent and identically distributed (i.i.d.) error terms   N: number of scans, p: number of regressors

Parameter Estimation: Ordinary Least Squares Find that minimises The Ordinary Least Estimates are: Under i.i.d. assumptions, the Ordinary Least Squares estimates are Maximum Likelihood.

Hypothesis Testing To test an hypothesis, we construct “test statistics”. The Null Hypothesis H0 Typically what we want to disprove (no effect).  The Alternative Hypothesis HA expresses outcome of interest. The Test Statistic T The test statistic summarises evidence about H0. Typically, test statistic is small in magnitude when the hypothesis H0 is true and large when false.  We need to know the distribution of T under the null hypothesis. Null Distribution of T

Hypothesis Testing u t Significance level α: Acceptable false positive rate α.  threshold uα Threshold uα controls the false positive rate  Observation of test statistic t, a realisation of T Null Distribution of T The conclusion about the hypothesis: We reject the null hypothesis in favour of the alternative hypothesis if t > uα t P-value: A p-value summarises evidence against H0. This is the chance of observing value more extreme than t under the null hypothesis. P-val Null Distribution of T

cTβ = 0xb1 + -1xb2 + 1xb3 + 0xb4 + 0xb5 + . . . Contrasts We are usually not interested in the whole β vector. A contrast selects a specific effect of interest:  a contrast c is a vector of length p.  cTβ is a linear combination of regression coefficients β. cT = [1 0 0 0 0 …] cTβ = 1xb1 + 0xb2 + 0xb3 + 0xb4 + 0xb5 + . . . cT = [0 -1 1 0 0 …] cTβ = 0xb1 + -1xb2 + 1xb3 + 0xb4 + 0xb5 + . . . Under i.i.d assumptions:

T-test - one dimensional contrasts – SPM{t} Question: box-car amplitude > 0 ? = b1 = cTb> 0 ? cT = 1 0 0 0 0 0 0 0 b1 b2 b3 b4 b5 ... Null hypothesis: H0: cTb=0 T = contrast of estimated parameters variance estimate Test statistic:

T-contrast in SPM For a given contrast c: ResMS image beta_???? images con_???? image spmT_???? image SPM{t}

T-test: a simple example Passive word listening versus rest cT = [ 1 0 ] Q: activation during listening ? Design matrix 0.5 1 1.5 2 2.5 10 20 30 40 50 60 70 80 Null hypothesis: SPMresults: Height threshold T = 3.2057 {p<0.001} voxel-level p uncorrected T ( Z º ) mm mm mm 13.94 Inf 0.000 -63 -27 15 12.04 -48 -33 12 11.82 -66 -21 6 13.72 57 -21 12 12.29 63 -12 -3 9.89 7.83 57 -39 6 7.39 6.36 36 -30 -15 6.84 5.99 51 0 48 5.65 -63 -54 -3 6.19 5.53 -30 -33 -18 5.96 5.36 36 -27 9 5.84 5.27 -45 42 9 5.44 4.97 48 27 24 5.32 4.87 36 -27 42 Statistics: p-values adjusted for search volume set-level c p cluster-level corrected uncorrected k E voxel-level FWE-corr FDR-corr T ( Z º ) mm mm mm 0.000 10 520 13.94 Inf -63 -27 15 12.04 -48 -33 12 11.82 -66 -21 6 426 13.72 57 -21 12 12.29 63 -12 -3 9.89 7.83 57 -39 6 35 7.39 6.36 36 -30 -15 9 6.84 5.99 51 0 48 0.002 3 0.024 0.001 5.65 -63 -54 -3 8 6.19 5.53 -30 -33 -18 0.003 5.96 5.36 36 -27 9 0.005 2 0.058 0.004 5.84 5.27 -45 42 9 0.015 1 0.166 0.022 5.44 4.97 48 27 24 0.036 5.32 4.87 36 -27 42

T-test: a few remarks T-test is a signal-to-noise measure (ratio of estimate to standard deviation of estimate). T-contrasts are simple combinations of the betas; the T-statistic does not depend on the scaling of the regressors or the scaling of the contrast. H0: vs HA: Unilateral test:

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

F-test - multidimensional contrasts – SPM{F} Tests multiple linear hypotheses: H0: True model is X0 H0: b4 = b5 = ... = b9 = 0 test H0 : cTb = 0 ? SPM{F6,322} X0 X1 (b4-9) X0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 cT = Full model? Reduced model?

F-contrast in SPM ( RSS0 - RSS ) For a given contrast c: ResMS image beta_???? images ess_???? images spmF_???? images ( RSS0 - RSS ) SPM{F}

F-test example: movement-related effects

Multidimensional contrasts Think of it as constructing 3 regressors from the 3 differences and complement this new design matrix such that data can be fitted in the same exact way (same error, same fitted data).

F-test: a few remarks F-tests can be viewed as testing for the additional variance explained by a larger model wrt a simpler (nested) model  Model comparison. F tests a weighted sum of squares of one or several combinations of the regression coefficients b. In practice, we don’t have to explicitly separate X into [X1X2] thanks to multidimensional contrasts. Hypotheses: In testing uni-dimensional contrast with an F-test, for example b1 – b2, the result will be the same as testing b2 – b1. It will be exactly the square of the t-test, testing for both positive and negative effects.

Estimability of a contrast parameters images Factor 1 2 Mean parameter estimability (gray ® b not uniquely specified) If X is not of full rank then we can have Xb1 = Xb2 with b1≠ b2 (different parameters). The parameters are not therefore ‘unique’, ‘identifiable’ or ‘estimable’. For such models, XTX is not invertible so we must resort to generalised inverses (SPM uses the pseudo-inverse). One-way ANOVA (unpaired two-sample t-test) 1 0 1 0 1 1 Rank(X)=2 [1 0 0], [0 1 0], [0 0 1] are not estimable.

Design orthogonality For each pair of columns of the design matrix, the orthogonality matrix depicts the magnitude of the cosine of the angle between them, with the range 0 to 1 mapped from white to black. The cosine of the angle between two vectors a and b is obtained by: If both vectors have zero mean then the cosine of the angle between the vectors is the same as the correlation between the two variates.

Shared variance Orthogonal regressors.

Shared variance Testing for the green: Correlated regressors, for example: green: subject age yellow: subject score

Shared variance Testing for the red: Correlated regressors.

Shared variance Testing for the green: Highly correlated. Entirely correlated non estimable

Shared variance Testing for the green and yellow If significant, can be G and/or Y Examples

A few remarks We implicitly test for an additional effect only, be careful if there is correlation Orthogonalisation = decorrelation : not generally needed Parameters and test on the non modified regressor change It is always simpler to have orthogonal regressors and therefore designs. In case of correlation, use F-tests to see the overall significance. There is generally no way to decide to which regressor the « common » part should be attributed to. Original regressors may not matter: it’s the contrast you are testing which should be as decorrelated as possible from the rest of the design matrix

Design efficiency The aim is to minimize the standard error of a t-contrast (i.e. the denominator of a t-statistic). This is equivalent to maximizing the efficiency e: Noise variance Design variance If we assume that the noise variance is independent of the specific design: This is a relative measure: all we can really say is that one design is more efficient than another (for a given contrast).

Design efficiency The efficiency of an estimator is a measure of how reliable it is and depends on error variance (the variance not modeled by explanatory variables in the design matrix) and the design variance (a function of the explanatory variables and the contrast tested). XTX represents covariance of regressors in design matrix; high covariance increases elements of (XTX)-1. High correlation between regressors leads to low sensitivity to each regressor alone. cT=[1 0]: 5.26 cT=[1 1]: 20 cT=[1 -1]: 1.05

Bibliography: Statistical Parametric Mapping: The Analysis of Functional Brain Images. Elsevier, 2007. Plane Answers to Complex Questions: The Theory of Linear Models. R. Christensen, Springer, 1996. Statistical parametric maps in functional imaging: a general linear approach. K.J. Friston et al, Human Brain Mapping, 1995. Ambiguous results in functional neuroimaging data analysis due to covariate correlation. A. Andrade et al., NeuroImage, 1999. Estimating efficiency a priori: a comparison of blocked and randomized designs. A. Mechelli et al., NeuroImage, 2003. With many thanks to J.-B. Poline, Tom Nichols, S. Kiebel, R. Henson for slides.