Hi all,
I'm trying to calculate a binomial test on all voxels in a brain map. I'm using imcalc for this purpose. However, SPM doesn't seem to like what I'm doing since it's giving me the following error:
Error running job: Error using ==> spm_imcalc at 101
Can't evaluate "1 - binomcdf(i1 .* 32 - 1, 32, .25)".
In file "/Users/mbannert/matlabScripts/spm5/spm_imcalc.m" (v184), function "spm_imcalc" at line 101.
In file "/Users/mbannert/matlabScripts/spm5/spm_imcalc_ui.m" (v940), function "spm_imcalc_ui" at line 161.
In file "/Users/mbannert/matlabScripts/spm5/spm_config_imcalc.m" (v1032), function "fun" at line 154.
What is the correct way of doing this? Is there an easier way to calculate a binomial test with SPM?
Thanks & best regards,
Michael
PS: I have this intuition that the binomcdf function is the problem in this expression.
--
Michael Bannert, Dipl.-Psych.
Vision & Cognition Lab
Bernstein Center for Computational Neuroscience Tübingen
c/o MPI for Biological Cybernetics
Spemannstr. 41, 72076 Tübingen, Germany
phone: +49 7071 601 1659
http://www.kyb.tuebingen.mpg.de/~mbannert
|