Page 1 of 1

CHECK: convergence problem in DYNARE_SOLVE

PostPosted: Fri Oct 26, 2012 5:52 pm
by Ben
Hi everyone,

I'm new to Dynare and have some troubles with my code.
I'm using Dynare 3.

The error is:

??? Error using ==> check at 23
CHECK: convergence problem in DYNARE_SOLVE

Error in ==> NK2610 at 120
check;

Error in ==> dynare at 26
evalin('caller',fname) ;

Does anybody know what goes wrong?

Thanks in advance.

Re: CHECK: convergence problem in DYNARE_SOLVE

PostPosted: Fri Oct 26, 2012 6:04 pm
by jpfeifer
Sorry, but Dynare 3 is not supported anymore.

Re: CHECK: convergence problem in DYNARE_SOLVE

PostPosted: Fri Oct 26, 2012 6:26 pm
by Ben
Ok thanks for your quick reply.

With Dynare 4.3.0 i get:

??? Error using ==> lognpdf at 41
Non-scalar arguments must match in size.

Error in ==> afa at 5
f = a.*lognpdf(a,mu,sig);

Error in ==> quad at 77
y = f(x, varargin{:});

Error in ==> nk2610 at 247
M_.params( 29 ) = quad(function_handle,M_.params(28),8);

Error in ==> dynare at 120
evalin('base',fname) ;

I'm using the enclosed afa function.

Do you know what goes wrong?

Re: CHECK: convergence problem in DYNARE_SOLVE

PostPosted: Mon Oct 29, 2012 8:18 am
by jpfeifer
This seems to be a Matlab issue. Try running this code in Matlab and see whether it works with the same inputs.