Hi - for example, using fsl_glm you can create a design matrix containing just the confounds, and ask fsl_glm for the residuals of that GLM fitting - then I think you'll be ok to use that for your purposes. Cheers. On 8 Jul 2011, at 03:34, Jeremy Strain wrote: > Dear FSL list, > I have completed my voxel-wise analysis between three groups (two patient and one control) and I have very promising group data. I therefore was curious about the individual subject data and created Z-scores for all my patients using the mean and standard deviation from my control group. I was surprised to find that none of my subjects seemed to deviate from my mean (by a large amount) and at first I believed this was due to subtle differences that were only being detected at the group level. However, I forgot that in my original design matrix for the group comparison I used age and gender as covariates which brings me to my question. Is there a way to regress out the effects of age and gender on the individual FA skeletons so that I can generate Z-scores based on the adjusted data? > > Thank you, > Jeremy > --------------------------------------------------------------------------- Stephen M. Smith, Professor of Biomedical Engineering Associate Director, Oxford University FMRIB Centre FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK +44 (0) 1865 222726 (fax 222717) [log in to unmask] http://www.fmrib.ox.ac.uk/~steve ---------------------------------------------------------------------------