MJDGGES returns the following error code29

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 returns the following error code29

Postby ernestp » Sun May 28, 2006 4:45 pm

Dear Professor Juillard,
I am working on a relatively large nonlinear DSGE model (27 endogenous variables). Unfortunatelly, I failed to simulate this model with the Dynare. The steady state has been computed analytically (and provided in a separate m-file). As the command resid(1); returns only zeros, I do not think that I made a mistake here. Nevertheless, there must be something wrong with my code since the Dynare prints out the following masage:

??? Error using ==> print_info
MJDGGES returns the following error code29

Error in ==> c:\dynare\matlab\stoch_simul.m
On line 49 ==> print_info(info);

Error in ==> C:\DYNARE\DISS_Two_contry_model\one_country_emu_walfare\one_country_emu_welfare.m
On line 244 ==> info=stoch_simul(var_list_);

Error in ==> c:\dynare\matlab\dynare.m
On line 26 ==> evalin('base',fname) ;

Please, let me know whether you have any idea what could be wrong with my model?
ernestp
 
Posts: 4
Joined: Sun May 28, 2006 4:29 pm

Postby MichelJuillard » Sun May 28, 2006 5:16 pm

Occasionaly, mjdgges may fail to compute the real generalized Schur decomposition of a model.
Can you send me the *.mod file so that I take a closer look?

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Thanks

Postby ernestp » Mon May 29, 2006 8:26 am

I think I have already solved the problem. First, I had to rescall the shocks (I forgot to divide them by 100). I think that this could lead to some nummerical problems (e.g. appearing in computiation of the shur decomposition). Then, I also discovered that the program may have not enough memory to produce the kroeneker product (theoretical moments).
Once again thanks for your help.
ernestp
 
Posts: 4
Joined: Sun May 28, 2006 4:29 pm

Postby MichelJuillard » Mon May 29, 2006 12:42 pm

Hello Ernst,

the size of the shocks shouldn't affect the computations inside mjdgges. Something else has changed.
I'm suprised that you encounter a memory problem with a kron(). In recent versions of Dynare, we don't use kron() to compute variances but lyapunov_symm. Can you tell me where exactly you encountered the kron() problem?

Kind regards

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

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