Page 1 of 1

Attempted to access k(1); index out of bounds because numel(

PostPosted: Wed Apr 13, 2011 12:55 pm
by tianhumeng
I was trying to replicate the Funke and Paetz 2010 paper . But I keep on getting the following error:

Attempted to access k(1); index out of bounds because numel(k)=0.
Does anyone know what this error relates to?
Thanks in advance.

Re: Attempted to access k(1); index out of bounds because nu

PostPosted: Mon May 02, 2011 10:24 am
by SébastienVillemot
The crash comes from the fact that for some parameters, you assign a prior mean of 2 with a beta distribution. But the beta distribution is over the [0,1] interval.

I admit that the error message is not very explicit, we will put a better message in the future versions of Dynare.