Linear Hierarchical Modelling

Slides:



Advertisements
Similar presentations
J. Daunizeau Institute of Empirical Research in Economics, Zurich, Switzerland Brain and Spine Institute, Paris, France Bayesian inference.
Advertisements

Bayesian inference Lee Harrison York Neuroimaging Centre 01 / 05 / 2009.
Group analyses Wellcome Dept. of Imaging Neuroscience University College London Will Penny.
Hierarchical Models and
Camilla Clark, Catherine Slattery
2nd level analysis – design matrix, contrasts and inference
Group analysis Kherif Ferath Wellcome Trust Centre for Neuroimaging University College London SPM Course London, Oct 2010.
Sampling: Final and Initial Sample Size Determination
Group analyses of fMRI data Methods & models for fMRI data analysis in neuroeconomics November 2010 Klaas Enno Stephan Laboratory for Social and Neural.
Group analyses Wellcome Dept. of Imaging Neuroscience University College London Will Penny.
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.
1 Overview of Hierarchical Modeling Thomas Nichols, Ph.D. Assistant Professor Department of Biostatistics Mixed Effects.
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
Methods for Dummies Second level analysis
7/16/2014Wednesday Yingying Wang
SPM Course Zurich, February 2015 Group Analyses Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London With many thanks to.
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.
Wellcome Dept. of Imaging Neuroscience University College London
Methods for Dummies Second level Analysis (for fMRI) Chris Hardy, Alex Fellows Expert: Guillaume Flandin.
FMRI Modelling & Statistical Inference Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course Chicago, Oct.
The General Linear Model Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM fMRI Course London, May 2012.
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.
Bayesian inference Lee Harrison York Neuroimaging Centre 23 / 10 / 2009.
Variance components Wellcome Dept. of Imaging Neuroscience Institute of Neurology, UCL, London Stefan Kiebel.
Bayesian Inference in SPM2 Will Penny K. Friston, J. Ashburner, J.-B. Poline, R. Henson, S. Kiebel, D. Glaser Wellcome Department of Imaging Neuroscience,
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.
General Linear Model & Classical Inference London, SPM-M/EEG course May 2016 Sven Bestmann, Sobell Department, Institute of Neurology, UCL
Sampling and Sampling Distributions
Group Analyses Guillaume Flandin SPM Course London, October 2016
The general linear model and Statistical Parametric Mapping
Ch3: Model Building through Regression
The General Linear Model
Linear Mixed Models in JMP Pro
Wellcome Trust Centre for Neuroimaging University College London
Parameter, Statistic and Random Samples
Simple Linear Regression - Introduction
Random Effects Analysis
Group analyses Thanks to Will Penny for slides and content
CONCEPTS OF ESTIMATION
Wellcome Trust Centre for Neuroimaging University College London
The General Linear Model (GLM)
Methods for Dummies Second-level Analysis (for fMRI)
'Linear Hierarchical Models'
Wellcome Dept. of Imaging Neuroscience University College London
The General Linear Model
Group analyses Thanks to Will Penny for slides and content
The general linear model and Statistical Parametric Mapping
SPM2: Modelling and Inference
The General Linear Model
Hierarchical Models and
The General Linear Model (GLM)
Wellcome Dept. of Imaging Neuroscience University College London
Bayesian inference J. Daunizeau
Bayesian Inference in SPM2
Wellcome Trust Centre for Neuroimaging University College London
Linear Hierarchical Models
The General Linear Model
WellcomeTrust Centre for Neuroimaging University College London
The General Linear Model
Wellcome Dept. of Imaging Neuroscience University College London
The General Linear Model
Wellcome Dept. of Imaging Neuroscience University College London
Wellcome Trust Centre for Neuroimaging University College London
Presentation transcript:

Linear Hierarchical Modelling Hierarchical models are central to many of the current analyses for functional imaging data in SPM2 This includes: Random effects analysis Bayesian modelling Dynamic Causal Modelling Models using fMRI as priors for EEG source location

A Two Level Hierarchical Model Y = X(1)(1) + e(1) (1st level) – within subject : (1) = X(2)(2) + e(2) (2nd level) – between subject Y = scans from all subjects X(n) = design matrix at nth level (n) = parameters - basically the s of the GLM (but becomes  in hierarchical model – to confuse me!!!!!!!) e(n) = N(m,2) error we assume there is a Gaussian distribution with a mean (m) and variation (2)

Squiggly line!! squiggly line!! Hierarchical form Squiggly line!! squiggly line!! Where are the donuts?? 1st level y = X(1) (1) +  (1) 2nd level (1) = X(2) (2) +  (2)

Hierarchical models Hierarchical models a posit linear relations between variables with error terms which are Gaussian In simple terms the GLM is a special case of hierarchical model with a single layer Hierarchical models used at the second level can support Bayesian inference at the first level. Thus, hierarchical models are essential for Bayesian statistics Parameters - determine the expected response estimated from sample means (e.g the s from the GLM) Hyperparameter – determines what causes the variation of the measured parameters (e.g for the t test - variation of observation error termed 2)

Random Effect Analysis RFX is an example of how hierarchical modelling is used. Used to find out what the stereotypical effect in the population is from the group of subjects that we have We know that each subjects response’s varies from trial to trial (with-in subject variability) Also, responses vary from subject to subject (between subject variability) Both these are important when we make inference about the population

Random Effects Analysis - 2 12 subject study Assumption - that the 12 subjects are drawn at random from the normal distributed population If we only take into account the within subject variability we get the fixed effect analysis If we take both within and between subjects we get random effects analysis

Data example

Differences between RFX and FFX

Random Effects Analysis 1st Level 2nd Level Data Design Matrix Contrast Images a1 ^ SPM(t) s21 ^ a2 ^ s22 ^ a11 ^ s211 ^ a ^ One-sample t-test @2nd level a12 ^ s212 ^

Two populations Estimated population means Contrast images Two-sample t-test @2nd level

How do we estimate the parameters and hyperparameters? Parameter and Hyperparameters (Variance components) can be estimated using summary statistics or EM (ReML) The gold standard approach to parameter and hyperparameter is the EM (expectation maximization). EM estimates population mean effect as MEANEM the variance of this estimate as VAREM Summary statistics Avg[a] Avg[Var(a)] However, for balanced designs. Avg[a] = MEANEM Avg[Var(a)] = VAREM

Summary In classical statistics - the parameters are be estimated (e.g. using the ordinary least squares) Hyperparameter (covariance of the error) uses ReML All the error terms of all the levels are grouped together and treated as a composite error for RFX ReML – this is used to estimate unknown variance components without explicit reference to the parameters. In classical inference one is usually interested only in the inference of the parameters at the highest level. (I.e. second level)

Thanks to Will Any questions? Ask the Specialist ?? SPM ?? ??RFX?? DONUTS