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 kmvt77 » Mon Apr 28, 2014 10:01 pm

Hi guys, I am new to dynare, and currently i am trying to reproduct the result frome Quest3 model. When i run the code, it gives following error. Any help would be appreciate.

MJDGGES requires two square real matrices of the same dimension.
Error using mexErrCheck (line 41)
Error encountered in: mjdgges.

Error in dyn_first_order_solver (line 136)
mexErrCheck('mjdgges', err);

Error in stochastic_solvers (line 172)
[dr,info] = dyn_first_order_solver(jacobia_,M_,dr,options_,task);

Error in resol (line 118)
[dr,info] = stochastic_solvers(dr,check_flag,M,options,oo);

Error in dynare_resolve (line 69)
[dr,info,Model,DynareOptions,DynareResults] = resol(0,Model,DynareOptions,DynareResults);

Error in DsgeSmoother (line 72)
[T,R,SteadyState,info,M_,options_,oo_] = dynare_resolve(M_,options_,oo_);

Error in dynare_estimation_1 (line 981)
[atT,innov,measurement_error,updated_variables,ys,trend_coeff,aK,T,R,P,PK,decomp] =
DsgeSmoother(xparam1,dataset_.info.ntobs,dataset_.data,dataset_.missing.aindex,dataset_.missing.state);

Error in dynare_estimation (line 70)
dynare_estimation_1(var_list,dname);

Error in quest1 (line 1053)
dynare_estimation(var_list_);

Error in dynare (line 120)
evalin('base',fname) ;
Attachments
quest1.mod
(28.96 KiB) Downloaded 49 times
kmvt77
 
Posts: 2
Joined: Tue Apr 26, 2011 1:37 pm

Re: MJDGGES requires two square real matrices of the same di

Postby jpfeifer » Wed May 07, 2014 9:10 am

The steady state file is missing.
------------
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 requires two square real matrices of the same di

Postby jpfeifer » Sun Jun 01, 2014 1:13 pm

There is a big issue with backward compatibility here. Which Dynare version are you using?
------------
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 requires two square real matrices of the same di

Postby jpfeifer » Sun Jun 01, 2014 1:17 pm

Please find attached a running version using Dynare 4.4.2. You need to bugfix the dynare_estimation_init.m with the attached one. What I did is:
1. I quickly changed the steady state file to run with more recent versions of Dynare.
2. You cannot load the full file quest1_results, because this would overwrite existing options. Only load oo_ (or whatever you need)
Attachments
dynare_estimation_init.m
Bug-fixed file. Replace the original
(21.4 KiB) Downloaded 53 times
quest1_SteadyState_util.m
(456 Bytes) Downloaded 46 times
quest1_steadystate.m
(9.75 KiB) Downloaded 50 times
quest1.mod
(28.91 KiB) Downloaded 45 times
------------
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 5 guests