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.

new.mod (1.09 KB)

But you did not provide any initial values for qm, qs, and M. They are initialized to 0 and lead to the error.

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) ;

new.mod (1.12 KB)

How about initializing all variables exactly the way he did? c, phi, and s are still not initialized.

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) ;

new.mod (1.14 KB)

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?

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.

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: 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.