Hello,
I am estimating a model for which everything works fine, until after the RWMH is complete. Then, i assume, when computing smoothed series, I get an error that the steadystate file did not compute the steady state. The estimated posterior mean in fact produces an explosive steady state. This is despite the fact, that my steadystate file contains checks with return, whenever such a parametrization is drawn.
The Error in full:
Error using print_info (line 32)
The steadystate file did not compute the steady state
Error in DsgeSmoother (line 133)
- print_info(info,options_.noprint, options_);*
Error in dynare_estimation_1 (line 607)
-
[atT,innov,measurement_error,updated_variables,ys,trend_coeff,aK,T,R,P,PK,decomp,Trend,state_uncertainty,M_,oo_,bayestopt_]*
-
=*
-
DsgeSmoother(xparam1,dataset_.nobs,transpose(dataset_.data),dataset_info.missing.aindex,dataset_info.missing.state,M_,oo_,options_,bayestopt_,estim_params_);*
Error in dynare_estimation (line 118)
- dynare_estimation_1(var_list,dname);*
Error in EnvironmentB_Substitutability.driver (line 627)
oo_recursive_=dynare_estimation(var_list_);
Error in dynare (line 281)
- evalin(‘base’,[fname ‘.driver’]);*
The checks in the steady state file:
try
[x, fval,exitflag] = fsolve(F,x0,options);
catch
check=1;
params=NaN(M_.param_nbr,1);
return;
end
if exitflag<1 || any(~isreal(fval))
check=1;
return;
end
I don’t know what is going wrong. Does anyone have an idea what is the problem and if there exists a fix that can be added to the steadystate file, such that the mean will compute the steady state?
For any help I would be very grateful.