Bayesian Methods Will Penny and Guillaume Flandin Wellcome Department of Imaging Neuroscience, University College London, UK SPM Course, London, May 12.

Slides:



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

Bayesian fMRI models with Spatial Priors Will Penny (1), Nelson Trujillo-Barreto (2) Guillaume Flandin (1) Stefan Kiebel(1), Karl Friston (1) (1) Wellcome.
Bayesian inference Lee Harrison York Neuroimaging Centre 01 / 05 / 2009.
Hierarchical Models and
Overview of SPM p <0.05 Statistical parametric map (SPM)
1st level analysis - Design matrix, contrasts & inference
SPM for EEG/MEG Guillaume Flandin
Bayesian models for fMRI data
OverviewOverview Motion correction Smoothing kernel Spatial normalisation Standard template fMRI time-series Statistical Parametric Map General Linear.
Bayesian models for fMRI data
07/01/15 MfD 2014 Xin You Tai & Misun Kim
Bayesian models for fMRI data Methods & models for fMRI data analysis 06 May 2009 Klaas Enno Stephan Laboratory for Social and Neural Systems Research.
J. Daunizeau Wellcome Trust Centre for Neuroimaging, London, UK Institute of Empirical Research in Economics, Zurich, Switzerland Bayesian inference.
Preprocessing II: Between Subjects John Ashburner Wellcome Trust Centre for Neuroimaging, 12 Queen Square, London, UK.
Estimating the Transfer Function from Neuronal Activity to BOLD Maria Joao Rosa SPM Homecoming 2008 Wellcome Trust Centre for Neuroimaging.
Dynamic Causal Modelling (DCM): Theory Demis Hassabis & Hanneke den Ouden Thanks to Klaas Enno Stephan Functional Imaging Lab Wellcome Dept. of Imaging.
SPM Course Zurich, February 2015 Group Analyses Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London With many thanks to.
Bayesian Modelling of Functional Imaging Data Will Penny The Wellcome Department of Imaging Neuroscience, UCL http//:
Bayesian Inference and Posterior Probability Maps Guillaume Flandin Wellcome Department of Imaging Neuroscience, University College London, UK SPM Course,
Dynamic Causal Modelling Will Penny Wellcome Department of Imaging Neuroscience, University College London, UK FMRIB, Oxford, May
DCM – the theory. Bayseian inference DCM examples Choosing the best model Group analysis.
Bayesian models for fMRI data Methods & models for fMRI data analysis November 2011 With many thanks for slides & images to: FIL Methods group, particularly.
Ch. 5 Bayesian Treatment of Neuroimaging Data Will Penny and Karl Friston Ch. 5 Bayesian Treatment of Neuroimaging Data Will Penny and Karl Friston 18.
Bayesian Model Comparison Will Penny London-Marseille Joint Meeting, Institut de Neurosciences Cognitive de la Mediterranee, Marseille, September 28-29,
Methods for Dummies Second level Analysis (for fMRI) Chris Hardy, Alex Fellows Expert: Guillaume Flandin.
Dynamic Causal Model for evoked responses in MEG/EEG Rosalyn Moran.
Multimodal Brain Imaging Wellcome Trust Centre for Neuroimaging, University College, London Guillaume Flandin, CEA, Paris Nelson Trujillo-Barreto, CNC,
Bayesian inference Lee Harrison York Neuroimaging Centre 23 / 10 / 2009.
Variance components Wellcome Dept. of Imaging Neuroscience Institute of Neurology, UCL, London Stefan Kiebel.
Dynamic Causal Models Will Penny Olivier David, Karl Friston, Lee Harrison, Andrea Mechelli, Klaas Stephan Mathematics in Brain Imaging, IPAM, UCLA, USA,
Mixture Models with Adaptive Spatial Priors Will Penny Karl Friston Acknowledgments: Stefan Kiebel and John Ashburner The Wellcome Department of Imaging.
Bayesian Inference in fMRI Will Penny Bayesian Approaches in Neuroscience Karolinska Institutet, Stockholm February 2016.
Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course Zurich, February 2008 Bayesian Inference.
Bayesian Inference in SPM2 Will Penny K. Friston, J. Ashburner, J.-B. Poline, R. Henson, S. Kiebel, D. Glaser Wellcome Department of Imaging Neuroscience,
Bayesian selection of dynamic causal models for fMRI Will Penny Olivier David, Karl Friston, Lee Harrison, Andrea Mechelli, Klaas Stephan The brain as.
Dynamic Causal Models Will Penny Olivier David, Karl Friston, Lee Harrison, Stefan Kiebel, Andrea Mechelli, Klaas Stephan MultiModal Brain Imaging, Copenhagen,
The General Linear Model Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM fMRI Course London, October 2012.
Bayesian Model Comparison Will Penny Wellcome Department of Imaging Neuroscience, University College London, UK UCL, June 7, 2003 Large-Scale Neural Network.
Bayesian fMRI analysis with Spatial Basis Function Priors
J. Daunizeau ICM, Paris, France TNU, Zurich, Switzerland
Group Analyses Guillaume Flandin SPM Course London, October 2016
The General Linear Model (GLM)
Variational Bayesian Inference for fMRI time series
The general linear model and Statistical Parametric Mapping
The General Linear Model
Bayesian Inference Will Penny
Effective Connectivity
Dynamic Causal Modelling (DCM): Theory
Neuroscience Research Institute University of Manchester
Keith Worsley Keith Worsley
Computational Neuroanatomy for Dummies
The General Linear Model (GLM)
Dynamic Causal Model for evoked responses in M/EEG Rosalyn Moran.
Dynamic Causal Modelling
Statistical Parametric Mapping
The general linear model and Statistical Parametric Mapping
SPM2: Modelling and Inference
Bayesian Methods in Brain Imaging
Hierarchical Models and
The General Linear Model (GLM)
Effective Connectivity
Bayesian inference J. Daunizeau
Wellcome Centre for Neuroimaging at UCL
Bayesian Inference in SPM2
Wellcome Centre for Neuroimaging, UCL, UK.
Mixture Models with Adaptive Spatial Priors
Probabilistic Modelling of Brain Imaging Data
The General Linear Model
Will Penny Wellcome Trust Centre for Neuroimaging,
Presentation transcript:

