How to solve this probelm? What error is it?

Hi, ereryone!
I met some problems. It is always wrong when I used bayesian estimation to solve model. I don’t know why.
The errors are follows:
dynare_estimation_init:: The steady state at the initial parameters cannot be computed.
错误使用 print_info (line 32)
Impossible to find the steady state (the sum of square residuals of the static equations is
1.6801). 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
出错 dynare_estimation_init (line 619)
print_info(info, 0, options_);
出错 dynare_estimation_1 (line 112)
dynare_estimation_init(var_list_, dname, [], M_, options_, oo_, estim_params_,
bayestopt_);
出错 dynare_estimation (line 105)
dynare_estimation_1(var_list,dname);
出错 hujitudi1124_bayes.driver (line 635)
oo_recursive_=dynare_estimation(var_list_);
出错 dynare (line 293)
evalin(‘base’,[fname ‘.driver’]) ;

This is my code.
hujitudi1124_bayes.mod (4.7 KB)

Thank you for help.

我把你的贝叶斯部分删去,然后运行模型。结果显示很多方程残差不为0.

What meaning is it?

是的,不知道为什么加入银行就不行了呢

Ideally, you solve for the steady state analytically. That way, it will work regardless of the underlying parameters chosen.

你需要保证它能够正常运行,然后再去贝叶斯估计。可能你的模型稳态并没有求对或者对数线性化出现问题。

好的吧