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:

From FSL list:

  • Say you have a contrast C = [1 -1 0]', and for a certain voxel, you have beta = [1 4 2]'. The COPE is simply C'*beta = [1 -1 0] * [1 4 2] = 1*1 -1*4 + 0*2 = -3. This is what goes in the numerator of the t statistic.
  •  
    - The *pe* are the parameter estimates, also known as betas (this image has as many volumes as regressors in the design);
    - The *cope* are the contrasts of parameter estimates, one image per contrast. It's the inner product between the contrast vector and the betas;
     
    - Because the *pe* are estimates, so are the *cope*. These estimates have an uncertainty surrounding them, and the variance around these estimates is the *varcope*;
     
    - The *sigmasqr* is the variance of the residuals.

To view group differences in mricron:

...