1 / 33

SPM and (e)fMRI

SPM and (e)fMRI. Christopher Benjamin. SPM. Today: basics from eFMRI perspective. Pre-processing Modeling: Specification & general linear model Inference: Contrasts Overview of process.

kidder
Download Presentation

SPM and (e)fMRI

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SPM and (e)fMRI Christopher Benjamin

  2. SPM • Today: basics from eFMRI perspective. • Pre-processing • Modeling: Specification & general linear model • Inference: Contrasts • Overview of process. • Please note to illustrate points I’ve included content from sources including Human Brain Function, others’ web powerpoints (see final slide for credits).

  3. SPM • Pre-processing • Modeling: Specification & general linear model • Inference: Contrasts

  4. Image pre-processing (1) Very briefly, after file extraction, NFTI… • Realignment: spatially align images. • Slice-timing correction: temporal alignment. • Coregistration: spatially registers the structural image to the functional images.

  5. Image pre-processing (2) 4. Segmentation: tissue types. 5. Normalisation: Moves all images to a specific space – e.g. structural image, MNI-152. 6. Smoothing: smooth data, making it more normal (assumptions of later analysis). • Note: this processing sequence is from the SPM (e)fMRI manual example. • Manually or by batch script.

  6. SPM • Pre-processing • Modeling: Specification & general linear model • Inference: Contrasts

  7. Modeling: SPM and the general linear model • Each fMRI image yields a matrix of activation data. • Aim: identify voxels that behave as we’d expect. • We have: • A single time series of data for each voxel (Y values). • A set of expectations about what variables determine activity (X values).

  8. Formally, the general linear model: Y = b1X1 + b2X2 …+ bNXN + e • b coefficients are calculated for each voxel (Ordinary Least Squares or Maximum Likelihood estimates). • Correlation of bX combination reflects strength of X’s influence on activity.

  9. The model represented visually amplitude • General Linear Model • fitting • statistical image time Statistical image (SPM) Temporal series fMRI voxel time course Adapted from Poline (2005)

  10. Regression example -10 0 10 90 100 110 90 100 110 -2 0 2 b2 b1 b2 = 100 b1 = 1 Fit the GLM Mean value voxel time series box-car reference f’n + + = Adapted from Poline (2005)

  11. The model visually b2 = b1 + + error Y es = + + ´ ´ X 1 b1 b2 Adapted from Poline (2005)

  12. b1 b2 ´ Y = X b + e The visual model in matrix form data vector (voxel time series) parameters error vector design matrix = ´ + Adapted from Poline (2005)

  13. Design matrix (cont) • To construct the final design matrix SPM takes • Your specified X regressors • Timing information (SOTs, TR, TA, repetitions) • Convolves prediction of activity by X variables with anticipated variation in response due to HRF.

  14. Basis functions: a set of functions which, combined linearly, describe another function (e.g. Euclidian space – x, y, z). In fMRI instead of describing a point you want to describe a curve or function (% signal change in function of time) by decomposing it in simpler functions. If you use only one function you have a limited power to describe the % signal change variations, so it’s better to use a number of functions, which constitutes a set of basis functions. That’s why SPM offers different sets of basis functions to model the % signal change variations. The HRF is composed of basis functions f(t) h1(t) h2(t) h3(t) Fourier analysis: the complex wave at the top can be decomposed into the sum of the three simpler waves shown below. f(t)=h1(t)+h2(t)+h3(t) Adapted from slides by Iroise Dumon

  15. Regressor construction & basis functions • Temporal derivative basis: latency of peak response. • Dispersion derivative basis: peak response duration. See source – HBF Ch 1, figure 6 – for full equations

  16. SPM • Pre-processing • Modeling: Specification & general linear model • Inference: Contrasts

  17. Model inference: Results & contrasts • We modeled the signal in terms of effects of interest and effects of no interest. • Are effects of interest predicting activation? • Contrast: a linear combination of model parameters (a contrast vector). T = [1 2 ... p ] • Expressed:  = c’ x b • Generally, effects of no interest weighted 0; those of interest 1 or -1.

  18. Contrasts: some guidelines • Be clear re. what your regressors are, the contrasts should logically follow. • Know what is and is not tested by your model. • Aim for parsimony in design; • Redundant, inestimable regressors (SPM list eg). • Correlated regressors = poor parameter estimates (greater parameter variance).

  19. Contrasts: some guidelines 4. Parameter ordering determines interpretation; for example, ‘when testing for the second regressor, we are effectively removing that part of the signal that can be accounted for by the first regressor’. 5. Implicit modeling of the baseline is often preferable.

  20. Model specification (1) • Task: rest or pressing button at 4 strength levels. • Top: Modeling conditions separately • Bottom: Modeling interactions; the common part and difference between conditions. • Implicit baseline.

  21. Model specification (2) • Contrast: what is the effect of force? • Model 1: Average of regressors 1-4 • Model 2: Regressor 1 • SPM automatically reparameterises (removes parameters’ mean). • Very good HBF chapter.

  22. Testing: t or F? • t-tests: • Is there a significant increase or decrease in the contrast specified (directional)? • F-tests: • The effect of a group of regressors. • A series of t tests.

  23. Example: Motor responses • Two event-related conditions. • The subject presses a button with either their left or right hand depending on a visual instruction. • We are interested in finding the brain regions that respond more to left than right motor movement. • Implicit baseline. Adapted from slides by Iroise Dumon – example Ch 8, HBF.

  24. t contrasts Left Right Mean • Model has been specified and estimated. • Model: parameters convolved with HRF. • To find the brain regions corresponding more to left than right motor responses, we use the contrast:  = [1 -1 0] Adapted from slides by Iroise Dumon

  25. t contrasts Left Right Mean = [1 -1 0] 1(x1b1) – 1(x2b2) + 0(x3b3) ––––––––––––––––––––––– estimated standard deviation • Effectively looking at the left motor response’s prediction of activity less the right motor response’s. • Ability to predict compared to standard deviation. • Compute for every voxel.  = 1 -1 0 Adapted from slides by Iroise Dumon

  26. Overall left V right image, contrast 1 -1 0

  27. F contrast (1) Left Right Mean • Non-directional: test for the overall difference (positive or negative) between left and right responses compared to baseline we use: [ 1 0 0 0 1 0 ] Adapted from slides by Iroise Dumon

  28. Areas involved in pressing (left or right) either moreorless active in pressing vs not pressing (non-directional) Adapted from slides by Iroise Dumon

  29. dispersionL F contrast (2) HRFR dispersionR timeR timeL HRFL • Perhaps response better modeled with time, dispersion derivatives. • Specify in model design. Example Ch 8, HBF.

  30. Top contrast: overall significance of left responses. • Lower contrast: overall difference b/n right & left responses. Example Ch 8, HBF.

  31. F contrast interpretation additionalvarianceaccounted forby tested effects • Fitting a ‘reduced’ model containing only the selected parameters. • F tests the significance of a reduced model containing only specified regressors. • Alternately, a series of t tests for the selected parameters. • If sensible, examine the sign of the fitted signal corresponding to the extra sum of squares. F = errorvarianceestimate

  32. Final note on type I error • Many comparisons completed across the brain, correction applied. • However, repeated contrasts at each voxel elevates risk of false positives. • Contrast results should be considered exploratory until correction (e.g. Bonferroni) is applied. HBF Chapter 8

  33. Sources • Human Brain Function (2nd Ed.), available in full on the web. • Powerpoint slides from the web – • The General Linear Model (Or: ‘What the Hell’s going on during estimation?’). Slides from presentation by Adam Smith, UCL. • Linear models & contrasts. Slides from SPM short course at Yale 2005 (Jean-Baptiste Poline). • ‘Contrasts’ & ‘Basis functions’ slides from presentation by Iroise Dumon (UCL).

More Related