Data Visualisation in SPM: An introduction

Similar documents
Subjects: Fourteen Princeton undergraduate and graduate students were recruited to

The Wondrous World of fmri statistics

SPM8 Processing Manual

Convolution Models for fmri

MarsBaR Documentation

Percent Change and Power Calculation. UCLA Advanced NeuroImaging Summer School, 2007

Applications of random field theory to electrophysiology

VBM Tutorial. John Ashburner March 15, 2010

Supplemental Information: Structure of Orbitofrontal Cortex Predicts Social Influence

Module 2: Introduction to Quantitative Data Analysis

fmri 實 驗 設 計 與 統 計 分 析 簡 介 Introduction to fmri Experiment Design & Statistical Analysis

Introduction. Karl J Friston

Validating cluster size inference: random field and permutation methods

Multivariate analyses & decoding

7 The use of fmri. to detect neural responses to cognitive tasks: is there confounding by task related changes in heart rate?

Simple Linear Regression Inference

FSL Tutorial

ANOVAs and SPM. July 12, 2005

1) Write the following as an algebraic expression using x as the variable: Triple a number subtracted from the number

Model-free Functional Data Analysis MELODIC Multivariate Exploratory Linear Optimised Decomposition into Independent Components

2013 MBA Jump Start Program. Statistics Module Part 3

Journal of Serendipitous and Unexpected Results

Analysis of fmri Timeseries:

Jitter Measurements in Serial Data Signals

Basic Tools for Process Improvement

Multiple Regression: What Is It?

Processing Strategies for Real-Time Neurofeedback Using fmri

Nonlinear Regression:

Simple linear regression

An analysis method for a quantitative outcome and two categorical explanatory variables.

CS Introduction to Data Mining Instructor: Abdullah Mueen

Functional optical signal analysis: a software tool for near-infrared spectroscopy data processing incorporating statistical parametric mapping

Gamma Distribution Fitting

DESCRIPTIVE STATISTICS. The purpose of statistics is to condense raw data to make it easier to answer specific questions; test hypotheses.

Institute of Actuaries of India Subject CT3 Probability and Mathematical Statistics

Signal to Noise Instrumental Excel Assignment

X X X a) perfect linear correlation b) no correlation c) positive correlation (r = 1) (r = 0) (0 < r < 1)

MTH 140 Statistics Videos

Descriptive statistics Statistical inference statistical inference, statistical induction and inferential statistics

Exercise 1.12 (Pg )

business statistics using Excel OXFORD UNIVERSITY PRESS Glyn Davis & Branko Pecar

IBM SPSS Direct Marketing 23

MULTIPLE REGRESSION EXAMPLE

4.1 Exploratory Analysis: Once the data is collected and entered, the first question is: "What do the data look like?"

IBM SPSS Direct Marketing 22

Regression III: Advanced Methods

Chapter 7: Simple linear regression Learning Objectives

An Introduction to Point Pattern Analysis using CrimeStat

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

The relationships between Argo Steric Height and AVISO Sea Surface Height

Adequacy of Biomath. Models. Empirical Modeling Tools. Bayesian Modeling. Model Uncertainty / Selection

Systematic Reviews and Meta-analyses

Statistics I for QBIC. Contents and Objectives. Chapters 1 7. Revised: August 2013

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

Simple Regression Theory II 2010 Samuel L. Baker

The zcorrectorgui. Daniel J. Graham PhD NESAC/BIO

Visualization methods for patent data

Examples of Data Representation using Tables, Graphs and Charts

ERPLAB TOOLBOX TUTORIAL

Classic EEG (ERPs)/ Advanced EEG. Quentin Noirhomme

Activitity (of a radioisotope): The number of nuclei in a sample undergoing radioactive decay in each second. It is commonly expressed in curies

Basic 3D reconstruction in Imaris 7.6.1

runl I IUI%I/\L Magnetic Resonance Imaging

Using R for Linear Regression

Obtaining Knowledge. Lecture 7 Methods of Scientific Observation and Analysis in Behavioral Psychology and Neuropsychology.

Short-time FFT, Multi-taper analysis & Filtering in SPM12

Service courses for graduate students in degree programs other than the MS or PhD programs in Biostatistics.

Statistics Review PSY379

Fairfield Public Schools

SUMAN DUVVURU STAT 567 PROJECT REPORT

MetroBoston DataCommon Training

DATA INTERPRETATION AND STATISTICS

The Big Picture. Describing Data: Categorical and Quantitative Variables Population. Descriptive Statistics. Community Coalitions (n = 175)

