Hi Mark, The trick of replacing volumes by empty ones in my 4D niftii files appeared to work, I was able to set up a design matrix (see attached) and start the analysis. However, feat crashes when performing higher level stats, below the initial errors in the log file. Any thoughts on what could be the problem and how to solve it? Thanks again, Diederick Higher-level stats cat ../design.lcon | awk '{ print }' > design.lcon /usr/local/fsl/bin/fslsplit mask tmpmask -z /usr/local/fsl/bin/fslsplit filtered_func_data tmpcope -z /usr/local/fsl/bin/fslsplit var_filtered_func_data tmpvarcope -z /usr/local/fsl/bin/fslsplit /usr/local/aronlab/hd/keck/ higher_order_analysis/4D_covariate_structural/ 4D_covariate_structural_N=35_controls_EV3.nii.gz tmpvoxev1_ -z /usr/local/fsl/bin/fslsplit /usr/local/aronlab/hd/keck/ higher_order_analysis/4D_covariate_structural/ 4D_covariate_structural_N=35_HD+_EV4.nii.gz tmpvoxev2_ -z /usr/local/fsl/bin/flameo --cope=tmpcope0000 --vc=tmpvarcope0000 -- mask=tmpmask0000 --ld=stats0000 --dm=design.mat --cs=design.grp -- tc=design.con --runmode=flame1 --voxelwise_ev_numbers=3,4 -- voxelwise_ev_filenames=tmpvoxev1_0000,/usr/local/aronlab/hd/keck/ higher_order_analysis/4D_covariate_structural/ 4D_covariate_structural_N=35_HD+_EV4.nii.gz An exception has been thrown Runtime error:- detected by Newmat: matrix is singular MatrixType = Crout # Rows = 2; # Cols = 2 Trace: Crout(lubksb); GeneralSolv; Gsmanager::flame_stage1_onvoxel; Gsmanager::flame_stage1; Gsmanager::run. On Jan 19, 2009, at 3:44 AM, Mark Woolrich wrote: > Hi Diederick, > > OK. Outside Feat you will need to setup your voxel-dependent EV's 3 > and 4 in the form of two different 4-D niftii files, such that EV3 > has zeros for group 2 subjects, and EV4 has zeros for group 1 > subjects. > > Cheers, Mark. > ---- > Dr Mark Woolrich > EPSRC Advanced Research Fellow University Research Lecturer > > Oxford University Centre for Functional MRI of the Brain (FMRIB), > John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK. > > Tel: (+44)1865-222782 Homepage: http://www.fmrib.ox.ac.uk/~woolrich > >