MJDGGES returns the following error code: 25

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 code: 25

Postby everval » Thu Mar 17, 2011 7:07 pm

Hi guys. I was trying to estimate a model but I got the following error and I cannot find what it refers to:

??? Error using ==> print_info at 36
MJDGGES returns the following error code: 25

Error in ==> initial_estimation_checks at 101
print_info(info, options_.noprint)

Error in ==> dynare_estimation_1 at 367
initial_estimation_checks(xparam1,gend,data,data_index,number_of_observations,no_more_missing_observations);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> crosscheck_mas_grandecito_pero_no_tanto at 531
dynare_estimation(var_list_);

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


Thanks a lot
everval
 
Posts: 2
Joined: Wed Feb 02, 2011 6:06 pm

Re: MJDGGES returns the following error code: 25

Postby jpfeifer » Fri Mar 18, 2011 7:11 am

Hi, please post the model and data file.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: MJDGGES returns the following error code: 25

Postby cgranda » Fri Apr 01, 2011 12:09 pm

Hello all,

I am running into this very same problem now. Any help on solving this issue would be greatly appreciated.
Last edited by cgranda on Mon Apr 11, 2011 5:21 pm, edited 2 times in total.
cgranda
 
Posts: 6
Joined: Thu Jul 22, 2010 3:16 pm

Re: MJDGGES returns the following error code: 25

Postby SébastienVillemot » Mon Apr 11, 2011 12:51 pm

Running this MOD file under Dynare 4.2.0, it fails at the Blanchard and Kahn rank (and not order) condition.

Which version of Dynare are you using?

Anyways, you need to fix this indeterminacy problem. Search the forum for suggestions and help.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: MJDGGES returns the following error code: 25

Postby cgranda » Mon Apr 11, 2011 5:20 pm

Hi Sébastien,

I am running version 4.2.0. I just have tried to solve this model so many times that I confused the file by the time I posted it. Please find attached the relevant mod file.

Any help would be greatly appreciated.
Attachments
informal_credit_cgc6corr.mod
(2.06 KiB) Downloaded 170 times
cgranda
 
Posts: 6
Joined: Thu Jul 22, 2010 3:16 pm

Re: MJDGGES returns the following error code: 25

Postby SébastienVillemot » Tue Apr 19, 2011 9:56 am

This MOD file fails the Blanchard-Kahn order condition: not as many forward looking variables as there are eigenvalues of modulus larger than 1.

Search the forum, you will find many posts discussing this issue.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

MJDGGES returns the following error code: 62

Postby olayenidynare » Thu Apr 21, 2011 7:22 pm

Can someone help with what the following code means?:
??? Error using ==> print_info at 36
MJDGGES returns the following error code: 62

Error in ==> stoch_simul at 71
print_info(info, options_.noprint);

Error in ==> phdfile2 at 1462
info = stoch_simul(var_list_);

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

Thank you
olayenidynare
 
Posts: 22
Joined: Sat Feb 21, 2009 3:17 pm

Re: MJDGGES returns the following error code: 25

Postby SébastienVillemot » Mon May 23, 2011 2:46 pm

Please post your MOD file, it’s hard to tell what’s going wrong without that information.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: MJDGGES returns the following error code: 25

Postby msh855 » Tue Mar 06, 2012 7:44 pm

Hi i have this problem as well !

Can you please assist me?

I have attached the file for you.

Many thanks
Attachments
myexamplecanova.mod
(444 Bytes) Downloaded 70 times
msh855
 
Posts: 39
Joined: Thu Feb 23, 2012 8:32 pm

Re: MJDGGES returns the following error code: 25

Postby jpfeifer » Wed Mar 07, 2012 9:17 pm

Your model is wrong. Equations like
Code: Select all
r=(1-alpha)*y/k;

are clearly not linear in y and k. If you drop the model(linear)-option, you must also provide initial values using an initval-block. Also, always put
Code: Select all
steady;
check;

before the stoch_simul command.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests