SPM5 Tutorial Part 2 Tiffany Elliott May 10, 2007.

Slides:



Advertisements
Similar presentations
The SPM MfD course 12th Dec 2007 Elvina Chu
Advertisements

Basis Functions. What’s a basis ? Can be used to describe any point in space. e.g. the common Euclidian basis (x, y, z) forms a basis according to which.
Camilla Clark, Catherine Slattery
2nd level analysis – design matrix, contrasts and inference
General Linear Model L ύ cia Garrido and Marieke Schölvinck ICN.
2nd level analysis – design matrix, contrasts and inference
1st level analysis - Design matrix, contrasts & inference
1) Terms to Know 2) Starting an Office 97 Application 8) Finding a missing file 7)File Managment 4) Utilizing the Right Mouse Button 6) Using Help 3)
Buttons in SPM5 Carolyn McGettigan & Alice Grogan Methods for Dummies 5 th April 2006.
Buttons in SPM5 Seán O’Sullivan, ION Alice Jones, Dept of Psychology Alice Jones, Dept of Psychology Methods for Dummies 16 th Jan 2008.
1 st Level Analysis: design matrix, contrasts, GLM Clare Palmer & Misun Kim Methods for Dummies
SPM 2002 C1C2C3 X =  C1 C2 Xb L C1 L C2  C1 C2 Xb L C1  L C2 Y Xb e Space of X C1 C2 Xb Space X C1 C2 C1  C3 P C1C2  Xb Xb Space of X C1 C2 C1 
Outline What is ‘1st level analysis’? The Design matrix
SPM5 Tutorial, Part 1 fMRI preprocessing Tiffany Elliott May
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
07/01/15 MfD 2014 Xin You Tai & Misun Kim
The General Linear Model (GLM)
1st level analysis: basis functions and correlated regressors
Inventory Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic or Figure.
Scanning and Image Processing -by Steve Clough. GSI Lumonics cDNA microarrays use two dyes with well separated emission spectra such as Cy3 and Cy5 to.
2nd Level Analysis Jennifer Marchant & Tessa Dekker
2nd level analysis – design matrix, contrasts and inference
Methods for Dummies Second level analysis
by Chris Brown under Prof. Susan Rodger Duke University June 2012
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
With many thanks for slides & images to: FIL Methods group, Virginia Flanagin and Klaas Enno Stephan Dr. Frederike Petzschner Translational Neuromodeling.
With a focus on task-based analysis and SPM12
Brain Mapping Unit The General Linear Model A Basic Introduction Roger Tait
1 Hands-On Data Analysis Kate Pirog Revill and Chris Rorden Data from safety training –9 subjects –Finger-tapping task (12s tapping, 12s rest) –188 scans.
FMRI Methods Lecture7 – Review: analyses & statistics.
SPM short course – Oct Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Then click the box for Normal probability plot. In the box labeled Standardized Residual Plots, first click the checkbox for Histogram, Multiple Linear.
FMRI ROI Analysis 7/18/2014 Friday Yingying Wang
NA-MIC National Alliance for Medical Image Computing fMRI Data Analysis in Slicer (short dataset tutorial) Steve Pieper Haiying Liu Wendy.
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.
Idiot's guide to... General Linear Model & fMRI Elliot Freeman, ICN. fMRI model, Linear Time Series, Design Matrices, Parameter estimation,
The General Linear Model
SPM short – Mai 2008 Linear Models and Contrasts Stefan Kiebel Wellcome Trust Centre for Neuroimaging.
1 st level analysis: Design matrix, contrasts, and inference Stephane De Brito & Fiona McNabe.
The general linear model and Statistical Parametric Mapping I: Introduction to the GLM Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B.
1 st Level Analysis Design Matrix, Contrasts and Inference, GLM Hassan Hawsawi and Lena Holderer 09 December 2015.
Laboratory Exercise # 10 – Microsoft Word Additional Topics Office Productivity Tools 1 Laboratory Exercise # 10 Microsoft Word Additional Topics Objectives:
The general linear model and Statistical Parametric Mapping II: GLM for fMRI Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline.
1 Berger Jean-Baptiste
The General Linear Model Christophe Phillips SPM Short Course London, May 2013.
The General Linear Model Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM fMRI Course London, October 2012.
SPM short course – Mai 2008 Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Methods for Dummies M/EEG Analysis: Contrasts, Inferences and Source Localisation Diana Omigie Stjepana Kovac.
Original analyses All ROIs
The General Linear Model (GLM)
An Interactive Tutorial for SPSS 10.0 for Windows©
The general linear model and Statistical Parametric Mapping
The General Linear Model
2nd Level Analysis Methods for Dummies 2010/11 - 2nd Feb 2011
and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline
The SPM MfD course 12th Dec 2007 Elvina Chu
The General Linear Model (GLM)
Methods for Dummies Second-level Analysis (for fMRI)
The General Linear Model
Eviews Tutorial for Labor Economics Lei Lei
The general linear model and Statistical Parametric Mapping
The General Linear Model
The General Linear Model (GLM)
Amos Introduction In this tutorial, you will be briefly introduced to the student version of the SEM software known as Amos. You should download the current.
MfD 04/12/18 Alice Accorroni – Elena Amoruso
The General Linear Model
The General Linear Model (GLM)
The General Linear Model
The General Linear Model
Presentation transcript:

