It is actually possible to save the residuals. Have a look at this post by Tom Nichols http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0804&L=SPM&P=R60255&I=-3 it should work for SPM8 also, but I think I have only tested it for SPM5.
Torben Ellegaard Lund
Associate Professor, PhD
The Danish National Research Foundation's Center of Functionally Integrative Neuroscience (CFIN)
Aarhus University Hospital
Building 10G, 5th floor, room 31
8000 Aarhus C
[log in to unmask]
Den Uge:31 02/08/2011 kl. 14.54 skrev Volkmar Glauche:
> Dear Rodolphe,
> indeed, SPM doesn't keep this information. However, it is quite easy to recover them from your data and estimated SPM.mat file. You may want to look into spm_graph.m to see how the residuals are computed there. The key functions to use are spm_filter and spm_sp. Depending on what you want to do, you might want to apply different temporal preprocessing (whitening, temporal high-pass filter) to your data and design. If you want to adjust residuals for a specific contrast, it might also be worth looking at spm_regions.m.
> Hope this helps,