Hi Mark, Thanks!! Leo On Thu, Sep 30, 2010 at 4:42 PM, Mark Jenkinson <[log in to unmask]> wrote: > Hi, > > Your syntax is wrong. All double minus options require > an equals sign and no spaces. So what you need is > --out_res=myresiduals > in order to store the residuals in a file called "myresiduals". > > All the best, > Mark > > > On 30 Sep 2010, at 19:35, Yiou Li wrote: > >> Hi Christian, >> >> I used the following command: >> >> fsl_glm -i inputfile.nii.gz -d reg_design -m mask.nii.gz -o >> output_file out_res residual_file >> >> The regression worked, however, I can't find any output of the >> residuals file. I also tried not specifying "residual_file": >> >> fsl_glm -i inputfile.nii.gz -d reg_design -m mask.nii.gz -o output_file >> out_res >> >> Same problem. >> >> Could you please advise what's the correct command format to get the >> residual maps? >> >> Best, >> Leo >> >> >> >> On Tue, Sep 28, 2010 at 7:47 PM, Christian F. Beckmann >> <[log in to unmask]> wrote: >>> >>> try fsl_glm >>> hth >>> Christian >>> >>> >>> On 28 Sep 2010, at 16:01, Yiou Li wrote: >>> >>>> Hi there, >>>> >>>> Is there a FSL command (not GUI as for FEAT) to do simple (least >>>> squares) linear regression on functional MRI data for each voxel time >>>> series? Given that user will provide the design matrix? >>>> >>>> Best, >>>> Leo >>>> >>> >> >