Need help:estimation error

Greetings!I met a mistake when made bayesian estimation in my model ,there are 5 shocks and 4 observed values,the mistake is about:
错误使用 initial_estimation_checks (line 53)
initial_estimation_checks:: Estimation can’t take place because too many shocks have been calibrated with a zero
variance!

出错 initial_estimation_checks (line 53)
error([‘initial_estimation_checks:: Estimation can’‘t take place because too many shocks have been calibrated
with a zero variance!’])

出错 dynare_estimation_1 (line 165)
oo_ =
initial_estimation_checks(objective_function,xparam1,dataset_,dataset_info,M_,estim_params_,options_,bayestopt_,bounds,oo_);

出错 dynare_estimation (line 105)
dynare_estimation_1(var_list,dname);

出错 bes2 (line 619)
oo_recursive_=dynare_estimation(var_list_);

出错 dynare (line 235)
evalin(‘base’,fname) ;
May someone give me a hand?Many thanks!bes2.mod (5.2 KB)
md.m (2.3 KB)

  1. The estimation command belongs after the shocks-block.
  2. You are not handling parameter dependence correctly. You need to fix this.

Thank you so much for the reply,sir,it is really useful.