Bayesian Methods Will Penny and Guillaume Flandin Wellcome Department of Imaging Neuroscience, University College London, UK SPM Course, London, May 12 th 2006

Overview Bayes rule and model comparison ANOVAs Normalisation Segmentation fMRI stats Hemodynamic models Connectivity models (DCM)

Overview Bayes rule and model comparison ANOVAs Normalisation Segmentation fMRI stats Hemodynamic models Connectivity models (DCM)

Bayes rule  YY Given p(Y), p(  ) and p(Y,  ) Conditional densities are given by Eliminating p(Y,  ) gives Bayes rule Likelihood Prior Evidence Posterior

Gaussian Likelihood and Prior Posterior Relative Precision Weighting Prior Likelihood Posterior

Bivariate Gaussian

Model Comparison Select the model m with the highest probability given the data: Model comparison and Bayes factor: Model evidence (marginal likelihood): Accuracy Complexity B 12 p(m 1 |Y)Evidence 1 to Weak 3 to Positive 20 to Strong  150  99 Very strong

Overview Bayes rule and model comparison ANOVAs Normalisation Segmentation fMRI stats Hemodynamic models Connectivity models (DCM)

ANOVA Four conditions Model 0 (dotted lines) – no effect Model 1 (solid lines) – an effect

Bayesian Classical p=0.05 BF=3 Compare inferences on 100 data sets

Overview Bayes rule and model comparison ANOVAs Normalisation Segmentation fMRI stats Hemodynamic models Connectivity models (DCM)

Spatial Normalisation Deformation parameters Mean square difference between template and source image (Likelihood) Mean square difference between template and source image (Likelihood) Squared distance between parameters and their expected values (Prior) Squared distance between parameters and their expected values (Prior) Template Max Posterior Max Likelihood Posterior

Segmentation Intensities are modelled by a mixture of K Gaussian distributions. Overlay prior belonging probability maps to assist the segmentation:  Prior probability of each voxel being of a particular type is derived from segmented images of 151 subjects. Intensities are modelled by a mixture of K Gaussian distributions. Overlay prior belonging probability maps to assist the segmentation:  Prior probability of each voxel being of a particular type is derived from segmented images of 151 subjects.

Overview Bayes rule and model comparison ANOVAs Normalisation Segmentation fMRI stats Hemodynamic models Connectivity models (DCM)

fMRI stats Even without applied spatial smoothing, activation maps (and maps of eg. AR coefficients) have spatial structure. AR(1)Contrast  Definition of a spatial prior via Gaussian Markov Random Field  Automatic spatial regularisation of Regression coefficients and AR coefficients

Generative Model  A   Y Y=X β +E where E is an AR(p) General Linear Model with Auto-Regressive error terms (GLM-AR):

Spatial prior Over the regression coefficients: Shrinkage prior Same prior on the AR coefficients. Spatial kernel matrix Spatial precison: determines the amount of smoothness Gaussian Markov Random Field priors 1 on diagonal elements d ii d ij > 0 if voxels i and j are neighbors. 0 elsewhere

Convergence & Sensitivity o Global o Spatial o Smoothing Sensitivity Iteration Number F 1-Specificity ROC curve Convergence

Event related fMRI: familiar versus unfamiliar faces Global prior Spatial Prior Smoothing

Posterior Probability Maps Posterior distribution: probability of getting an effect, given the data Posterior probability map: images of the probability or confidence that an activation exceeds some specified threshold, given the data Two thresholds: activation threshold  : percentage of whole brain mean signal (physiologically relevant size of effect) probability  that voxels must exceed to be displayed (e.g. 95%) Two thresholds: activation threshold  : percentage of whole brain mean signal (physiologically relevant size of effect) probability  that voxels must exceed to be displayed (e.g. 95%) mean: size of effect precision: variability

Posterior Probability Maps Mean (Cbeta_*.img) Std dev (SDbeta_*.img) PPM (spmP_*.img) Activation threshold  Probability  Posterior probability distribution p(  |Y )

SPM5 Interface

Overview Bayes rule and model comparison ANOVAs Normalisation Segmentation fMRI stats Hemodynamic models Connectivity models (DCM)

Hemodynamic basis sets Informed Fourier Gamma

FIR models Time after event Size of signal 5s

Inf2: Canonical + temporal deriv

SPM5: from spm_vb_roi_basis.m

Overview Bayes rule and model comparison ANOVAs Normalisation Segmentation fMRI stats Hemodynamic models Connectivity models (DCM)

Dynamic Causal Models V1 V5 SPC Motion Photic Attention V1 V5 SPC Motion Photic Attention V1V5SPC Motion Photic Attention Bayesian Evidence: Bayes factors: m=1 m=3 m= Attention 0.03

Summary Bayes rule and model comparison ANOVAs Normalisation Segmentation fMRI stats Hemodynamic models Connectivity models (DCM)