SPM5 Tutorial Part 2 Tiffany Elliott May 10, 2007

To begin setting up your model click on the Specify 1 st -level button

Double click fMRI model specification to expand the node.

Click Directory and Specify Files…

Select your stats folder.

Double click the Timing parameters node to expand it.

Enter Timing Parameters Units for design  scans (the units we will use to report our onsets) Interscan interval  2 (this is the TR) Microtime resolution  16, default Microtime onset  1

Data & Design Make 3 New “Subject/Session” nodes for each of our 3 VOD runs.

Double click on the first Subject/Session node to expand it and click on the Scans node below it. Now click specify files to select your data files.

Select your data for the first session

Click on the Multiple conditions node. We will now load previously defined task condition mat files. These will be for our 4 task conditions: frequents, targets, alcoholic beverage novels and non-alcoholic beverage novels.

Each of the previously defined mat files contains information for the conditions for that session. There are three defined variables contained within… names – a cell array of the names of the conditions Onsets – a cell array of the event onsets (in scan units)

Click High-pass filter and then Specify Text. Enter 128 for your high pass filter cutoff. A high pass filter removes low frequency confounds from your data. I use this trick to remember the definition… “higher frequencies pass the test of a high pass filter” We will set ours to a wavelength of 128 seconds.

Repeat scan, condition and high pass filter selection for the other two sessions…

Factorial Design Do nothing for this node.

Basis Functions Choose Canonical HRF and Model Time Derivatives Basis functions are functions that you want to base your model on The model will be a linear combination of your basis functions Modeling the time derivatives allows for variations in subject- to-subject and voxel-to-voxel responses

Hemodynamic Response Function

Stimulus Onset Convolved with HRF

Model Interactions (Volterra) Do not model interactions

Global Normalisation Always select “None” for this Here’s why… It removes signal that covaries with the global mean In fMRI large activations bias the global mean calculation Thus removing the global mean will also remove those activations Note: this isn’t a problem in PET scanning

Explicit mask Leave this as This would be useful if you want to apply a mask to your results. For example one might pick the standard brain mask to mask out things outside of the brain.

Serial Correlations Select AR(1) fMRI produces a lot of low- frequency noise This noise is highly correlated from one timepoint to the next This node will perform corrections to account for this

When you have your model set Save in the parameters like you did during the preprocessing tutorial by clicking on the save button and saving in a file type of your choice Run the analysis by clicking Run

To Review your design matrix click design, select your SPM.mat and select Design Matrix from the dropdown menu.

Your design will be displayed in the graphics window. Each of the 3 blocks to the right represent the model for that session

Now select Design orthogonality.

Your design orthogonality is plotted in the table below your design matrix. Each little shaded square is representative of the collinearity between two columns of your design matrix. The darker the square the more the two conditions correlate with each other and the less orthogonal they are. When modeling fMRI you don’t want your separate conditions to be collinear. You want them to be more orthogonal (i.e. linearly independent).

Now we will estimate our model Click Estimate and select your SPM.mat

Double click the Model estimation node to expand it. Select the SPM.mat file you created from the previous step. It will be in the folder you chose to run your stats in. We will leave the Method setting at “Classical” Then click Run. Now you will have images in your stats folder associated with your model.

Images you will see in your stats folder after estimation… beta_000k.img – estimated regression coefficient where k indexes the kth regression coefficient mask.img – binary images that indicates which voxels were used in the analysis ResMS.img – variance of the error RPV.img – the estimated resels per voxel (a resel is a resolution element)

Now click the Results button to view your results and select your SPM.mat file in your stats folder.

You will see a window pop up that will allow us to specify contrasts to look at. Contrasts are simply comparisons of your regression coefficients (beta images). We will specify a new contrast to look at the difference between the alcoholic and non- alcoholic novel conditions.

Enter this in the contrast vector box. And hit OK when you are done Each 1 corresponds with the novac condition from each session and each –1 corresponds with the novnc condition from each session. Here we will define the novac-novnc contrast.

Now we are ready to look at the contrast. Highlight it and click Done.

Mask with other contrasts? No Title for comparison: novac-novnc P Value adjustment to control: None Threshold {T or p value}: 0.05

Enter these values for the prompts that follow… Mask with other contrasts? No ROI Analysis? No Title for comparison: novac-novnc P value adjustment to control: none Threshold {T or p value}: 0.05 Extent threshold {voxels}: 0

Say hello to your SPM results. You can move the little red cursor around by drag and drop. If you right click on the brain you can select from some shortcut options that include jumping to the global maxima. The voxel you are on is displayed in coordinates to the left (see the red circle in the picture). Can you find the voxel coordinates for the global maxima in the results?