Design matrix and contrast files
...
.../LinuxShare/FIRST/ID99N20G2/designs/2group_covage/
.../LinuxShare/FIRST/ID99N20G2/designs/1group_covagesex/
.../LinuxShare/FIRST/ID99N20G2/designs/correlationage/
.../LinuxShare/FIRST/ID99N20G2/designs/correlationage_covsex/
.../LinuxShare/FIRST/ID99N20G2/designs/regressionageAHI_covsex/
Either start from the FSL GUI (if so, open fsl in the design folder), or from a terminal "cd" to the directory, and type Glm (case sensitive).
...
12) Click "Contrasts & F-tests" tab.
13) Create contrasts:
To compare the means of two samples, set both Contrasts and F-tests to 1. Make sure the box next to C1 is selected (it should be yellow). Select the F1 box.
If you have more than one cariable, create a separate F contrast for each one. Additionally, create an all-effects F contrast (e.g., for 3 EV's, 1 0 0/0 1 0/0 0 1)
11) Save the file
Under the GLM Setup window click Save, navigate to the directory with the files, and choose a descriptive name ("des_2sample" for example; you can use des_[folder name] using the name of the design folder). You can ignore the warning.
This will save a number of files, as in the example below (where "des" was chosen as the name). These files are used as input to several of the following procedures.
...
Tip: Glm from FSL GUI
Type "fsl" to start the FSL GUI, click "Misc " then "GLM Setup".
...