Hi All,

I meet the same problem as mkulish when I run "estimation(datafile=zsvaefile_rbc,first_obs=2,nobs=190).

??? Error using ==> mjdgges

MJDGGES requires two square real matrices of the same dimension.

there is some advices like “There’s a trick you can do with the Matlab debugger that often helps to pin down where the error is happening. If your mod file is called “example.mod”, then include “dbstop in example_static.m at 14;” in the mod file before the “steady” line. When you run Dynare, it should stop at the start of “example_static”; set a breakpoint at the line “if ~isreal(residual)”, and run to that point (by hitting F5, or using the Debug menu).If there’s an MJDGGES problem, it often shows up at this point, in the form of NaN or Inf values in the “residual” variable. Each element of “residual” corresponds to one of your model’s equations, in the order that they appear in the mod file.”.

But I cannot deal with my problem.

Anyone can help me?

example_sto.mod (15.1 KB)