I checked the model and the steady state equations and deleted some variables. replaced them with their equation definitions as they are indication in the paper , but I got this error
Warning: Some of the parameters have no value (T_SS, TS_SS, Y_SS, Yo_SS, Yno_SS, Kno_SS, Ko_SS, b_SS, bstar_SS, C_SS,
CS_SS, CN_SS, N_SS, NX_SS, R_SS, Rstar_SS, GI_SS, GC_SS, KG_SS, RER_SS, OR_SS, I_SS, fxr_SS, RFF_SS, FDI_SS, W_SS, Q_SS)
[moncode.mod|attachment](upload://iyZDiVRpooTwN5J2pLZDaBoiSGv.mod) (23.9 KB)
[moncode_steadystate.m|attachment](upload://u9cV4Vgqd59gPHceT1xaYa1Y9UY.m) (9.2 KB)
when using stoch_simul. 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. Note that simul, perfect_foresight_setup, and perfect_foresight_solver do not
automatically call the steady state file.
Error using print_info (line 32)
The steady state has NaNs or Inf.
Error in stoch_simul (line 120)
print_info(info, options_.noprint, options_);
Error in moncode.driver (line 771)
[info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list_);
Error in dynare (line 278)
evalin('base',[fname '.driver']);
when I executed the diagnosis and this message appeared.
model_diagnostics(M_,options_, oo_);
Warning: Some of the parameters have no value (T_SS, TS_SS, Y_SS, Yo_SS, Yno_SS, Kno_SS, Ko_SS, b_SS, bstar_SS, C_SS,
CS_SS, CN_SS, N_SS, NX_SS, R_SS, Rstar_SS, GI_SS, GC_SS, KG_SS, RER_SS, OR_SS, I_SS, fxr_SS, RFF_SS, FDI_SS, W_SS, Q_SS)
when using model_diagnostics. 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. Note that simul, perfect_foresight_setup, and
perfect_foresight_solver do not automatically call the steady state file.
MODEL_DIAGNOSTICS: The Jacobian of the static model contains Inf or NaN. The problem arises from:
Derivative of Equation 13 with respect to Variable T (initial value of T: 0)
Derivative of Equation 2 with respect to Variable PX_d (initial value of PX_d: 0)
Derivative of Equation 2 with respect to Variable R (initial value of R: 0)
MODEL_DIAGNOSTICS: The problem most often occurs, because a variable with
MODEL_DIAGNOSTICS: exponent smaller than 1 has been initialized to 0. Taking the derivative
MODEL_DIAGNOSTICS: and evaluating it at the steady state then results in a division by 0.
MODEL_DIAGNOSTICS: If you are using model-local variables (# operator), check their values as well.
MODEL_DIAGNOSTICS: The Jacobian of the dynamic model contains Inf or NaN. The problem arises from:
Derivative of Equation 1 with respect to Variable T (initial value of T: 0)
Derivative of Equation 13 with respect to Variable T (initial value of T: 0)
Derivative of Equation 2 with respect to Variable R (initial value of R: 0)
Derivative of Equation 1 with respect to lead of Variable T (initial value of T: 0)
Derivative of Equation 2 with respect to lead of Variable PX_d (initial value of PX_d: 0)
I don’t know what I should do