steady state and osr problem

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.

steady state and osr problem

Postby selima » Fri Aug 02, 2013 2:13 pm

Good morning I would like to know which suitable method to find steady state in my case either by Finding the steady state with Dynare nonlinear solver or by Using a steady state file. Thank you very much .
This is the message delivered by dynare:

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.2).
Starting preprocessing of the model file ...
Found 23 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.


OPTIMAL SIMPLE RULE

STEADY: numerical initial values or parameters incompatible with the following equations
16

Please check for example
i) if all parameters occurring in these equations are defined
ii) that no division by an endogenous variable initialized to 0 occurs
STEADY: numerical initial values or parameters incompatible with the following equations
16





Please check for example
i) if all parameters occurring in these equations are defined
ii) that no division by an endogenous variable initialized to 0 occurs
-----------------
-----------------
f at the beginning of new iteration, 100000000000.0000000000
Norm of dx 0
STEADY: numerical initial values or parameters incompatible with the following equations
16

Please check for example
i) if all parameters occurring in these equations are defined
ii) that no division by an endogenous variable initialized to 0 occurs
STEADY: numerical initial values or parameters incompatible with the following equations
16

Please check for example
i) if all parameters occurring in these equations are defined
ii) that no division by an endogenous variable initialized to 0 occurs
STEADY: numerical initial values or parameters incompatible with the following equations
16

Please check for example
i) if all parameters occurring in these equations are defined
ii) that no division by an endogenous variable initialized to 0 occurs
----
Improvement on iteration 1 = 0.000000000
improvement < crit termination
zero gradient
OPTIMAL VALUE OF THE PARAMETERS:
mui 0.5

mupih 1.5

mupim 1.49

Objective function : 1e+011


STEADY: numerical initial values or parameters incompatible with the following equations
16

Please check for example
i) if all parameters occurring in these equations are defined
ii) that no division by an endogenous variable initialized to 0 occurs
STEADY: numerical initial values or parameters incompatible with the following equations
16

Please check for example
i) if all parameters occurring in these equations are defined
ii) that no division by an endogenous variable initialized to 0 occurs
??? 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 ==> stoch_simul at 81
print_info(info, options_.noprint);

Error in ==> osr at 44
stoch_simul(var_list);
Error in ==> NK_GM052C at 293
osr(var_list_,osr_params_,obj_var_,optim_weights_);

Error in ==> dynare at 120
evalin('base',fname) ;
Attachments
NK_GM052C.mod
(6.45 KiB) Downloaded 91 times
selima
 
Posts: 46
Joined: Thu Jan 10, 2013 5:13 pm

Re: steady state and osr problem

Postby jpfeifer » Mon Aug 12, 2013 3:15 pm

Please provide correct starting values for ph and pm. The error message in the future Dynare version is
OPTIMAL SIMPLE RULE


STEADY: The Jacobian contains Inf or NaN. The problem arises from:

STEADY: Derivative of Equation 16 with respect to Variable ph (initial value of ph: 0)
STEADY: Derivative of Equation 23 with respect to Variable ph (initial value of ph: 0)
STEADY: Derivative of Equation 16 with respect to Variable pm (initial value of pm: 0)
STEADY: Derivative of Equation 23 with respect to Variable pm (initial value of pm: 0)

STEADY: The problem most often occurs, because a variable with
STEADY: exponent smaller than 1 has been initialized to 0. Taking the derivative
STEADY: and evaluating it at the steady state then results in a division by 0.
------------
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 6 guests