Dear SPMers,
I' m trying to learn how to do a paired t-test with SPM8 using the matlabbatch editor and I've got an error message:
* * *
"Failed 'Results Report'
Error using ==> not
NaN's cannot be converted to logicals.
In file "/Applications/MATLAB_SV74/spm8/spm_P_RF.m" (v3627), function "spm_P_RF" at line 83.
In file "/Applications/MATLAB_SV74/spm8/spm_P.m" (v2690), function "spm_P" at line 48.
In file "/Applications/MATLAB_SV74/spm8/spm_list.m" (v3450), function "spm_list" at line 339.
In file "/Applications/MATLAB_SV74/spm8/config/spm_run_results.m" (v3433), function "spm_run_results" at line 56.
In file "/Applications/MATLAB_SV74/spm8/config/spm_run_results.m" (v3433), function "spm_run_results" at line 26.
The following modules did not run:
Failed: Results Report"
* * *
I did a first level analysis and obtain two conxxxx.img (one mesure at t1 (before treatment) and the other for mesure at t2 (after treatment)).
After, I used the two conxxxx.img images to run a second level analysis paired t-test (see .m file or pictures attached).
When the job reached the Print Results module, the error message is showed.
When I display the image spmT_0001.img resulting for the failed analysis, there is simply nothing (see black picture).
I certainly misspecified something.
I tried many things and read the archive of the email list but I didn't find a solution or explanation.
Does somebody can point an error in my procedure or provide an example of how to use the batch editor to do paired t-test?
Thanks a lot.
Steve
|