is my dynare 4.3.3 version stable

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.

is my dynare 4.3.3 version stable

Postby adeleke omolade » Tue Oct 01, 2013 6:13 pm

Am confused with the version of the dynare am using. to verify i tried to work with the prior steady state values of a friend who used another version of dynare. i used those value as inital values yet i could not get the staedy state. This makes me to question the statblity of my version. Please can any body also try it and tell me what is wrong the file is attached all the inital values are the prior steady state results obtained by another person with the same model.
Attachments
new.mod
the file
(1.09 KiB) Downloaded 51 times
adeleke omolade
 
Posts: 19
Joined: Fri Sep 20, 2013 1:01 pm

Re: is my dynare 4.3.3 version stable

Postby jpfeifer » Wed Oct 02, 2013 6:21 am

But you did not provide any initial values for qm, qs, and M. They are initialized to 0 and lead to the error.
------------
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: is my dynare 4.3.3 version stable

Postby adeleke omolade » Wed Oct 02, 2013 10:20 am

After adding the variable initial variables i have the following error. Note that all these values are the prior steady state values got by a friend using another version of dynare. Why am i not geting the same result with my dynare 4.3.3?

dynare new.mod

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

Starting Dynare (version 4.3.3).
Starting preprocessing of the model file ...
Found 20 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.

Warning: Divide by zero.
> In solve1 at 122
In dynare_solve at 130
In evaluate_steady_state at 66
In steady_ at 54
In steady at 81
In new at 201
In dynare at 120
??? Error using ==> lnsrch1 at 53
Some element of Newton direction isn't finite. Jacobian maybe singular or
there is a problem with initial values

Error in ==> solve1 at 129
[x,f,fvec,check]=lnsrch1(xold,fold,g,p,stpmax,func,j1,j2,varargin{:});

Error in ==> dynare_solve at 130
[x,info]=solve1(func,x,j1(r(i):r(i+1)-1),j2(r(i):r(i+1)-1),jacobian_flag,
bad_cond_flag, varargin{:});

Error in ==> evaluate_steady_state at 66
[ys,check] = dynare_solve([M.fname '_static'],...

Error in ==> steady_ at 54
[steady_state,params,info] =
evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);
Error in ==> steady at 81
[steady_state,M_.params,info] = steady_(M_,options_,oo_);

Error in ==> new at 201
steady;

Error in ==> dynare at 120
evalin('base',fname) ;
Attachments
new.mod
the updated file
(1.12 KiB) Downloaded 58 times
adeleke omolade
 
Posts: 19
Joined: Fri Sep 20, 2013 1:01 pm

Re: is my dynare 4.3.3 version stable

Postby jpfeifer » Wed Oct 02, 2013 11:20 am

How about initializing all variables exactly the way he did? c, phi, and s are still not initialized.
------------
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: is my dynare 4.3.3 version stable

Postby adeleke omolade » Wed Oct 02, 2013 1:03 pm

Thank you after supplying everything i notice an improvemeny but yet the steady state has not come. this is what i got
what has happened and where is the problem because these are the values he used.

>> dynare new.mod

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

Starting Dynare (version 4.3.3).
Starting preprocessing of the model file ...
Found 20 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.


SOLVE: maxit has been reached




Residuals of the static equations:

Equation number 1 : 0.45827
Equation number 2 : 0.2
Equation number 3 : -0.0015
Equation number 4 : -0.30043
Equation number 5 : 0
Equation number 6 : 0
Equation number 7 : 0.058595
Equation number 8 : -0.034608
Equation number 9 : -0.016858
Equation number 10 : 0.01009
Equation number 11 : -0.24297
Equation number 12 : 0.089813
Equation number 13 : 0
Equation number 14 : 0
Equation number 15 : 0
Equation number 16 : 0
Equation number 17 : 0
Equation number 18 : 0
Equation number 19 : 0.058595
Equation number 20 : -0.034608


??? Error using ==> print_info at 57
Impossible to find the steady state. Either the model doesn't have a steady
state, there are an infinity of steady states, or the guess values are too
far from the solution

Error in ==> steady at 92
print_info(info,options_.noprint);

Error in ==> new at 204
steady;

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

>>
Attachments
new.mod
updated file
(1.14 KiB) Downloaded 56 times
adeleke omolade
 
Posts: 19
Joined: Fri Sep 20, 2013 1:01 pm

Re: is my dynare 4.3.3 version stable

Postby jpfeifer » Wed Oct 02, 2013 6:34 pm

What exactly did you do? Did you use the exact steady state values from a different version of Dynare with the same mod-file and it does not run anymore? Or did you just use the same initial values for mode finding? Or are you using a different mod-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: is my dynare 4.3.3 version stable

Postby adeleke omolade » Thu Oct 03, 2013 7:45 am

Yes what i did was that i used the prior steady state values from another version of dynare with the same mod.file and it does not run anymore with my own version.I used same mod. file. because i guess it should run easily with the steady state values provided as the initial values. Just doing it to see if my 4.3.3 version is stable or unstable.
adeleke omolade
 
Posts: 19
Joined: Fri Sep 20, 2013 1:01 pm

Re: is my dynare 4.3.3 version stable

Postby jpfeifer » Thu Oct 03, 2013 8:24 am

What do you mean with stable? 4.3.3 is officially a "stable release" because it has a version number. Nevertheless, there have been documented bugs in it: http://www.dynare.org/DynareWiki/KnownBugs
But none of them affects steady state computations. A steady state of a mod-file must be a steady state in any version of Dynare! If it is not, you must be doing something wrong.
------------
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 7 guests