Errts calculation

Good morning AFNI

I want to calculate the residuals (residual error time series from the full model) from already existing deconvolutions without having to redo the whole 3dDeconvolve process. I have the -fitts or -bucket output. Is there any way to do it?

Hi, Luisa-

The “errts” residuals is just the leftover from what you have fit from your original model. So,
errts = “original model” - fitts

which, in 3dcalc-ese, is:

3dcalc -a DSET_ORIG -b DSET_FITTS -expr 'a-b' -prefix DSET_ERRTS


thank you so much!