Error Initial parameters cannot be computed

Hi all,
I am succeed preprocessing but steady is not worked due to Initial is to be NaN or Inf. file is this.
jpmodel.mod (9.1 KB) jpdat.mod (19.9 KB)

>> dynare jpmodel;
Using 64-bit preprocessor
Starting Dynare (version 4.6.2).
Calling Dynare with arguments: none
Starting preprocessing of the model file ...
Substitution of endo lags >= 2: added 2 auxiliary variables and equations.
Found 53 equation(s).
Evaluating expressions...done
Computing static model derivatives (order 1).
Computing dynamic model derivatives (order 2).
Processing outputs ...
done
Preprocessing completed.


You did not declare endogenous variables after the estimation/calib_smoother command.
Posterior IRFs, smoothed variables will be computed for the 51
endogenous variables of your model, this can take a long
time ....


Choose one of the following options:

 [1] Consider all the endogenous variables.
 [2] Consider all the observed endogenous variables.
 [3] Stop Dynare and change the mod file.

this is log which run dynare model.
choosing 1 option, warning[division by zero] and cancelled initialize.
actually, Residuals of the static equations is being follow.

Equation number 1 : NaN : 1
Equation number 2 : NaN : 2
Equation number 3 : NaN : lambda
Equation number 4 : NaN : 4
Equation number 5 : NaN : k
Equation number 6 : NaN : 6
Equation number 7 : NaN : u
Equation number 8 : NaN : q
Equation number 9 : NaN : 9
Equation number 10 : NaN : y
Equation number 11 : NaN : mc
Equation number 12 : 0 : 12
Equation number 13 : NaN : 13
Equation number 14 : NaN : 14
Equation number 15 : NaN : 15
Equation number 16 : NaN : rn
Equation number 17 : NaN : ypot
Equation number 18 : NaN : 18
Equation number 19 : NaN : k_g
Equation number 20 : NaN : gm
Equation number 21 : NaN : gp
Equation number 22 : NaN : gi
Equation number 23 : NaN : t
Equation number 24 : NaN : t_c
Equation number 25 : NaN : t_w
Equation number 26 : NaN : t_k
Equation number 27 : NaN : 27
Equation number 28 : NaN : z_b
Equation number 29 : NaN : z_w
Equation number 30 : NaN : z_p
Equation number 31 : NaN : z_z
Equation number 32 : NaN : z_i
Equation number 33 : NaN : z_x
Equation number 34 : NaN : z_r
Equation number 35 : NaN : z_gm
Equation number 36 : NaN : z_gp
Equation number 37 : NaN : z_gi
Equation number 38 : NaN : z_T
Equation number 39 : NaN : dy_obs
Equation number 40 : NaN : dhc_obs
Equation number 41 : NaN : dhi_obs
Equation number 42 : NaN : dgpc_obs
Equation number 43 : NaN : dgic_obs
Equation number 44 : NaN : dgi_obs
Equation number 45 : NaN : dw_obs
Equation number 46 : NaN : l_obs
Equation number 47 : NaN : pi_obs
Equation number 48 : NaN : rn_obs
Equation number 49 : -0.061 : tax_c_obs
Equation number 50 : -0.273 : tax_w_obs
Equation number 51 : -0.446 : tax_k_obs

So, steady is not succeed.

steady;
warning: Some of the parameters have no value (sigma, v_gm, v_gp, v, omega, theta, chi, zetainv, mu, phi, gammaw, xiw, gammap, xip, lambdap, zstar, lstar, pistar, rstar, phi_r, phi_r_pi, phi_r_y, phi_gm, phi_gm_y, phi_gm_b, phi_gp, phi_gp_b, phi_gp_y, phi_gi, phi_gi_y, phi_gi_b, phi_T, phi_T_y, phi_T_b, phi_tc, phi_tc_y, phi_tc_b, phi_tw, phi_tw_y, phi_tw_b, phi_tk, phi_tk_y, phi_tk_b, rho_z, rho_b, rho_i, rho_w, rho_p, rho_r, rho_gm, rho_g, rho_gi, rho_T, rho_x, rho_gp) when using steady. If these parameters are not initialized in a steadystate file or a steady_state_model-block, Dynare may not be able to solve the model…
STEADY: numerical initial values or parameters incompatible with the following equations
Columns 1 through 25:

