Dear Teresa
just a guess: Have you selected to include a task, when you specified the DCM, although you are not using this task for any input?
If so, you should try without, i.e. saying 'No' to that option
Good luck,
Karsten
--
-------------------------------------------------------------
Karsten Specht, PhD
Department of Biological and Medical Psychology
Bergen fMRI group
University of Bergen
Jonas Lies vei 91
5009 Bergen
Norway
Tel.: +47-555-86279
Fax: +47-555-89872
[log in to unmask]
http://fmri.uib.no/
-----Ursprüngliche Nachricht-----
Von: "Teresa Murta" <[log in to unmask]>
Gesendet: 16.nov.2011 14:47:57
An: [log in to unmask]
Betreff: [SPM] Stochastic DCM
>I am trying to perform the estimation of a stochastic model with the most recent version of spm8. My model has no input.
>I am able to compute the DCM struct with the function spm_dcm_specify but then, when I try to estimate the model using spm_dcm_estimate, It gives the error:
>
>>> spm_dcm_estimate
>??? Error using ==> inlineeval at 15
>Error in inline expression ==> spm_fx_fmri(x,v,P)*2.275
> Index exceeds matrix dimensions.
>
>Error in ==> inline.feval at 36
> INLINE_OUT_ = inlineeval(INLINE_INPUTS_, INLINE_OBJ_.inputExpr, INLINE_OBJ_.expr);
>
>Error in ==> spm_DEM_eval at 54
> f{i,1} = feval(M(i).f,x{i},v{i},p);
>
>Error in ==> spm_LAP at 347
> [E dE] = spm_DEM_eval(M,qu,qp);
>
>Error in ==> spm_dcm_estimate at 260
> DEM = spm_LAP(DEM); % no mean-field assumption
>
>I don't understand what is the problem.
>
>When I chose to create the model with an input, and then I chose 'stochastic effects', I have no problem. But I would like to use the first approach.
>
>Can anyone help me?
>
>Thank you for your attention.
>
>Best regards,
>Teresa
|