MJDGGES requires two square real matrices of the same dimens

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

MJDGGES requires two square real matrices of the same dimens

Postby lizeze » Mon Oct 12, 2009 2:02 am

:oops: 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?
Attachments
example_sto.mod
from rbc.mod in examples
(15.09 KiB) Downloaded 97 times
lizeze
 
Posts: 7
Joined: Wed Nov 21, 2007 11:18 am

Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 10 guests