Linear Hierarchical Models

Slides:



Advertisements
Similar presentations
Group analyses Wellcome Dept. of Imaging Neuroscience University College London Will Penny.
Advertisements

Hierarchical Models and
2nd level analysis in fMRI
Camilla Clark, Catherine Slattery
Group analysis Kherif Ferath Wellcome Trust Centre for Neuroimaging University College London SPM Course London, Oct 2010.
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.
CHAPTER 3 ECONOMETRICS x x x x x Chapter 2: Estimating the parameters of a linear regression model. Y i = b 1 + b 2 X i + e i Using OLS Chapter 3: Testing.
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 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
Overview for Dummies Outline Getting started with an experiment Getting started with an experiment Things you need to know for scanning Things you need.
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
1 Mixed effects and Group Modeling for fMRI data Thomas Nichols, Ph.D. Department of Statistics Warwick Manufacturing Group University of Warwick Zurich.
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.
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.
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 Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM fMRI Course London, October 2012.
Covariance components II autocorrelation & nonsphericity
Group Analyses Guillaume Flandin SPM Course London, October 2016
The general linear model and Statistical Parametric Mapping
The General Linear Model
Linear Mixed Models in JMP Pro
2nd Level Analysis Methods for Dummies 2010/11 - 2nd Feb 2011
Group Modeling for fMRI
Wellcome Trust Centre for Neuroimaging University College London
Random Effects Analysis
Group analyses Thanks to Will Penny for slides and content
Wellcome Trust Centre for Neuroimaging University College London
and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline
Keith Worsley Keith Worsley
The General Linear Model (GLM)
Methods for Dummies Second-level Analysis (for fMRI)
Sampling Distribution
Sampling Distribution
'Linear Hierarchical Models'
Wellcome Dept. of Imaging Neuroscience University College London
The General Linear Model
Linear Hierarchical Modelling
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
Mixed effects and Group Modeling for fMRI data
Methods for Dummies Second-level Analysis (for fMRI)
Bayesian Inference in SPM2
Wellcome Trust Centre for Neuroimaging University College London
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 Models Corinne Iola Giorgia Silani SPM for Dummies

Outline Fixed Effects versus Random Effects Analysis: how linear hierarchical models work Single-subject Multi-subjects Population studies

RFX: an example of 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 e(n) = N(m,2) error we assume there is a Gaussian distribution with a mean (m) and variation (2)

Hierarchical form 1st level y = X(1) (1) +  (1) 2nd level (1) = X(2) (2) +  (2)

Random Effects Analysis: why? Interested in individual differences, but also …interested in what is common As experimentalists we know… each subjects’ response 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 : why? with-in subject variability – Fixed effects analysis (FFX) or 1st level analysis Used to report case studies Not possible to make formal inferences at population level with-in and between subject variability – Random Effect analysis (RFX) or 2nd level analysis possible to make formal inferences at population level

How do we perform a RFX? RFX (Parameter and Hyperparameters (Variance components)) can be estimated using summary statistics or EM (ReML) algorithm The gold standard approach to parameter and hyperparameter is the EM (expectation maximization)….(but takes more time…) EM estimates population mean effect as MEANEM the variance of this estimate as VAREM For N subjects, n scans per subject and equal within-subject variance we have VAREM = Var-between/N + Var-within/Nn Summary statistics Avg[a] Avg[Var(a)] However, for balanced designs (N~12 and same n scans per subject). Avg[a] = MEANEM Avg[Var(a)] = VAREM

Random Effects Analysis Multi - subject PET study Assumption - that the 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 (i.e. 1st level - multisubject analysis) If we take both within and between subjects we get random effects analysis (2nd level analysis)

Single-subject FFX t = ___ Subj1= -1 1 0 0 0 0 0 0 0 0 1 s21 with -in ^ Subj1= -1 1 0 0 0 0 0 0 0 0

Multi-subject FFX t = ___ Group= -1 1 -1 1 -1 1 -1 1 -1 1 <s2i> with -in ^ Group= -1 1 -1 1 -1 1 -1 1 -1 1

} RFX analysis t = ________ @2nd level <s2i> + with -in ^ <s2i> between ^ } Subj1= -1 1 0 0 0 0 0 0 0 0 Subj2= 0 0 -1 1 0 0 0 0 0 0 @2nd level Subj5= 0 0 0 0 0 0 0 0 -1 1

Differences between RFX and FFX

Random Effects Analysis : an fMRI study 1st Level 2nd Level Data Design Matrix Contrast Images 1 ^ SPM(t) 1 ^ 2 ^ 2 ^ 11 ^ 11 ^  ^ One-sample t-test @2nd level 12 ^ 12 ^

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

Example: Multi-session study of auditory processing SS results EM results Friston et al. (2003) Mixed effects and fMRI studies, Submitted.