Wellcome Centre for Neuroimaging, UCL, UK.

Slides:



Advertisements
Similar presentations
The General Linear Model (GLM)
Advertisements

Dynamic Causal Modelling (DCM) for fMRI
J. Daunizeau Institute of Empirical Research in Economics, Zurich, Switzerland Brain and Spine Institute, Paris, France Bayesian inference.
Bayesian inference Lee Harrison York Neuroimaging Centre 01 / 05 / 2009.
Bayesian inference Jean Daunizeau Wellcome Trust Centre for Neuroimaging 16 / 05 / 2008.
Hierarchical Models and
Overview of SPM p <0.05 Statistical parametric map (SPM)
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.
Wellcome Centre for Neuroimaging at UCL
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
Bayesian models for fMRI data
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.
Group analyses of fMRI data Methods & models for fMRI data analysis 26 November 2008 Klaas Enno Stephan Laboratory for Social and Neural Systems Research.
Dynamic Causal Modelling (DCM) for fMRI
Dynamic Causal Modelling (DCM): Theory Demis Hassabis & Hanneke den Ouden Thanks to Klaas Enno Stephan Functional Imaging Lab Wellcome Dept. of Imaging.
Dynamic Causal Modelling (DCM) for fMRI
SPM Course Zurich, February 2015 Group Analyses Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London With many thanks to.
Bayesian Inference and Posterior Probability Maps Guillaume Flandin Wellcome Department of Imaging Neuroscience, University College London, UK SPM Course,
Bayesian models for fMRI data Methods & models for fMRI data analysis November 2011 With many thanks for slides & images to: FIL Methods group, particularly.
Spatial Smoothing and Multiple Comparisons Correction for Dummies Alexa Morcom, Matthew Brett Acknowledgements.
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,
Bayesian Methods Will Penny and Guillaume Flandin Wellcome Department of Imaging Neuroscience, University College London, UK SPM Course, London, May 12.
Bayesian inference Lee Harrison York Neuroimaging Centre 23 / 10 / 2009.
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,
Bayesian Model Selection and Averaging SPM for MEG/EEG course Peter Zeidman 17 th May 2016, 16:15-17:00.
J. Daunizeau ICM, Paris, France TNU, Zurich, Switzerland
The General Linear Model (GLM)
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
Wellcome Trust Centre for Neuroimaging University College London
Dynamic Causal Modelling (DCM): Theory
Neuroscience Research Institute University of Manchester
Keith Worsley Keith Worsley
The General Linear Model (GLM)
Dynamic Causal Modelling
Statistical Parametric Mapping
The general linear model and Statistical Parametric Mapping
SPM2: Modelling and Inference
Dynamic Causal Modelling
Bayesian Methods in Brain Imaging
CRIS Workshop: Computational Neuroscience and Bayesian Modelling
Hierarchical Models and
The General Linear Model (GLM)
Bayesian inference J. Daunizeau
Statistical Parametric Mapping
Wellcome Centre for Neuroimaging at UCL
Bayesian Inference in SPM2
The General Linear Model
Mixture Models with Adaptive Spatial Priors
The General Linear Model (GLM)
Probabilistic Modelling of Brain Imaging Data
The General Linear Model
Will Penny Wellcome Trust Centre for Neuroimaging,
Bayesian Model Selection and Averaging
Group DCM analysis for cognitive & clinical studies
Presentation transcript:

Wellcome Centre for Neuroimaging, UCL, UK. Bayesian Inference Will Penny Wellcome Centre for Neuroimaging, UCL, UK. SPM for fMRI Course, London, October 21st, 2010

What is Bayesian Inference ? (From Daniel Wolpert)

Bayesian segmentation and normalisation realignment smoothing general linear model statistical inference Gaussian field theory normalisation p <0.05 template

Bayesian segmentation and normalisation Smoothness modelling realignment smoothing general linear model statistical inference Gaussian field theory normalisation p <0.05 template

Bayesian segmentation Posterior probability and normalisation Smoothness estimation Posterior probability maps (PPMs) realignment smoothing general linear model statistical inference Gaussian field theory normalisation p <0.05 template

Bayesian segmentation Posterior probability and normalisation Smoothness estimation Posterior probability maps (PPMs) Dynamic Causal Modelling realignment smoothing general linear model statistical inference Gaussian field theory normalisation p <0.05 template

Overview Parameter Inference Model Inference Model Estimation GLMs, PPMs, DCMs Model Inference Model Evidence, Bayes factors (cf. p-values) Model Estimation Variational Bayes Groups of subjects RFX model inference, PPM model inference

Overview Parameter Inference Model Inference Model Estimation GLMs, PPMs, DCMs Model Inference Model Evidence, Bayes factors (cf. p-values) Model Estimation Variational Bayes Groups of subjects RFX model inference, PPM model inference

General Linear Model Model:

Prior Model: Prior:

Prior Model: Prior: Sample curves from prior (before observing any data) Mean curve

Priors and likelihood Model: Prior: Likelihood:

Priors and likelihood Model: Prior: Likelihood:

Posterior after one observation Model: Prior: Likelihood: Bayes Rule: Posterior:

Posterior after two observations Model: Prior: Likelihood: Bayes Rule: Posterior:

Posterior after eight observations Model: Prior: Likelihood: Bayes Rule: Posterior:

Overview Parameter Inference Model Inference Model Estimation GLMs, PPMs, DCMs Model Inference Model Evidence, Bayes factors (cf. p-values) Model Estimation Variational Bayes Groups of subjects RFX model inference, PPM model inference

SPM Interface

Posterior Probability Maps ML aMRI Smooth Y (RFT) AR coeff (correlated noise) prior precision of AR coeff observations GLM prior precision of GLM coeff Observation noise Bayesian q

ROC curve Sensitivity 1-Specificity

Posterior Probability Maps Display only voxels that exceed e.g. 95% activation threshold Posterior density Probability mass p Mean (Cbeta_*.img) PPM (spmP_*.img) probability of getting an effect, given the data mean: size of effect covariance: uncertainty Std dev (SDbeta_*.img)

Overview Parameter Inference Model Inference Model Estimation GLMs, PPMs, DCMs Model Inference Model Evidence, Bayes factors (cf. p-values) Model Estimation Variational Bayes Groups of subjects RFX model inference, PPM model inference

Dynamic Causal Models Posterior Density Priors Are Physiological V1 V5 SPC Posterior Density Priors Are Physiological V5->SPC

Overview Parameter Inference Model Inference Model Estimation GLMs, PPMs, DCMs Model Inference Model Evidence, Bayes factors (cf. p-values) Model Estimation Variational Bayes Groups of subjects RFX model inference, PPM model inference

Model Evidence Bayes Rule: normalizing constant Model evidence

Bayes factor: Model Evidence Posterior Prior Model, m=j Model, m=i SPC

Bayes factor: Prior Posterior Evidence Model For Equal Model Priors

Overview Parameter Inference Model Inference Model Estimation GLMs, PPMs, DCMs Model Inference Model Evidence, Bayes factors (cf. p-values) Model Estimation Variational Bayes Groups of subjects RFX model inference, PPM model inference

Bayes Factors versus p-values Two sample t-test Subjects Conditions

p=0.05 Bayesian BF=3 Classical

BF=20 Bayesian BF=3 Classical

p=0.05 BF=20 Bayesian BF=3 Classical

p=0.01 p=0.05 BF=20 Bayesian BF=3 Classical

Model Evidence Revisited

Overview Parameter Inference Model Inference Model Estimation GLMs, PPMs, DCMs Model Inference Model Evidence, Bayes factors (cf. p-values) Model Estimation Variational Bayes Groups of subjects RFX model inference, PPM model inference

Free Energy Optimisation Initial Point Precisions, a Parameters, q

Overview Parameter Inference Model Inference Model Estimation GLMs, PPMs, DCMs Model Inference Model Evidence, Bayes factors (cf. p-values) Model Estimation Variational Bayes Groups of subjects RFX model inference, PPM model inference

m2 m1 incorrect model (m2) correct model (m1) x1 x2 u1 x3 u2 x1 x2 u1 Figure 2

m2 m1 Models from Klaas Stephan MOG LG RVF stim. LVF FG LD LD|RVF LD|LVF MOG LG RVF stim. LVF FG LD|RVF LD|LVF LD m2 m1 Models from Klaas Stephan

Random Effects (RFX) Inference log p(yn|m)

Gibbs Sampling Frequencies, r Stochastic Method Assignments, A Initial Point Frequencies, r Stochastic Method Assignments, A

log p(yn|m) Gibbs Sampling

m2 m1 11/12=0.92 MOG LG RVF stim. LVF FG LD LD|RVF LD|LVF MOG LG RVF

Overview Parameter Inference Model Inference Model Estimation GLMs, PPMs, DCMs Model Inference Model Evidence, Bayes factors (cf. p-values) Model Estimation Variational Bayes Groups of subjects RFX model inference, PPM model inference

Compute log-evidence for each model/subject PPMs for Models Compute log-evidence for each model/subject model 1 model K subject 1 subject N Log-evidence maps

PPMs for Models Compute log-evidence for each model/subject model 1 model K subject 1 subject N Log-evidence maps BMS maps Probability that model k generated data PPM EPM Rosa et al Neuroimage, 2009

Computational fMRI: Harrison et al (in prep) Long Time Scale Short Time Scale Frontal cortex Primary visual cortex

Non-nested versus nested comparison For detecting model B: Non-nested: Compare model A versus model B Nested: versus model AB Penny et al, HBM,2007

Double Dissociations Long Time Short Scale Time Scale Frontal cortex Primary visual cortex

Summary Parameter Inference Model Inference Model Estimation GLMs, PPMs, DCMs Model Inference Model Evidence, Bayes factors (cf. p-values) Model Estimation Variational Bayes Groups of subjects RFX model inference, PPM model inference