7 Time series analysis

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

Descriptive Statistics

Graphing in SAS Software

Correlation and Regression

Java Modules for Time Series Analysis

Big Ideas in Mathematics

Principal components analysis

Data Exploration Data Visualization

User Manual for GingerALE 2.3

Scatter Plots with Error Bars

TEACHER NOTES MATH NSPIRED

11. Analysis of Case-control Studies Logistic Regression

Chapter 1: Looking at Data Section 1.1: Displaying Distributions with Graphs

Statistical Considerations in Magnetic Resonance Imaging of Brain Function

New Tools for Spatial Data Analysis in the Social Sciences

Medical Image Processing on the GPU. Past, Present and Future. Anders Eklund, PhD Virginia Tech Carilion Research Institute

CHAPTER THREE COMMON DESCRIPTIVE STATISTICS COMMON DESCRIPTIVE STATISTICS / 13

IBM SPSS Direct Marketing 19

Content Sheet 7-1: Overview of Quality Control for Quantitative Tests

Functional neuroimaging. Imaging brain function in real time (not just the structure of the brain).

Microsoft Excel 2010 Charts and Graphs

Statistical Rules of Thumb

Transcription:

Data Visualisation in SPM: An introduction Alexa Morcom Edinburgh SPM course, April 2013

Visualising results remembered vs. fixation contrast(s) < < 3 After the results table - what next? SPMmip [-30, 3, -9] < SPM{T 25 } 5 10 15 20 Exploring your results Displaying them for publication 250 200 150 100 50 SPMresults:.\dm rfx\enc\fxvsbase\rvbasep Height threshold T = 5.948441 {p<0.05 (FWE)} Extent threshold k = 0 voxels Statistics: p-values adjusted for search volume set-level p c cluster-level p FWE-corr q FDR-corr k E p uncorr 25 0.5 1 1.5 2 2.5 Design matrix peak-level p FWE-corr q FDR-corr T (Z ) p uncorr mm mm mm 0.000 20 0.000 0.000 460 0.000 0.000 0.000 16.85 7.84 0.000 3 0 60 0.000 0.000 271 0.000 0.000 0.002 10.99 6.58 0.000-30 3-9 0.000 0.013 8.80 5.88 0.000-21 3 12 0.004 0.135 7.25 5.27 0.000-33 30-12 0.000 0.000 816 0.000 0.000 0.003 10.26 6.37 0.000-45 12 24 0.000 0.003 10.23 6.36 0.000-48 0 51 0.000 0.006 9.57 6.15 0.000-54 -6 45 0.000 0.000 90 0.000 0.000 0.003 10.01 6.29 0.000-30 -93-18 0.000 0.013 8.88 5.91 0.000-30 -93-9 0.000 0.000 207 0.000 0.000 0.006 9.51 6.13 0.000-45 -60-21 0.000 0.006 9.41 6.10 0.000-42 -48-27 0.000 0.001 35 0.000 0.000 0.013 8.84 5.90 0.000 63 3 27 0.002 0.049 9 0.034 0.002 0.076 7.62 5.43 0.000 45 0 15 0.000 0.013 16 0.007 0.002 0.089 7.51 5.38 0.000-27 -63 45 0.000 0.001 32 0.000 0.003 0.108 7.39 5.33 0.000 57-6 39 0.000 0.000 55 0.000 0.004 0.138 7.21 5.26 0.000 27 0 0 0.008 0.243 6.84 5.09 0.000 27 3-9 0.016 0.429 6.51 4.94 0.000 21 12 3 0.000 0.001 33 0.000 0.005 0.151 7.14 5.22 0.000 30-96 -15 0.004 0.101 6 0.076 0.005 0.164 7.06 5.19 0.000 9 6 27 0.000 0.008 19 0.004 0.017 0.429 6.50 4.93 0.000-27 -48 45 table shows 3 local maxima more than 8.0mm apart 0 0Height threshold: 0.1 T = 5.95, 0.2 p = 0.000 (0.050) 0.3 0.4 0.5 Degrees of freedom 0.6 = [1.0, 0.7 25.0] 0.8 0.9 Extent threshold: k = 0 voxels, p = 1.000 (0.050) FWHM = 14.5 14.7 14.6 mm mm mm; 4.8 4.9 4.9 {voxels} 1 Expected voxels per cluster, <k> = 1.925 Volume: 1572858 = 58254 voxels = 457.1 resels Expected number of clusters, <c> = 0.05 Voxel size: 3.0 3.0 3.0 mm mm mm; (resel = 114.58 voxels) FWEp: 5.948, FDRp: 8.239, FWEc: 1, FDRc: 9 Page 1