1    2    3    4    5    6    7    8    9   10   11   13   14   15   16   17   18   19   20   21   22   23   24   25   26

Columns 26 through 47:

27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Check whether your model is truly linear. Put “resid(1);” before “steady;” to see the problematic equations.

Residuals of the static equations:

Equation number 1 : NaN : 1
Equation number 2 : NaN : 2
Equation number 3 : NaN : lambda
Equation number 4 : NaN : 4
Equation number 5 : NaN : k
Equation number 6 : NaN : 6
Equation number 7 : NaN : u
Equation number 8 : NaN : q
Equation number 9 : NaN : 9
Equation number 10 : NaN : y
Equation number 11 : NaN : mc
Equation number 12 : NaN : 12
Equation number 13 : NaN : 13
Equation number 14 : NaN : 14
Equation number 15 : NaN : 15
Equation number 16 : NaN : rn
Equation number 17 : NaN : ypot
Equation number 18 : NaN : 18
Equation number 19 : NaN : k_g
Equation number 20 : NaN : gm
Equation number 21 : NaN : gp
Equation number 22 : NaN : gi
Equation number 23 : NaN : t
Equation number 24 : NaN : t_c
Equation number 25 : NaN : t_w
Equation number 26 : NaN : t_k
Equation number 27 : NaN : 27
Equation number 28 : NaN : z_b
Equation number 29 : NaN : z_w
Equation number 30 : NaN : z_p
Equation number 31 : NaN : z_z
Equation number 32 : NaN : z_i
Equation number 33 : NaN : z_x
Equation number 34 : NaN : z_r
Equation number 35 : NaN : z_gm
Equation number 36 : NaN : z_gp
Equation number 37 : NaN : z_gi
Equation number 38 : NaN : z_T
Equation number 39 : NaN : dy_obs
Equation number 40 : NaN : dhc_obs
Equation number 41 : NaN : dhi_obs
Equation number 42 : NaN : dgpc_obs
Equation number 43 : NaN : dgic_obs
Equation number 44 : NaN : dgi_obs
Equation number 45 : NaN : dw_obs
Equation number 46 : NaN : l_obs
Equation number 47 : NaN : pi_obs
Equation number 48 : NaN : rn_obs
Equation number 49 : NaN : tax_c_obs
Equation number 50 : NaN : tax_w_obs
Equation number 51 : NaN : tax_k_obs

error: The steady state has NaNs or Inf.
error: called from
print_info at line 32 column 5
steady at line 102 column 5

anyone know how to solve that issues?

HI,

Reading the warning, it seems that a first issue is that you did not calibrate some of the parameters in your model. Dynare sets these parameters to NaN. When the equations with missing values for the parameters are evaluated, dynare cannot return return anything but NaNs.

Best,
Stéphane.

Thank you, Prof Stéphane.

On the dynare setting, what needs to solve that problem?
If you are good, I ask you to teach me how to re-build the model.

Best,
Kazumi

Sorry I don’t have time to help you with the details of your model… The warning is that you don’t have value for the following parameters:

You need to provide values to them. This can be done, before the model block, as follows:

...
rho_i = .9;
rho_g = .95;
...

Look how this done in the examples we provide in the example subfolder the dynare package.

Best,
Stéphane.

Prof. Stéphane.

Thank you for your response.
Is examples what you says “Calibration”?

At my model(jpmodel.mod),values recieved warning are on “estimated_params” and it must be make “Ex-post distribution”.
Therefore, Initial value must be decided from Ex-post distribution.

So that, I cannot provide concrete values to them on model block in dynare…

What I should to do them?

Best,
kazumi

See e.g.

Thank you, Prof.Pfeifer.
As initval, If I decide that parameters belong by estimated_params in file, how to command to dynare that is?

I made Prior Distribution(i.e. normar_pdf, beta_pdf, gamma_pdf) in dynare and steady and initval must be decided from there. however, dynare is not working.

And if need to decide initval, how to decide parameters from Prior Distribution?
finally, On Dynare Manual’s estimated_params, that indicated that I can decide initval values(see p62 in dynare manual), is it must be decide?

Sorry, but your post above is not intelligible.