Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The "-glm_output option in randomise creates model estimates. The beta's are *_glm_pe_tstat1.nii.gz", where "pe" = "parameter estimates". We are usually interested in contrast parameter estimates ("cope"), so "_glm_cope_tstat1.nii.gz". The pe files will have one value (volume) per parameter in the model, whereas the cope files will have a single value corresponding to the contrast. For example, if you have group, age and sex, you will get files like below, where the "pe" files have three volumes each:

To view group differences in mricron:

  • Open the *_corrp_fstat1.nii.gz in mricron
  • Set the range to start from 0.95
  • Open *_glm_cope_tstat1.nii.gz
  • Make sure Yoke is set in mricro (Window menu)
  • In the corrp_fstat1 file, move the cursor to a non-zero location >0.05 (a significant voxel)
  • Look at the value inĀ glm_cope_tstat1; this is the size in voxel dimensions of the effect. For example, if the cope is 0.5 and the image resolution is 1mm^3, the the group effect is an increase of 0.5mm outward expansion at that voxel.
    • This assumes that the control group is "1" and the patient group "2" in the design matrix.

To check your variables:

Open Notepad, and drag file the "design.mat" into the application. (This is listed as "MATLAB Data" but is a text file.) You will see columns for each variable. Here is an example with group, age and sex:

...