Overview What to plot? Overlays Slices, sections, render in SPM Utilities Effect plots Types of plot options in SPM For 1 st & 2 nd level models Utilities

What to plot? Golden rule: Plot what you are using to make your inferences Applies to overlays e.g. thresholding Applies to contrast and event-related plots e.g. use of peri-stimulus time histograms

What to plot? Overlays Visualisation of regional results on a brain image Big picture distribution, location Effect plots Visualisation of effects at a single voxel

Overlay: sections From Results Display overlay Sections Plots the current thresholded SPM Superimposes it on orthogonal sections Can use any image for display

x = - 48, y = - 42, z = - 27 15 10 5 15 10 5 0 0 Overlay on Canonical brain? Overlay on group average EPI? The canonical brain T1 (in /spm8/canonical/) looks precise and the location of clusters seems clear But data are EPI, not T1! and these were young and older adults combined also, data were smoothed by 10 mm 3! Beware of mis-localisation and exaggerating precision Alternatives e.g. averaged structurals

Overlay: slices From Results Display overlay Slices Plots the current thresholded SPM Superimposes it on horizontal slices Can use any image for display

x = - 48, y = - 42, z = - 27 z = -30mm z = -27mm z = -24mm T value 8 6 4 2 0 Activity overlaid on slices from a canonical brain T1 image Plots 3 horizontal slices Uses the slices above & below the slice with the index voxel Crosshairs (if seen) are at same x and y coordinates Distance apart depends on voxel size after normalisation NOTE: T values are relative

Overlay: render From Results Display overlay Render Plots the current thresholded SPM Projects it onto the surface of the brain Can use any image for display if create your own render file from it

Activity for 2 subject groups for the same contrast rendered on canonical brain T1 image Here thresholds are P < 0.001, 5 voxels (previously FWE) Active voxels are projected onto brain surface so highlights surface clusters Display is of integral of T values Increasing depth exponential decay of intensity (50% at 10 mm)

Overlay guidelines Show what your inference is based on Ideally, thresholds the same for analysis & figures Scatterplots for individual differences analysis Give sufficient details for publication e.g. note in legend any masking out of some regions in creating overlay Whole-image inspection & possible publication Unthresholded statistical maps & effect size images are non-significant effects really absent? Useful for meta-analysis Can check brain mask

Plots in SPM Different options for 1 st or 2 nd level model Single subject plots Show single subject effects Effects fitted to individual timeseries Group level plots Show group level effects Effects fitted to group con* images

Single subject plots At 1 st level Contrast estimates with 90% CI Fitted/ adjusted responses Event-related responses Parametric plots Volterra plots At 2 nd level Contrast estimates with 90% CI Fitted/ adjusted responses

Plots From Results Display plot Sections Plots from the current model Plots at the selected location May plot a different regressor/ contrast

Contrast/ CI Positive effect of condition_1 contrast(s) Same for 1 st and 2 nd level models Here, an RFX T-contrast is plotted Shows effect across 2 groups with betweensubjects error bar Can extract CI info from MATLAB workspace to plot >1 condition outside SPM ( contrast ) SPMmip [-42, -48, -27] < < < SPM{T 25 } SPMresults:.\dm rfx\enc\fxvsbase\rvbasep Height threshold T = 5.948441 {p<0.05 (FWE)} Extent threshold k = 0 voxels contrast estimate at [-42, -48, -27] 5 4 3 2 1 3 5 10 15 20 25 Contrast estimates and 90% C.I. Positive effect of condition_1 0.5 1 1.5 2 2.5 Design matrix 0 0.4 0.6 0.8 1 1.2 1.4 1.6 contrast

Contrast/CI Here, a FFX F-contrast is plotted Shows same contrast at single subject level But here an F-contrast is used to look at effects for the 3 basis functions canonical, and temporal/ dispersion derivatives Can do for >1 condition within same model if create F contrast

Fitted & adjusted data Raw fmri timeseries Adjusted data fitted box-car high-pass filtered (and scaled) Residuals fitted high-pass filter

Fitted & adjusted data Raw fmri timeseries Fitted effects = a linear combination of effects x their parameter estimates Here, weighted sum of filter cosine set basis functions high-pass filtered (and scaled) fitted high-pass filter Predicted (fitted) effects = effects that have been fitted to data without removing any effects of confounds first

