I have downloaded and trying to replicate the codes of the Earnings-Based Borrowing Constraints
and Macroeconomic Fluctuations, and continuously the following errors are turning up:
Error using NKfinal_one_stickiness_param_steadystate
Too many input arguments.
Error in evaluate_steady_state_file (line 47)
[ys,params1,check] = h_steadystate(ys_init, exo_ss,M_,options_);
Error in evaluate_steady_state (line 275)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M_, options_,steadystate_check_flag);
Error in dynare_estimation_init (line 423)
[oo_.steady_state, params,info] = evaluate_steady_state(oo_.steady_state,[oo_.exo_steady_state; oo_.exo_det_steady_state],M_local,options_,steadystate_check_flag);
Error in dynare_estimation_1 (line 120)
dynare_estimation_init(var_list_, dname, , M_, options_, oo_, estim_params_, bayestopt_);
Error in dynare_estimation (line 105)
dynare_estimation_1(var_list,dname);
Error in NKfinal_one_stickiness_param.driver (line 2490)
oo_recursive_=dynare_estimation(var_list_);
Error in dynare (line 310)
evalin(‘base’,[fname ‘.driver’]);
Error in RUN_estimate (line 81)
dynare NKfinal_one_stickiness_param
M_.orig_endo_nbr
ans =
72
I have attached both the steady state and the mod files. The number of endogenous variables before auxillary variables are added turns out to be 72, however the variables initialized under var is 66. I am unable to figure out the reason behind the difference of 6 variables. I am using Dynare 6.0 and Matlab 2023b to avoid any issues with earlier version. Further when I add M_, options_ as input arguments in the steady state file , it shows too many output arguments.
dataest.mat (17.8 KB)
NKfinal_one_stickiness_param.mod (28.5 KB)
NKfinal_one_stickiness_param_steadystate.m (11.2 KB)
RUN_estimate.m (3.1 KB)