Page 1 of 1

MJDGGES returns the following error code: 25

PostPosted: Thu Mar 17, 2011 7:07 pm
by everval
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

Re: MJDGGES returns the following error code: 25

PostPosted: Fri Mar 18, 2011 7:11 am
by jpfeifer
Hi, please post the model and data file.

Re: MJDGGES returns the following error code: 25

PostPosted: Fri Apr 01, 2011 12:09 pm
by cgranda
Hello all,

I am running into this very same problem now. Any help on solving this issue would be greatly appreciated.

Re: MJDGGES returns the following error code: 25

PostPosted: Mon Apr 11, 2011 12:51 pm
by SébastienVillemot
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.

Re: MJDGGES returns the following error code: 25

PostPosted: Mon Apr 11, 2011 5:20 pm
by cgranda
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.

Re: MJDGGES returns the following error code: 25

PostPosted: Tue Apr 19, 2011 9:56 am
by SébastienVillemot
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.

MJDGGES returns the following error code: 62

PostPosted: Thu Apr 21, 2011 7:22 pm
by olayenidynare
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

Re: MJDGGES returns the following error code: 25

PostPosted: Mon May 23, 2011 2:46 pm
by SébastienVillemot
Please post your MOD file, it’s hard to tell what’s going wrong without that information.

Re: MJDGGES returns the following error code: 25

PostPosted: Tue Mar 06, 2012 7:44 pm
by msh855
Hi i have this problem as well !

Can you please assist me?

I have attached the file for you.

Many thanks

Re: MJDGGES returns the following error code: 25

PostPosted: Wed Mar 07, 2012 9:17 pm
by jpfeifer
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.