Fitted & adjusted data Raw fmri timeseries Adjusted data fitted box-car high-pass filtered (and scaled) fitted high-pass filter Adjusted data = data that have had effects of confounds fitted and removed here, effects of the high-pass filter

Predicted responses Contrast fitted to raw data Adjusted responses Contrast fitted to adjusted data

A note on units Parameter estimate beta (condition) is NOT the percent voxel signal change associated with that condition Data have usually been scaled by multiplying every voxel in every scan by '100/g' where g is the average value over all time points and scans in that session Therefore the time series should have average = 100 So beta (condition) is in units of % of 'global' signal, g. Can report in units of percent of 'local' signal by dividing by the beta for the session constant, i.e. average signal in that voxel over and above the global average (see utilities especially MarsBaR & rfxplot)

Fitted/ adjusted responses Plot against A explanatory variable A variable in the model e.g. behavioural covariate (Scan or time) A user-specified ordinate Any array of correct size e.g. rescale x-axis to show time (secs) not scan E.g. in 2 nd level model

Fitted/ adjusted In factorial model at 2 nd level, scan or time may not be helpful Here scans 1-14 are condition 1, scans 15-28 are condition 2, etc. Fitted response shows cross-subject average Plus error shows individual subject contrast values

Fitted/ adjusted In factorial model at 2 nd level, scan or time may not be helpful Instead, try user specified ordinate =1 for condition 1 scans, =2 for condition 2, etc. Fitted response shows cross-subject average Plus error shows individual subject contrast values [ones(1,14) 2*ones(1,14) 3*ones(1,14)]

Event-related responses Event-related responses are To a given event type Plotted in peri-stimulus, i.e., onset-centred, time There are 3 types Fitted response and PSTH (Peri-Stimulus Time Histogram): the average response to an event type with mean signal +/- SE for each peri-stimulus time bin. Fitted response and 90% CI: the average response in peristimulus time along with a 90% confidence interval. Fitted response and adjusted data: plots the average response in peri-stimulus time along with adjusted data

PSTH Peri-stimulus time: centered around event onset Responses to event X are averaged over the timeseries SPM fits a Finite Impulse Response (FIR) model to do this often NOT the regressors used in the analysis Time bin size = TR Confidence intervals are within subject/session

Fitted/90% CI Response centered around event onset again averaged over the timeseries For fitted responses, unlike PSTH, these always represent the basis functions modelled all of them Confidence intervals are within subject/session NOTE shape in region selected for effect loading on temporal derivative

Fitted/adjusted Response centered around event onset again averaged over the timeseries Again, uses the basis functions modelled Values of adjusted data in peri-stimulus time indicate the effective sampling of the HRF May be bunched if a fixed TR/ SOA relationship

Parametric responses Effect of a parametric modulator Available at 1 st level select for any effect with a pmod E.g. RT across trials how does response vary with speed? E.g. effect of time after which a stimulus repeats analysis of effects of lag in trials from face example dataset

Parametric responses Parametric modulator is lag (between repeated faces) An increase in lag is associated with an decrease and then an increase in the BOLD response Immediate repetition of a face produces a decrease (suppression) then an increase, maximal for lag ~= 40

Other tips To make across-subject plots of first level responses, e.g. event-related responses, some tweaking is necessary Variables containing fitted & adjusted data are in the MATLAB workspace: Y has the fitted data, y the adjusted data Other utilities may help here

Utilities & resources FreeSurfer: http://surfer.nmr.mgh.harvard.edu/ - cortical models from T1 smri for rendering & other functions PSTH utility spm_graph hack for group PSTH with options by RH/ AM/ DG at http://www.brain.northwestern.edu/cbmg/cbmg-tools/ MarsBaR M Brett s region of interest toolbox with RFX plot utilities at http://marsbar.sourceforge.net/ Rfxplot excellent utility by J Glascher, shortly to be updated for SPM8, at http://neuro.imm.dtu.dk/wiki/rfxplot Short guidelines: Poldrack RA, Fletcher PC,Henson RN, Worsley KJ, Brett M,Nichols TE. Guidelines for reporting an fmri study. Neuroimage. 2008 40(2): 409 414. Unthresholded maps: Jernigan TL, Gamst AC, Fennema-Notestine C, Ostergaard AL. More "mapping" in brain mapping: statistical comparison of effects. Hum Brain Mapp. 2003. 19(2):90-5. On error bars: Masson, M. E. J., & Loftus, G. R. Using confidence intervals for graphically based data interpretation. Can J Exp Psychol. 2003. 57: 203-220.