CHECK: convergence problem in DYNARE_SOLVE

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.
NK2610.mod (4.62 KB)

Sorry, but Dynare 3 is not supported anymore.

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?
afa.m (118 Bytes)

This seems to be a Matlab issue. Try running this code in Matlab and see whether it works with the same inputs.